Skip to content

Commit

Permalink
fix: keep invalid background color on hover (CP: 14) (#583)
Browse files Browse the repository at this point in the history
  • Loading branch information
sissbruecker authored Oct 19, 2021
1 parent 724b2d7 commit 075ea6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions theme/lumo/vaadin-text-area-styles.html
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,12 @@
border: none;
}

:host(:hover:not([readonly]):not([focused])) [part="input-field"] {
:host(:hover:not([readonly]):not([focused]):not([invalid])) [part="input-field"] {
background-color: var(--lumo-contrast-20pct);
}

@media (pointer: coarse) {
:host(:hover:not([readonly]):not([focused])) [part="input-field"] {
:host(:hover:not([readonly]):not([focused]):not([invalid])) [part="input-field"] {
background-color: var(--lumo-contrast-10pct);
}

Expand Down

0 comments on commit 075ea6f

Please sign in to comment.