diff options
author | Johannes Dahlström <johannesd@vaadin.com> | 2015-07-09 14:51:30 +0300 |
---|---|---|
committer | Teemu Suo-Anttila <teemusa@vaadin.com> | 2015-07-21 14:41:21 +0300 |
commit | 18c20b90fdf1fa3e2533b961ebb564c6697b9874 (patch) | |
tree | 1ddc7e6f3a2e3ee970699f851f2127c554db540c /WebContent | |
parent | 928d81a6c44363fd85b3bbf2bf32b0e4dc5d0efc (diff) | |
download | vaadin-framework-18c20b90fdf1fa3e2533b961ebb564c6697b9874.tar.gz vaadin-framework-18c20b90fdf1fa3e2533b961ebb564c6697b9874.zip |
Support frozen columns in Grid editor (#16727)
Change-Id: I0ce69b37c87a345e5757636292cf52fbdd4eb0c2
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; |