diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2015-07-09 14:51:30 +0300 |
---|---|---|
committer | Vaadin Code Review <review@vaadin.com> | 2015-07-15 08:41:20 +0000 |
commit | 0f9d0b0bf1cd5fb58f47f22bd6d52a9fac31c530 (patch) | |
tree | 3ae873db1d7e67aba0c0a585169ce152ae34a6dd /WebContent | |
parent | 3b05685493d17e89404025e3cdd81d47e511b0ce (diff) | |
download | vaadin-framework-0f9d0b0bf1cd5fb58f47f22bd6d52a9fac31c530.tar.gz vaadin-framework-0f9d0b0bf1cd5fb58f47f22bd6d52a9fac31c530.zip |
Support frozen columns in Grid editor (#16727)
Change-Id: Iff797c3bf90a6021099a3ed4082cfca3a6fb3540
Diffstat (limited to 'WebContent')
-rw-r--r-- | WebContent/VAADIN/themes/base/grid/grid.scss | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss index 1653032703..31403428cd 100644 --- a/WebContent/VAADIN/themes/base/grid/grid.scss +++ b/WebContent/VAADIN/themes/base/grid/grid.scss @@ -199,6 +199,12 @@ $v-grid-details-border-bottom-stripe: 1px solid darken($v-grid-row-background-co border-left: none; } } + + .#{$primaryStyleName}-editor-cells.frozen > div { + @include box-shadow(1px 0 2px rgba(0,0,0,.1)); + border-right: $v-grid-cell-vertical-border; + border-left: none; + } .#{$primaryStyleName}-row-stripe > td { background-color: $v-grid-row-stripe-background-color; @@ -342,6 +348,10 @@ $v-grid-details-border-bottom-stripe: 1px solid darken($v-grid-row-background-co .#{$primaryStyleName}-editor-cells { position: relative; white-space: nowrap; + + &.frozen { + z-index: 2; + } > div { display: inline-block; |