summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2015-03-27 15:09:41 +0200
committerHenrik Paul <henrik@vaadin.com>2015-04-01 07:50:18 +0000
commit0ca0240a30a9701cdf9fb071594a9e24ee810ad9 (patch)
tree4d024f00f988c5fd55b58963003803ed80c01788 /WebContent/VAADIN/themes/valo
parent849c92d431ca2d4d591b2ca61c541aa40f754e83 (diff)
downloadvaadin-framework-0ca0240a30a9701cdf9fb071594a9e24ee810ad9.tar.gz
vaadin-framework-0ca0240a30a9701cdf9fb071594a9e24ee810ad9.zip
Adds theme to details in Grid (#16644)
Change-Id: I84628ee5840b71f2ff889037a525d43f9e86af46
Diffstat (limited to 'WebContent/VAADIN/themes/valo')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_grid.scss13
1 files changed, 12 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_grid.scss b/WebContent/VAADIN/themes/valo/components/_grid.scss
index 0d6d2ff0a6..0adfdd27ab 100644
--- a/WebContent/VAADIN/themes/valo/components/_grid.scss
+++ b/WebContent/VAADIN/themes/valo/components/_grid.scss
@@ -3,7 +3,8 @@
$v-grid-row-background-color: valo-table-background-color() !default;
$v-grid-row-stripe-background-color: scale-color($v-grid-row-background-color, $lightness: if(color-luminance($v-grid-row-background-color) < 10, 4%, -4%)) !default;
-$v-grid-border: flatten-list(valo-border($color: $v-grid-row-background-color, $strength: 0.8)) !default;
+$v-grid-border-color-source: $v-grid-row-background-color !default;
+$v-grid-border: flatten-list(valo-border($color: $v-grid-border-color-source, $strength: 0.8)) !default;
$v-grid-cell-focused-border: max(2px, first-number($v-border)) solid $v-selection-color !default;
$v-grid-row-height: $v-table-row-height !default;
@@ -16,6 +17,12 @@ $v-grid-cell-padding-horizontal: $v-table-cell-padding-horizontal !default;
$v-grid-animations-enabled: $v-animations-enabled !default;
+$v-grid-details-marker-width: first-number($v-grid-border) * 2 !default;
+$v-grid-details-marker-color: $v-selection-color !default;
+$v-grid-details-border-top: valo-border($color: $v-grid-border-color-source, $strength: 0.3) !default;
+$v-grid-details-border-top-stripe: valo-border($color: $v-grid-row-stripe-background-color, $strength: 0.3) !default;
+$v-grid-details-border-bottom: $v-grid-cell-horizontal-border !default;
+$v-grid-details-border-bottom-stripe: $v-grid-cell-horizontal-border !default;
@import "../../base/grid/grid";
@@ -177,6 +184,10 @@ $v-grid-animations-enabled: $v-animations-enabled !default;
outline: none;
}
+ .#{$primary-stylename}-spacer {
+ margin-top: first-number($v-grid-border) * -1;
+ }
+
// Customize scrollbars
.#{$primary-stylename}-scroller {
&::-webkit-scrollbar {