Sha256: 447b3fc134f5855b6269fc2921a9c6ccae426f97b6497bb69b19ee72c13a87c7

Contents?: true

Size: 996 Bytes

Versions: 6

Compression:

Stored size: 996 Bytes

Contents

.tag {
  display: inline-block;
  padding: 1px 6px 1px 5px;
  font-size: 12px;

  border-left: 4px solid $brand-primary;
  border-radius: 4px;

  background: lighten($brand-primary, 10%);
  color: white;

  & + & {
    margin-left: 4px;
  }
}

.tag-select {
  &.select2-selection--multiple {
    .select2-selection__choice {
      padding: 2px 6px;

      font-size: 13px;

      border: 0;
      border-left: 4px solid $brand-primary;
      border-radius: 4px;

      background: lighten($brand-primary, 10%);
      color: white;
    }

    .select2-selection__choice__remove {
      color: white;

      float: right;
      margin-right: 0;
      margin-left: 4px;
      line-height: 1.2;
    }

    .select2-search--inline {
      position: relative;
      left: -4px;
    }
  }

  .select2-container--open &.select2-selection {
    border-radius: $s2bs-border-radius-base !important;
    border-color: $s2bs-input-border-focus !important;
  }

  &.select2-dropdown {
    display: none;
  }
}

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
trestle-0.8.6 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.5 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.4 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.3 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.2 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.0 app/assets/stylesheets/trestle/components/_tags.scss