summaryrefslogtreecommitdiffstats
path: root/WebContent
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2015-04-29 16:44:19 +0300
committerPekka Hyvönen <pekka@vaadin.com>2015-04-30 10:50:40 +0300
commitbbf30fff168fd4a9552d23c8341e27aa1821884b (patch)
tree6a8b0dc7f71ce2ec0b5cd9136624243650668e1e /WebContent
parent98f22b3a664034b655c08f7c20dbe4219052865b (diff)
downloadvaadin-framework-bbf30fff168fd4a9552d23c8341e27aa1821884b.tar.gz
vaadin-framework-bbf30fff168fd4a9552d23c8341e27aa1821884b.zip
Details row decorator and border positioning and sizes (#17423)
IE8 still isn't pixel perfect, but you can't have 'em all. Change-Id: I1780441f130032503d783657103066f502dce570
Diffstat (limited to 'WebContent')
-rw-r--r--WebContent/VAADIN/themes/base/escalator/escalator.scss12
-rw-r--r--WebContent/VAADIN/themes/base/grid/grid.scss3
2 files changed, 5 insertions, 10 deletions
diff --git a/WebContent/VAADIN/themes/base/escalator/escalator.scss b/WebContent/VAADIN/themes/base/escalator/escalator.scss
index bae95b299c..73d45854b9 100644
--- a/WebContent/VAADIN/themes/base/escalator/escalator.scss
+++ b/WebContent/VAADIN/themes/base/escalator/escalator.scss
@@ -136,20 +136,14 @@
.#{$primaryStyleName}-spacer {
position: absolute;
display: block;
-
+
background-color: $background-color;
-
+
> td {
width: 100%;
height: 100%;
+ @include box-sizing(border-box);
}
- .v-ie8 &, .v-ie9 & {
- // The inline style of margin-top from the <tbody> to offset the
- // header's dimension is, for some strange reason, inherited into each
- // contained <tr>. We need to cancel it:
-
- margin-top: 0;
- }
}
}
diff --git a/WebContent/VAADIN/themes/base/grid/grid.scss b/WebContent/VAADIN/themes/base/grid/grid.scss
index ee503822b9..531abb1ff1 100644
--- a/WebContent/VAADIN/themes/base/grid/grid.scss
+++ b/WebContent/VAADIN/themes/base/grid/grid.scss
@@ -456,8 +456,9 @@ $v-grid-details-border-bottom-stripe: 1px solid darken($v-grid-row-background-co
}
.#{$primaryStyleName}-spacer-deco-container {
+ border-top: $v-grid-border-size solid transparent; // same size as table wrapper border
position: relative;
- top: $v-grid-border-size;
+ top: 0; // escalator will override top for scrolling and margin-top for header offset.
z-index: 5;
}