Sha256: eaf178a4cb37d066d3671bd932c9f9a46499cc36710dc46db6defb17ca438dae

Contents?: true

Size: 1.52 KB

Versions: 44

Compression:

Stored size: 1.52 KB

Contents

.select2-selection--multiple {
  background-color: white;

  border: 1px solid $border-color;
  border-radius: $border-radius;

  cursor: text;

  outline: 0;

  &:focus {
    border: 1px solid $focus-border-color;
  }

  .select2-selection__rendered {
    list-style: none;
    margin: 0;
    padding: 0 5px;
  }

  .select2-selection__clear {
    display: none;
  }

  .select2-selection__choice {
    background-color: #e4e4e4;

    border: 1px solid $border-color;
    border-radius: $border-radius;

    cursor: default;

    float: left;

    margin-right: 5px;
    margin-top: 5px;
    padding: 0 5px;
  }

  .select2-selection__choice__remove {
    color: $remove-color;
    cursor: pointer;

    display: inline-block;
    font-weight: bold;

    margin-right: 2px;

    &:hover {
      color: $remove-hover-color;
    }
  }
}

&[dir="rtl"] {
  .select2-selection--multiple {
    .select2-selection__choice {
      float: right;
      margin-left: 5px;
      margin-right: auto;
    }

    .select2-selection__choice__remove {
      margin-left: 2px;
      margin-right: auto;
    }
  }
}

&.select2-container--open {
  .select2-selection--multiple {
    border: 1px solid $focus-border-color;
  }

  &.select2-container--above {
    .select2-selection--multiple {
      border-top: none;
      border-top-left-radius: 0;
      border-top-right-radius: 0;
    }
  }

  &.select2-container--below {
    .select2-selection--multiple {
      border-bottom: none;
      border-bottom-left-radius: 0;
      border-bottom-right-radius: 0;
    }
  }
}

Version data entries

44 entries across 44 versions & 2 rubygems

Version Path
card-mod-bootstrap-0.14.2 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.14.1 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.14.0 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.13.4 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.13.3 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.13.2 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.13.1 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.13.0 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.11.7 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.12.0 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.11.6 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.11.5 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.11.4 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.11.3 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.11.2 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.11.1 vendor/select2/src/scss/theme/classic/_multiple.scss
card-mod-bootstrap-0.11.0 vendor/select2/src/scss/theme/classic/_multiple.scss
card-1.100.0 mod/bootstrap/vendor/select2/src/scss/theme/classic/_multiple.scss
card-1.99.6 mod/bootstrap/vendor/select2/src/scss/theme/classic/_multiple.scss
card-1.99.5 mod/bootstrap/vendor/select2/src/scss/theme/classic/_multiple.scss