diff options
author | Jouni Koivuviita <jouni@vaadin.com> | 2015-01-29 13:40:59 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-01-29 14:09:40 +0000 |
commit | 02e920e1a75aaa39b73279dad09b718cf38887b2 (patch) | |
tree | 2c15a8ab7ff61ec84ce1472795db057058533e9b /WebContent | |
parent | 51acaa67dbe2683137416810c3ca4e4e5fb4b359 (diff) | |
download | vaadin-framework-02e920e1a75aaa39b73279dad09b718cf38887b2.tar.gz vaadin-framework-02e920e1a75aaa39b73279dad09b718cf38887b2.zip |
Fix wrong color variable for selectedGrid rows (#16532)
Change-Id: Ib8cc41e3f19f912af6267448b9f213cd2f92448e
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/valo/components/_grid.scss | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_grid.scss b/WebContent/VAADIN/themes/valo/components/_grid.scss index 2e76434709..50c7169225 100644 --- a/WebContent/VAADIN/themes/valo/components/_grid.scss +++ b/WebContent/VAADIN/themes/valo/components/_grid.scss @@ -54,15 +54,17 @@ $v-grid-cell-padding-horizontal: $v-table-cell-padding-horizontal !default; // Selected .#{$primary-stylename}-row-selected { + $grid-sel-bg: $v-grid-row-selected-background-color; + > .#{$primary-stylename}-cell { - @include valo-gradient($v-selection-color); - color: valo-font-color($v-selection-color); - text-shadow: valo-text-shadow($font-color: valo-font-color($v-selection-color), $background-color: $v-selection-color); - border-color: adjust-color($v-selection-color, $lightness: -8%, $saturation: -8%); + @include valo-gradient($grid-sel-bg); + color: valo-font-color($grid-sel-bg); + text-shadow: valo-text-shadow($font-color: valo-font-color($grid-sel-bg), $background-color: $grid-sel-bg); + border-color: adjust-color($grid-sel-bg, $lightness: -8%, $saturation: -8%); } > .#{$primary-stylename}-cell-focused:before { - border-color: adjust-color($v-selection-color, $lightness: 20%); + border-color: adjust-color($grid-sel-bg, $lightness: 20%); } } |