Sha256: 3d8c5594683ca9670713978634c8d9a815ad5d67c423c581f2e77addb8fd73f1

Contents?: true

Size: 1.06 KB

Versions: 31

Compression:

Stored size: 1.06 KB

Contents

.inline-filters{
  @include flexgap($global-margin * 2);

  // Override gap display property
  display: inline-flex;
  justify-content: space-between;
  text-align: left;

  label{
    display: flex;
    align-items: baseline;

    @include flexgap($global-margin * .5);

    span{
      white-space: nowrap;
    }
  }

  $dropdown-width: 12rem;

  button[data-toggle]{
    color: $secondary;
    margin: 0;
    width: $dropdown-width;

    @extend select;

    &.hover{
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }
  }

  .dropdown-pane{
    padding: 0;
    background-color: $white;
    width: $dropdown-width;

    li{
      a{
        display: block;
        padding: $global-padding;

        &:hover{
          text-decoration: underline;
        }
      }

      &:not(:last-child){
        border-bottom: $border;
      }

      &:hover{
        cursor: pointer;
        background-color: rgba($secondary, .05);
      }
    }

    &.is-open{
      margin-top: -1px;
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }
  }
}

Version data entries

31 entries across 31 versions & 1 rubygems

Version Path
decidim-core-0.27.9 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.8 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.7 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.6 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.26.10 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.26.9 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.5 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.26.8 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.4 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.3 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.26.7 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.26.5 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.2 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.1 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.26.4 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.0 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.26.3 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.0.rc2 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.27.0.rc1 app/packs/stylesheets/decidim/modules/_inline-filters.scss
decidim-core-0.26.2 app/packs/stylesheets/decidim/modules/_inline-filters.scss