diff options
author | Henrik Paul <henrik@vaadin.com> | 2014-11-20 12:46:01 +0200 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2014-11-21 14:36:30 +0000 |
commit | 7d4e5cb0a98fbc3c397c6c74385210e4ac5b3811 (patch) | |
tree | 36cfe6e829774ae1720d951007f66f3ef2f6f9d2 /WebContent | |
parent | 448d2b9e9b1c673ea5c8dd6b8404b93d753cd569 (diff) | |
download | vaadin-framework-7d4e5cb0a98fbc3c397c6c74385210e4ac5b3811.tar.gz vaadin-framework-7d4e5cb0a98fbc3c397c6c74385210e4ac5b3811.zip |
Adds naïve zebra striping to Grid (#13334)
Change-Id: Ia9a031f87065552688dffe3281bf647582b8f872
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/base/grid/grid.scss | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss index 69b293e26e..de30424d22 100644 --- a/WebContent/VAADIN/themes/base/grid/grid.scss +++ b/WebContent/VAADIN/themes/base/grid/grid.scss @@ -31,6 +31,14 @@ background: rgb(244,244,244); } } + + .#{$primaryStyleName}-row > td { + background-color: #fff; + } + + .#{$primaryStyleName}-row-stripe > td { + background-color: #eee; + } .#{$primaryStyleName}-row-selected > td { background: lightblue; |