_button.scss
3 years ago
_checkbox.scss
3 years ago
_collapse.scss
3 years ago
_colorpicker.scss
3 years ago
_dimensions.scss
3 years ago
_f-select.scss
3 years ago
_iconpicker.scss
3 years ago
_input.scss
3 years ago
_list-table.scss
3 years ago
_notice.scss
3 years ago
_pagination.scss
3 years ago
_radio.scss
3 years ago
_repeater.scss
3 years ago
_select.scss
3 years ago
_switcher.scss
3 years ago
_tabs.scss
3 years ago
_textarea.scss
3 years ago
_time.scss
3 years ago
_wp-media.scss
3 years ago
_f-select.scss
100 lines
| 1 | .cx-vui-f-select { |
| 2 | &__select-tag { |
| 3 | display: none; |
| 4 | } |
| 5 | &__input { |
| 6 | &.cx-vui-input { |
| 7 | &--in-focus { |
| 8 | box-shadow: 0 0 0 2px $color__accent-border inset; |
| 9 | background: #fff; |
| 10 | border-bottom-left-radius: 0; |
| 11 | border-bottom-right-radius: 0; |
| 12 | } |
| 13 | } |
| 14 | } |
| 15 | &__control { |
| 16 | position: relative; |
| 17 | } |
| 18 | &__results { |
| 19 | top: 100%; |
| 20 | left: 0; |
| 21 | right: 0; |
| 22 | z-index: 999; |
| 23 | position: absolute; |
| 24 | border: 1px solid $color__accent-border; |
| 25 | box-sizing: border-box; |
| 26 | box-shadow: 0px 4px 20px rgba(35, 40, 45, 0.24); |
| 27 | border-radius: 0px 0px 4px 4px; |
| 28 | background: $color__bg-panel; |
| 29 | padding: 10px 0; |
| 30 | margin: -1px 0 0 0; |
| 31 | &-message, |
| 32 | &-loading { |
| 33 | padding: 0 10px; |
| 34 | color: $color__text; |
| 35 | } |
| 36 | } |
| 37 | &__result { |
| 38 | color: $color__text; |
| 39 | font-size: 13px; |
| 40 | line-height: 17px; |
| 41 | padding: 3px 12px 4px; |
| 42 | cursor: pointer; |
| 43 | transition: all 150ms linear; |
| 44 | &.is-selected { |
| 45 | background: $color__accent-lighter; |
| 46 | } |
| 47 | &:hover, |
| 48 | &.in-focus { |
| 49 | color: #fff; |
| 50 | background: $color__accent; |
| 51 | } |
| 52 | } |
| 53 | &__selected { |
| 54 | display: flex; |
| 55 | flex-wrap: wrap; |
| 56 | &-not-empty { |
| 57 | margin: 0 0 15px; |
| 58 | } |
| 59 | &-option { |
| 60 | padding: 5px 11px 5px 5px; |
| 61 | display: flex; |
| 62 | align-items: center; |
| 63 | background: $color__accent-lighter; |
| 64 | cursor: pointer; |
| 65 | color: $color__text; |
| 66 | margin: 0 5px 5px 0; |
| 67 | white-space: nowrap; |
| 68 | .rtl & { |
| 69 | padding: 5px 5px 5px 11px; |
| 70 | margin: 0 0 5px 5px; |
| 71 | } |
| 72 | &-icon { |
| 73 | width: 22px; |
| 74 | height: 22px; |
| 75 | background: $color__bg-panel; |
| 76 | border-radius: 1px; |
| 77 | transition: all 150ms liear; |
| 78 | margin: 0 6px 0 0; |
| 79 | display: flex; |
| 80 | align-items: center; |
| 81 | justify-content: center; |
| 82 | .rtl & { |
| 83 | margin: 0 0 0 6px; |
| 84 | } |
| 85 | path { |
| 86 | transition: all 150ms liear; |
| 87 | fill: $color__text; |
| 88 | } |
| 89 | } |
| 90 | &:hover { |
| 91 | .cx-vui-f-select__selected-option-icon { |
| 92 | background: $color__accent; |
| 93 | path { |
| 94 | fill: #fff; |
| 95 | } |
| 96 | } |
| 97 | } |
| 98 | } |
| 99 | } |
| 100 | } |