_button.scss
5 years ago
_checkbox.scss
5 years ago
_collapse.scss
5 years ago
_colorpicker.scss
5 years ago
_dimensions.scss
5 years ago
_f-select.scss
5 years ago
_iconpicker.scss
5 years ago
_input.scss
5 years ago
_list-table.scss
5 years ago
_notice.scss
5 years ago
_pagination.scss
5 years ago
_radio.scss
5 years ago
_repeater.scss
5 years ago
_select.scss
5 years ago
_switcher.scss
5 years ago
_tabs.scss
5 years ago
_textarea.scss
5 years ago
_time.scss
5 years ago
_wp-media.scss
5 years ago
_checkbox.scss
52 lines
| 1 | .cx-vui-checkbox { |
| 2 | display: inline-flex; |
| 3 | align-items: center; |
| 4 | margin: 0 0 10px; |
| 5 | &--disabled { |
| 6 | pointer-events: none; |
| 7 | } |
| 8 | .cx-vui-checkgroup--single-item & { |
| 9 | margin: 0; |
| 10 | } |
| 11 | &__check { |
| 12 | box-sizing: border-box; |
| 13 | width: 18px; |
| 14 | height: 18px; |
| 15 | border-radius: 4px; |
| 16 | border: 2px solid $color__text; |
| 17 | margin: -1px 10px 0 0; |
| 18 | cursor: pointer; |
| 19 | display: flex; |
| 20 | align-items: center; |
| 21 | justify-content: center; |
| 22 | .rtl & { |
| 23 | margin: -1px 0 0 10px; |
| 24 | } |
| 25 | |
| 26 | &--focused { |
| 27 | border-color: $color__accent-border; |
| 28 | } |
| 29 | &--checked { |
| 30 | border-color: $color__accent; |
| 31 | background: $color__accent; |
| 32 | path { |
| 33 | fill: #fff; |
| 34 | } |
| 35 | } |
| 36 | &--disabled { |
| 37 | pointer-events: none; |
| 38 | opacity: .5; |
| 39 | cursor: default; |
| 40 | } |
| 41 | } |
| 42 | &__label { |
| 43 | color: $color__text; |
| 44 | cursor: pointer; |
| 45 | .cx-vui-checkbox--disabled & { |
| 46 | cursor: default; |
| 47 | } |
| 48 | } |
| 49 | &__input[type="checkbox"]="checkbox""] { |
| 50 | display: none; |
| 51 | } |
| 52 | } |