0001-scss-add-variable-to-control-widget-text-colour-2907.patch
help/fr/misc-scss.page | ||
---|---|---|
378 | 378 |
<td><p>Couleur de fond des champs de formulaire (texte, liste…)</p></td> |
379 | 379 |
<td><p><var>white</var></p></td> |
380 | 380 |
</tr> |
381 |
<tr> |
|
382 |
<td><p><code>$widget-color</code></p></td> |
|
383 |
<td><p>Couleur du texte des champs de formulaire (texte, liste…)</p></td> |
|
384 |
<td><p><var>$font-color</var></p></td> |
|
385 |
</tr> |
|
381 | 386 |
<tr> |
382 | 387 |
<td><p><code>$widget-border</code></p></td> |
383 | 388 |
<td><p>Style de bordure des champs de formulaire (texte, liste…)</p></td> |
... | ... | |
388 | 393 |
<td><p>Couleur de fond des champs de formulaire lorsqu'ils sont actifs (texte, liste…)</p></td> |
389 | 394 |
<td><p><var>white</var></p></td> |
390 | 395 |
</tr> |
396 |
<tr> |
|
397 |
<td><p><code>$widget-focus-color</code></p></td> |
|
398 |
<td><p>Couleur du texte des champs de formulaire lorsqu'ils sont actifs (texte, liste…)</p></td> |
|
399 |
<td><p><var>$widget-color</var></p></td> |
|
400 |
</tr> |
|
391 | 401 |
<tr> |
392 | 402 |
<td><p><code>$widget-focus-border</code></p></td> |
393 | 403 |
<td><p>Style de bordure des champs de formulaire lorsqu'ils sont actifs (texte, liste…)</p></td> |
static/includes/_forms.scss | ||
---|---|---|
9 | 9 |
$button-border-radius: $border-radius !default; |
10 | 10 | |
11 | 11 |
$widget-background: white !default; |
12 |
$widget-color: $font-color !default; |
|
12 | 13 |
$widget-border: 1px solid #AAA !default; |
13 | 14 |
$widget-border-radius: 0 !default; |
14 | 15 |
$widget-focus-background: inherit !default; |
15 | 16 |
$widget-focus-border: 1px solid #AAA !default; |
17 |
$widget-focus-color: $widget-color !default; |
|
16 | 18 | |
17 | 19 |
$widget-custom-radio-checkbox: false !default; |
18 | 20 |
$widget-custom-radio-checkbox-color: $button-background !default; |
... | ... | |
120 | 122 | |
121 | 123 |
input, input[type="text"], input[type="email"], input[type="password"], input[type="url"], input[type="tel"], input[type="number"], input[type="search"], input[type="file"], input[type="date"], input[type="datetime-local"], input[type="month"], input[type="time"], input[type="week"], textarea, select { |
122 | 124 |
background: $widget-background; |
125 |
color: $widget-color; |
|
123 | 126 |
border: $widget-border; |
124 | 127 |
border-radius: $widget-border-radius; |
125 | 128 |
box-sizing: border-box; |
... | ... | |
131 | 134 |
&:focus:not([readonly]) { |
132 | 135 |
background-color: $widget-focus-background; |
133 | 136 |
border: $widget-focus-border; |
137 |
color: $widget-focus-color; |
|
134 | 138 |
} |
135 | 139 |
} |
136 | 140 | |
... | ... | |
247 | 251 |
box-sizing: content-box; |
248 | 252 |
padding: 0.3ex 0 0.3ex 0; |
249 | 253 |
background: $widget-background; |
254 |
color: $widget-color; |
|
250 | 255 |
border-radius: 0; |
251 | 256 |
border: $widget-border; |
252 | 257 |
} |
253 |
- |