Sha256: d33fa8a6f5deb55b4f196edffe4dfaa3ab20f31a9e5c7c534e5c0b632a6b5e71

Contents?: true

Size: 1.13 KB

Versions: 7

Compression:

Stored size: 1.13 KB

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;
  }
}

a.tag {
  &:hover, &:focus {
    text-decoration: none;
    color: white;
    background: $brand-primary;
    border-left-color: darken($brand-primary, 10%);
  }
}

.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

7 entries across 7 versions & 1 rubygems

Version Path
trestle-0.8.13 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.12 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.11 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.10 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.9 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.8 app/assets/stylesheets/trestle/components/_tags.scss
trestle-0.8.7 app/assets/stylesheets/trestle/components/_tags.scss