|
5 | 5 |
|
6 | 6 | // select-input
|
7 | 7 | $select-input-bg-color: var(--rp-select-input-bg-color, #fafbfc) !default;
|
| 8 | +$select-input-bg-color-disabled: var(--rp-select-input-bg-color-disabled, rgba(45, 45, 45, 0.05)) !default; |
8 | 9 | $select-input-border: var(--rp-select-input-border, 1px solid var(--rp-select-input-border-color, #c6cdd6)) !default;
|
9 | 10 | $select-input-border-color-focus: var(--rp-select-input-border-color-focus, #5e6066) !default;
|
| 11 | +$select-input-border-color-disabled: var(--rp-select-input-border-color-disabled, transparent) !default; |
10 | 12 | $select-input-cursor: var(--rp-select-input-cursor, default) !default;
|
11 | 13 | $select-input-padding: var(--rp-select-input-padding, 14px 20px) !default;
|
12 | 14 | $select-input-placeholder-color: var(--rp-select-input-placeholder-color, rgba(#5e6066, 0.5)) !default;
|
13 | 15 | $select-input-placeholder-font-family: var(--rp-select-input-placeholder-font-family, $theme-font-light, sans-serif) !default;
|
14 | 16 | $select-input-text-color: var(--rp-select-input-text-color, #5e6066) !default;
|
| 17 | +$select-input-text-color-disabled: var(--rp-select-input-text-color-disabled, rgba(45, 45, 45, 0.5)) !default; |
15 | 18 |
|
16 | 19 | // arrow default
|
17 | 20 | $select-arrow-bg-color: var(--rp-select-arrow-bg-color, #c6cdd6) !default;
|
| 21 | +$select-arrow-bg-color-disabled: var(--rp-select-arrow-bg-color-disabled, #c6cdd6) !default; |
18 | 22 | $select-arrow-bottom: var(--rp-select-arrow-bottom, 20px) !default;
|
19 | 23 | $select-arrow-height: var(--rp-select-arrow-height, 7px) !default;
|
20 | 24 | $select-arrow-left: var(--rp-select-arrow-left, calc(100% - 32px)) !default;
|
@@ -99,6 +103,20 @@ $select-arrow-url-open: var(--rp-select-arrow-url-open, url("#{$theme-assets-pat
|
99 | 103 | }
|
100 | 104 | }
|
101 | 105 | }
|
| 106 | + |
| 107 | +// ==== STATE: disabled ==== |
| 108 | +.disabled { |
| 109 | + pointer-events: none; |
| 110 | + |
| 111 | + .selectInput input { |
| 112 | + background-color: $select-input-bg-color-disabled; |
| 113 | + border-color: $select-input-border-color-disabled; |
| 114 | + } |
| 115 | + |
| 116 | + .SimpleInput_customValueBlock { |
| 117 | + color: $select-input-text-color-disabled; |
| 118 | + } |
| 119 | +} |
102 | 120 | // END SPECIAL STATES ---------- //
|
103 | 121 |
|
104 | 122 | // right-to-left languages support
|
|
0 commit comments