diff options
author | Henrik Paul <henrik@vaadin.com> | 2015-02-05 23:50:31 +0200 |
---|---|---|
committer | Leif Åstrand <leif@vaadin.com> | 2015-02-06 11:19:17 +0200 |
commit | 0e141e31bb30a0ab6726129f3c9fa892c92573e4 (patch) | |
tree | 672975bd0671b06d1498e5ce5f984e7d30179ef7 /WebContent/VAADIN/themes/valo/components | |
parent | 0c82dad0ab225aeb9920b2e5c6f061da871bea66 (diff) | |
download | vaadin-framework-0e141e31bb30a0ab6726129f3c9fa892c92573e4.tar.gz vaadin-framework-0e141e31bb30a0ab6726129f3c9fa892c92573e4.zip |
Highlights erroneous cells in Grid editor (#16575)
Change-Id: Ie1f9d738db7a03ddb01b968782ad5e4877af1d7e
Diffstat (limited to 'WebContent/VAADIN/themes/valo/components')
-rw-r--r-- | WebContent/VAADIN/themes/valo/components/_grid.scss | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_grid.scss b/WebContent/VAADIN/themes/valo/components/_grid.scss index c481f127a8..4cac9c5e43 100644 --- a/WebContent/VAADIN/themes/valo/components/_grid.scss +++ b/WebContent/VAADIN/themes/valo/components/_grid.scss @@ -102,6 +102,17 @@ $v-grid-animations-enabled: $v-animations-enabled !default; height: 100%; vertical-align: middle; } + + .error::before { + border-top: round($v-unit-size / 4) solid $v-error-indicator-color; + border-right: round($v-unit-size / 4) solid transparent; + } + + .error, + .error > input { + // taken from @mixin valo-textfield-error-style() + background-color: scale-color($v-error-indicator-color, $lightness: 98%); + } .v-textfield, .v-textfield-focus, |