Sha256: c678abc7285496cd6fb29eea1248cb321870992c6635e201862a8573936fdcad

Contents?: true

Size: 1.15 KB

Versions: 31

Compression:

Stored size: 1.15 KB

Contents

//Variables
$order-border: $border;

/* Order by styles */
.diff-view-by,
.order-by{
  margin-bottom: 1rem;
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;

  a:hover{
    text-decoration: underline;
  }

  & + &{
    @include breakpoint(medium){
      margin-left: $global-margin;
    }

    @include breakpoint(large){
      margin-left: $global-margin * 3;
    }
  }
}

.diff-view-by__dropdown,
.order-by__dropdown{
  display: flex;
  flex-wrap: wrap;

  .menu{
    .is-dropdown-submenu-parent > a{
      background: transparent;
      padding: 0;
      margin-left: .5rem;
      margin-top: .25rem;
    }
  }
}

.order-by__dropdown--right{
  margin-left: auto;
}

.order-by__action{
  margin-left: auto;
  justify-content: flex-end;

  .button{
    margin-bottom: 0;
  }
}

.order-by__tabs{
  display: inline-block;
}

.order-by__tab{
  color: $muted;

  &::after{
    content: "";
    display: inline-block;
    height: .75em;
    border-left: $border;
    margin: 0 .2em 0 .5em;
    vertical-align: middle;
  }

  &.is-active{
    color: $anchor-color;
  }

  &:first-of-type{
    padding-left: 0;
  }

  &:last-of-type::after{
    border-left: none;
  }
}

Version data entries

31 entries across 31 versions & 1 rubygems

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