css: improve styles of form field on error (#75382) #202

Merged
fpeters merged 22 commits from wip/75382-form-field-on-error into main 2023-04-20 18:36:46 +02:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit fffa4cfa98 - Show all commits

View File

@ -274,7 +274,7 @@ input, input[type="search"], textarea, select {
margin: 0.2em 0px;
padding: $widget-padding;
max-width: 100%;
transition: background 0.5s ease, color 0.5s ease, border 0.5s ease;
transition: background 0.5s ease, color 0.5s ease;

Je retirerais cette transition (préexistante); comme le style applique un changement de largeur de la bordure gauche ça fait un mouvement lent et saccadé pas terrible.

Je retirerais cette transition (préexistante); comme le style applique un changement de largeur de la bordure gauche ça fait un mouvement lent et saccadé pas terrible.
box-shadow: $widget-box-shadow;
&:focus:not([readonly]) {
background-color: $widget-focus-background;