Sha256: e2fd72750c1a36f370edf83d3baf8545afa9c2d442eab68364e13f2e5150f5a3

Contents?: true

Size: 1.2 KB

Versions: 1

Compression:

Stored size: 1.2 KB

Contents

@import "chosen-base";

$chosen-sprite: image-url('chosen-sprite.png') !default;
$chosen-sprite-retina: image-url('chosen-sprite@2x.png') !default;

.chosen-container {
  user-select: none;
  * {
    box-sizing: border-box;
  }
}

.chosen-container-single {
  .chosen-single {
    background: linear-gradient(#fff 20%, #f6f6f6 50%, #eee 52%, #f4f4f4 100%);
  }
  .chosen-search {
    background: $chosen-sprite no-repeat 100% -20px;
  }
}

.chosen-container .chosen-results {
  li {
    &.highlighted {
      background-image: linear-gradient(#3875d7 20%, #2a62bc 90%);
    }
  }
}

.chosen-container-multi {
  .chosen-choices {
    background-image: linear-gradient(#eee 1%, #fff 15%);
  }
  .chosen-choices li {
    &.search-choice {
      background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    }
    &.search-choice-disabled {
      background-image: linear-gradient(#f4f4f4 20%, #f0f0f0 50%, #e8e8e8 52%, #eee 100%);
    }
  }
}

.chosen-container-active {
  &.chosen-with-drop{
    .chosen-single {
      background-image: linear-gradient(#eee 20%, #fff 80%);
    }
  }
}

.chosen-rtl {
  .chosen-search input[type="text"] {
    background: $chosen-sprite no-repeat -30px -20px;
  }
}

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
chosen-rails-1.5.1 vendor/assets/stylesheets/chosen.scss