123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114 |
- .select2-container.select2-theme-default {
- .selection {
- .single-select {
- background-color: #fff;
- border: 1px solid #aaa;
- border-radius: 4px;
- .rendered-selection {
- color: #444;
- line-height: 28px;
- .placeholder {
- color: #999;
- }
- }
- }
- .multiple-select {
- background-color: white;
- border: 1px solid #aaa;
- border-radius: 4px;
- .rendered-selection {
- list-style: none;
- margin: 0;
- padding: 5px;
- padding-bottom: 0;
- .placeholder {
- color: #999;
- float: left;
- }
- .choice {
- background-color: #e4e4e4;
- border: 1px solid #aaa;
- border-radius: 4px;
- float: left;
- margin-right: 5px;
- margin-bottom: 5px;
- padding: 0 5px;
- .remove {
- color: #999;
- display: inline-block;
- font-weight: bold;
- margin-right: 2px;
- &:hover {
- color: #333;
- }
- }
- }
- }
- }
- }
- &.open {
- .selection {
- .single-select,
- .multiple-select {
- border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- }
- }
- }
- .dropdown {
- .search {
- input {
- border: 1px solid #aaa;
- }
- }
- .results {
- &> .options {
- max-height: 200px;
- overflow-y: auto;
- }
- .options {
- .option {
- &[role=group] {
- padding: 0;
- .group-label {
- cursor: default;
- display: block;
- padding: 6px;
- }
- }
- &[aria-disabled=true] {
- color: #999;
- }
- &[aria-selected=true] {
- background-color: #ddd;
- }
- &[aria-selected].highlighted {
- background-color: #5897fb;
- color: white;
- }
- }
- }
- }
- }
- }
|