summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2015-02-12 11:39:44 +0200
committerPekka Hyvönen <pekka@vaadin.com>2015-02-13 14:47:22 +0200
commit7c6f4ef6e12836508f63cdee79c11aecdfa93291 (patch)
tree46f6cb0079e9c79d9c39173b699f73a3d7cb40d9 /WebContent
parent294dc686f6d05dde90f852f46429b46c2f87af35 (diff)
downloadvaadin-framework-7c6f4ef6e12836508f63cdee79c11aecdfa93291.tar.gz
vaadin-framework-7c6f4ef6e12836508f63cdee79c11aecdfa93291.zip
Drag and drop column reorder for default header row on client side Grid. #16643
Change-Id: I94558915859aaa91bdd041da12094bc0dcc53e62
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/grid/grid.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss
index e4a4a1d920..d0bae911db 100644
--- a/WebContent/VAADIN/themes/base/grid/grid.scss
+++ b/WebContent/VAADIN/themes/base/grid/grid.scss
@@ -52,6 +52,27 @@ $v-grid-editor-background-color: $v-grid-row-background-color !default;
border: $v-grid-border;
}
+ .#{$primaryStyleName} .header-drag-table {
+ border-spacing: 0;
+ table-layout: fixed;
+ width: inherit; // a decent default fallback
+
+ .#{$primaryStyleName}-header {
+
+ > .#{$primaryStyleName}-cell {
+ border: $v-grid-border;
+ opacity: 0.9;
+ filter: alpha(opacity=90); // IE8
+ }
+
+ > .#{$primaryStyleName}-drop-marker {
+ background-color: #197de1;
+ position: absolute;
+ width: 3px;
+ }
+ }
+ }
+
// Common cell styles
.#{$primaryStyleName}-cell {