@@ -32,10 +32,7 @@ textarea,
32
32
.ui .form input [type = "text" ],
33
33
.ui .form input [type = "time" ],
34
34
.ui .form input [type = "url" ],
35
- .ui .selection .dropdown ,
36
- .ui .checkbox label ::before ,
37
- .ui .checkbox input : checked ~ label ::before ,
38
- .ui .checkbox input : not ([type = "radio" ]): indeterminate ~ label ::before {
35
+ .ui .selection .dropdown {
39
36
background : var (--color-input-background );
40
37
border-color : var (--color-input-border );
41
38
color : var (--color-input-text );
@@ -63,12 +60,7 @@ textarea:hover,
63
60
.ui .form input [type = "text" ]: hover ,
64
61
.ui .form input [type = "time" ]: hover ,
65
62
.ui .form input [type = "url" ]: hover ,
66
- .ui .selection .dropdown : hover ,
67
- .ui .checkbox label : hover ::before ,
68
- .ui .checkbox label : active ::before ,
69
- .ui .radio .checkbox label ::after ,
70
- .ui .radio .checkbox input : focus ~ label ::before ,
71
- .ui .radio .checkbox input : checked ~ label ::before {
63
+ .ui .selection .dropdown : hover {
72
64
background : var (--color-input-background );
73
65
border-color : var (--color-input-border-hover );
74
66
color : var (--color-input-text );
@@ -91,11 +83,7 @@ textarea:focus,
91
83
.ui .form input [type = "text" ]: focus ,
92
84
.ui .form input [type = "time" ]: focus ,
93
85
.ui .form input [type = "url" ]: focus ,
94
- .ui .selection .dropdown : focus ,
95
- .ui .checkbox input : focus ~ label ::before ,
96
- .ui .checkbox input : not ([type = "radio" ]): indeterminate : focus ~ label ::before ,
97
- .ui .checkbox input : checked : focus ~ label ::before ,
98
- .ui .radio .checkbox input : focus : checked ~ label ::before {
86
+ .ui .selection .dropdown : focus {
99
87
background : var (--color-input-background );
100
88
border-color : var (--color-primary );
101
89
color : var (--color-input-text );
@@ -106,58 +94,21 @@ textarea:focus,
106
94
.ui .form .inline .fields .field > label ,
107
95
.ui .form .inline .fields .field > p ,
108
96
.ui .form .inline .field > label ,
109
- .ui .form .inline .field > p ,
110
- .ui .checkbox label ,
111
- .ui .checkbox + label ,
112
- .ui .checkbox label : hover ,
113
- .ui .checkbox + label : hover ,
114
- .ui .checkbox input : focus ~ label ,
115
- .ui .checkbox input : active ~ label {
97
+ .ui .form .inline .field > p {
116
98
color : var (--color-text );
117
99
}
118
100
119
101
.ui .form .required .fields : not (.grouped ) > .field > label ::after ,
120
102
.ui .form .required .fields .grouped > label ::after ,
121
103
.ui .form .required .field > label ::after ,
122
- .ui .form .required .fields : not (.grouped ) > .field > .checkbox ::after ,
123
- .ui .form .required .field > .checkbox ::after ,
124
104
.ui .form label .required ::after {
125
105
color : var (--color-red );
126
106
}
127
107
128
- .ui .input ,
129
- .ui .checkbox input : focus ~ label ::after ,
130
- .ui .checkbox input : checked ~ label ::after ,
131
- .ui .checkbox label : active ::after ,
132
- .ui .checkbox input : not ([type = "radio" ]): indeterminate ~ label ::after ,
133
- .ui .checkbox input : not ([type = "radio" ]): indeterminate : focus ~ label ::after ,
134
- .ui .checkbox input : checked : focus ~ label ::after ,
135
- .ui .disabled .checkbox label ,
136
- .ui .checkbox input [disabled ] ~ label {
108
+ .ui .input {
137
109
color : var (--color-input-text );
138
110
}
139
111
140
- .ui .radio .checkbox input : focus ~ label ::after ,
141
- .ui .radio .checkbox input : checked ~ label ::after ,
142
- .ui .radio .checkbox input : focus : checked ~ label ::after {
143
- background : var (--color-input-text );
144
- }
145
-
146
- .ui .toggle .checkbox label ::before {
147
- background : var (--color-input-toggle-background );
148
- }
149
-
150
- .ui .toggle .checkbox label ,
151
- .ui .toggle .checkbox input : checked ~ label ,
152
- .ui .toggle .checkbox input : focus : checked ~ label {
153
- color : var (--color-text ) !important ;
154
- }
155
-
156
- .ui .toggle .checkbox input : checked ~ label ::before ,
157
- .ui .toggle .checkbox input : focus : checked ~ label ::before {
158
- background : var (--color-primary ) !important ;
159
- }
160
-
161
112
/* match <select> padding to <input> */
162
113
.ui .form select {
163
114
padding : 0.67857143em 1em ;
0 commit comments