scss: add parameter to control shadow of focused widgets (#37028)
This commit is contained in:
parent
bc346d9d76
commit
00810c40b7
|
@ -486,6 +486,11 @@ paramètre, la deuxième sa description et la troisième la valeur par défaut.
|
|||
<td><p>Décalage du contour des champs de formulaire quand ils sont actifs</p></td>
|
||||
<td><p><var>0</var></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><code>$widget-focus-box-shadow</code></p></td>
|
||||
<td><p>Ombre des champs de formulaire quand ils sont actifs</p></td>
|
||||
<td><p><var>none</var></p></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><p><code>$widget-border-radius</code></p></td>
|
||||
<td><p>Taille de l'arrondi à appliquer aux champs de formulaire (texte, liste…)</p></td>
|
||||
|
|
|
@ -17,6 +17,7 @@ $widget-focus-border: $widget-border !default;
|
|||
$widget-focus-color: $widget-color !default;
|
||||
$widget-focus-outline: none !default;
|
||||
$widget-focus-outline-offset: 0 !default;
|
||||
$widget-focus-box-shadow: none !default;
|
||||
|
||||
$button-focus-outline: $widget-focus-outline !default;
|
||||
$button-focus-outline-offset: $widget-focus-outline-offset !default;
|
||||
|
@ -164,6 +165,7 @@ input, input[type="text"], input[type="email"], input[type="password"], input[ty
|
|||
background-color: $widget-focus-background;
|
||||
border: $widget-focus-border;
|
||||
color: $widget-focus-color;
|
||||
box-shadow: $widget-focus-box-shadow;
|
||||
}
|
||||
&:focus {
|
||||
outline: $widget-focus-outline;
|
||||
|
|
Loading…
Reference in New Issue