|
| 1 | +input, |
| 2 | +textarea, |
| 3 | +.ui.input > input, |
| 4 | +.ui.form input:not([type]), |
| 5 | +.ui.form textarea, |
| 6 | +.ui.form input[type="date"], |
| 7 | +.ui.form input[type="datetime-local"], |
| 8 | +.ui.form input[type="email"], |
| 9 | +.ui.form input[type="file"], |
| 10 | +.ui.form input[type="number"], |
| 11 | +.ui.form input[type="password"], |
| 12 | +.ui.form input[type="search"], |
| 13 | +.ui.form input[type="tel"], |
| 14 | +.ui.form input[type="text"], |
| 15 | +.ui.form input[type="time"], |
| 16 | +.ui.form input[type="url"], |
| 17 | +.ui.selection.dropdown, |
| 18 | +.ui.checkbox label::before, |
| 19 | +.ui.checkbox input:checked ~ label::before, |
| 20 | +.ui.checkbox input:not([type=radio]):indeterminate ~ label::before { |
| 21 | + background: var(--color-input-background); |
| 22 | + border-color: var(--color-input-border); |
| 23 | + color: var(--color-input-text); |
| 24 | +} |
| 25 | + |
| 26 | +input:hover, |
| 27 | +textarea:hover, |
| 28 | +.ui.input input:hover, |
| 29 | +.ui.form input:not([type]):hover, |
| 30 | +.ui.form textarea:hover, |
| 31 | +.ui.form input[type="date"]:hover, |
| 32 | +.ui.form input[type="datetime-local"]:hover, |
| 33 | +.ui.form input[type="email"]:hover, |
| 34 | +.ui.form input[type="file"]:hover, |
| 35 | +.ui.form input[type="number"]:hover, |
| 36 | +.ui.form input[type="password"]:hover, |
| 37 | +.ui.form input[type="search"]:hover, |
| 38 | +.ui.form input[type="tel"]:hover, |
| 39 | +.ui.form input[type="text"]:hover, |
| 40 | +.ui.form input[type="time"]:hover, |
| 41 | +.ui.form input[type="url"]:hover, |
| 42 | +.ui.selection.dropdown:hover, |
| 43 | +.ui.checkbox label:hover::before, |
| 44 | +.ui.checkbox label:active::before, |
| 45 | +.ui.radio.checkbox label::after, |
| 46 | +.ui.radio.checkbox input:focus ~ label::before, |
| 47 | +.ui.radio.checkbox input:checked ~ label::before { |
| 48 | + background: var(--color-input-background); |
| 49 | + border-color: var(--color-input-border-hover); |
| 50 | + color: var(--color-input-text); |
| 51 | +} |
| 52 | + |
| 53 | +input:focus, |
| 54 | +textarea:focus, |
| 55 | +.ui.input input:focus, |
| 56 | +.ui.form input:not([type]):focus, |
| 57 | +.ui.form textarea:focus, |
| 58 | +.ui.form input[type="date"]:focus, |
| 59 | +.ui.form input[type="datetime-local"]:focus, |
| 60 | +.ui.form input[type="email"]:focus, |
| 61 | +.ui.form input[type="file"]:focus, |
| 62 | +.ui.form input[type="number"]:focus, |
| 63 | +.ui.form input[type="password"]:focus, |
| 64 | +.ui.form input[type="search"]:focus, |
| 65 | +.ui.form input[type="tel"]:focus, |
| 66 | +.ui.form input[type="text"]:focus, |
| 67 | +.ui.form input[type="time"]:focus, |
| 68 | +.ui.form input[type="url"]:focus, |
| 69 | +.ui.selection.dropdown:focus, |
| 70 | +.ui.checkbox input:focus ~ label::before, |
| 71 | +.ui.checkbox input:not([type="radio"]):indeterminate:focus ~ label::before, |
| 72 | +.ui.checkbox input:checked:focus ~ label::before, |
| 73 | +.ui.radio.checkbox input:focus:checked ~ label::before { |
| 74 | + background: var(--color-input-background); |
| 75 | + border-color: var(--color-primary); |
| 76 | + color: var(--color-input-text); |
| 77 | +} |
| 78 | + |
| 79 | +.ui.form .field > label, |
| 80 | +.ui.form .inline.fields > label, |
| 81 | +.ui.form .inline.fields .field > label, |
| 82 | +.ui.form .inline.fields .field > p, |
| 83 | +.ui.form .inline.field > label, |
| 84 | +.ui.form .inline.field > p, |
| 85 | +.ui.checkbox label, |
| 86 | +.ui.checkbox + label, |
| 87 | +.ui.checkbox label:hover, |
| 88 | +.ui.checkbox + label:hover, |
| 89 | +.ui.checkbox input:focus ~ label, |
| 90 | +.ui.checkbox input:active ~ label { |
| 91 | + color: var(--color-text); |
| 92 | +} |
| 93 | + |
| 94 | +.ui.input, |
| 95 | +.ui.checkbox input:focus ~ label::after, |
| 96 | +.ui.checkbox input:checked ~ label::after, |
| 97 | +.ui.checkbox label:active::after, |
| 98 | +.ui.checkbox input:not([type=radio]):indeterminate ~ label::after, |
| 99 | +.ui.checkbox input:not([type=radio]):indeterminate:focus ~ label::after, |
| 100 | +.ui.checkbox input:checked:focus ~ label::after, |
| 101 | +.ui.disabled.checkbox label, |
| 102 | +.ui.checkbox input[disabled] ~ label { |
| 103 | + color: var(--color-input-text); |
| 104 | +} |
| 105 | + |
| 106 | +.ui.radio.checkbox input:focus ~ label::after, |
| 107 | +.ui.radio.checkbox input:checked ~ label::after, |
| 108 | +.ui.radio.checkbox input:focus:checked ~ label::after { |
| 109 | + background: var(--color-input-text); |
| 110 | +} |
| 111 | + |
| 112 | +.ui.toggle.checkbox label::before { |
| 113 | + background: var(--color-input-background); |
| 114 | +} |
| 115 | + |
| 116 | +.ui.toggle.checkbox label, |
| 117 | +.ui.toggle.checkbox input:checked ~ label, |
| 118 | +.ui.toggle.checkbox input:focus:checked ~ label { |
| 119 | + color: var(--color-text) !important; |
| 120 | +} |
| 121 | + |
| 122 | +.ui.toggle.checkbox input:checked ~ label::before, |
| 123 | +.ui.toggle.checkbox input:focus:checked ~ label::before { |
| 124 | + background: var(--color-primary) !important; |
| 125 | +} |
| 126 | + |
1 | 127 | .form {
|
2 | 128 | .help {
|
3 | 129 | color: #999999;
|
|
0 commit comments