diff options
author | Artur Signell <artur@vaadin.com> | 2016-02-07 18:30:54 +0200 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2016-05-11 14:47:08 +0300 |
commit | b3b5c062b02ca5edfc5527090c027145704ee51a (patch) | |
tree | 138766400e5e6c20cdec27fa3df2777c75570ef1 /themes/src/main | |
parent | 19ad71e9e21dfea2dd756f96e473e00c3077f35a (diff) | |
download | vaadin-framework-b3b5c062b02ca5edfc5527090c027145704ee51a.tar.gz vaadin-framework-b3b5c062b02ca5edfc5527090c027145704ee51a.zip |
Use error styles for NativeSelect/ListSelect/TwinColSelect in Valo (#19550)
Change-Id: Ifc87f48b8145b56c7b83b9ce4aa1db8a698d7d49
Diffstat (limited to 'themes/src/main')
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/valo/components/_nativeselect.scss | 7 | ||||
-rw-r--r-- | themes/src/main/themes/VAADIN/themes/valo/components/_twincolselect.scss | 7 |
2 files changed, 12 insertions, 2 deletions
diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_nativeselect.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_nativeselect.scss index d0b2caf745..b747b0bb54 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_nativeselect.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_nativeselect.scss @@ -23,10 +23,13 @@ } } } + .#{$primary-stylename}-error { + .#{$primary-stylename}-select { + @include valo-textfield-error-style; + } + } } - - /** * * diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_twincolselect.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_twincolselect.scss index 51063e236f..1d9a7e773e 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_twincolselect.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_twincolselect.scss @@ -78,6 +78,13 @@ } } + .#{$primary-stylename}-error { + .#{$primary-stylename}-options, + .#{$primary-stylename}-selections { + @include valo-textfield-error-style; + } + } + } |