@@ -43,6 +43,8 @@ label {
43
43
color : var (--color-primer-fg-disabled );
44
44
background-color : var (--color-input-disabled-bg );
45
45
border-color : var (--color-border-default );
46
+ -webkit-text-fill-color : var (--color-primer-fg-disabled ); // Fix for Safari
47
+ opacity : 1 ; // Fix for Safari iOS
46
48
47
49
& ::placeholder {
48
50
color : var (--color-primer-fg-disabled );
@@ -69,7 +71,9 @@ textarea.form-control {
69
71
.input-contrast {
70
72
background-color : var (--color-canvas-inset );
71
73
72
- & :focus { background-color : var (--color-canvas-default ); }
74
+ & :focus {
75
+ background-color : var (--color-canvas-default );
76
+ }
73
77
}
74
78
75
79
// Custom styling for HTML5 validation bubbles (WebKit only)
@@ -139,8 +143,8 @@ textarea.form-control {
139
143
}
140
144
}
141
145
142
- input [type = checkbox ],
143
- input [type = radio ] {
146
+ input [type = ' checkbox' ],
147
+ input [type = ' radio' ] {
144
148
float : left ;
145
149
// stylelint-disable-next-line primer/spacing
146
150
margin : 5px 0 0 -20px ;
@@ -164,7 +168,7 @@ textarea.form-control {
164
168
& :checked {
165
169
// child of sibling or sibling
166
170
~ * .form-checkbox-details ,
167
- ~ .form-checkbox-details { // eslint-disable selector-combinator-space-before
171
+ ~ .form-checkbox-details {
168
172
display : block ;
169
173
}
170
174
}
@@ -206,8 +210,10 @@ textarea.form-control {
206
210
margin : 28px 25px 0 -20px ;
207
211
}
208
212
209
- // stylelint-disable-next-line primer/spacing
210
- .form-select { margin-top : 5px ; }
213
+ .form-select {
214
+ // stylelint-disable-next-line primer/spacing
215
+ margin-top : 5px ;
216
+ }
211
217
}
212
218
213
219
// Hide the up/down buttons in <input type="number"> in the login form, the
@@ -249,5 +255,7 @@ input::-webkit-inner-spin-button {
249
255
line-height : $lh-default ;
250
256
}
251
257
252
- a { font-weight : $font-weight-bold ; }
258
+ a {
259
+ font-weight : $font-weight-bold ;
260
+ }
253
261
}
0 commit comments