Sha256: 1904c987fb4b8dcd4f741d45954235192aa5dc260ed8b3790853a207a989e11e

Contents?: true

Size: 744 Bytes

Versions: 47

Compression:

Stored size: 744 Bytes

Contents

.opinion-toggle{
  margin: 2rem 0;
  display: flex;
  text-align: center;
}

.opinion-toggle--ok,
.opinion-toggle--ko,
.opinion-toggle--meh{
  &.is-inactive{
    opacity: .3;
  }
}

.opinion-toggle--ok{
  border-top-right-radius: 0;
  border-bottom-right-radius: 0;
  &:hover,
  &:focus,
  &.is-active{
    background-color: $success;
  }
  .icon{
    vertical-align: middle;
  }
}

.opinion-toggle--ko{
  border-top-left-radius: 0;
  border-bottom-left-radius: 0;
  &:hover,
  &:focus,
  &.is-active{
    background-color: $alert;
  }
  .icon{
    vertical-align: middle;
  }
}

.opinion-toggle--meh{
  border-radius: 0;
  padding-left: .5em;
  padding-right: .5em;
  &:hover,
  &:focus,
  &.is-active{
    background-color: $secondary;
  }
}

Version data entries

47 entries across 47 versions & 2 rubygems

Version Path
decidim-core-0.2.0 app/assets/stylesheets/decidim/modules/_opinion-toggle.scss
decidim-core-0.1.0 app/assets/stylesheets/decidim/modules/_opinion-toggle.scss
decidim-core-0.0.8.1 app/assets/stylesheets/decidim/modules/_opinion-toggle.scss
decidim-core-0.0.7 app/assets/stylesheets/decidim/modules/_opinion-toggle.scss
decidim-core-0.0.6 app/assets/stylesheets/decidim/modules/_opinion-toggle.scss
decidim-core-0.0.5 app/assets/stylesheets/decidim/modules/_opinion-toggle.scss
decidim-core-0.0.3 app/assets/stylesheets/decidim/modules/_opinion-toggle.scss