aboutsummaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo
diff options
context:
space:
mode:
authorPekka Hyvönen <pekka@vaadin.com>2015-04-08 13:22:30 +0300
committerPekka Hyvönen <pekka@vaadin.com>2015-04-13 05:47:07 +0000
commit93235f05c9dd4739cdccf87a4858a61904dbf4b5 (patch)
tree0f9007348bb8d916533dc5a8ceb2bf21b4dda316 /WebContent/VAADIN/themes/valo
parent59d5a799d63cfafbf02e0d680f99758da1a3338a (diff)
downloadvaadin-framework-93235f05c9dd4739cdccf87a4858a61904dbf4b5.tar.gz
vaadin-framework-93235f05c9dd4739cdccf87a4858a61904dbf4b5.zip
Valo theming for Grid's sidebar #17412
Little theming for Reindeer and Runo too, but no designs yet. Change-Id: I967d377cf33d64c9566b7a28d81002e669562be7
Diffstat (limited to 'WebContent/VAADIN/themes/valo')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_grid.scss25
1 files changed, 24 insertions, 1 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_grid.scss b/WebContent/VAADIN/themes/valo/components/_grid.scss
index 0adfdd27ab..c1862c8209 100644
--- a/WebContent/VAADIN/themes/valo/components/_grid.scss
+++ b/WebContent/VAADIN/themes/valo/components/_grid.scss
@@ -182,12 +182,35 @@ $v-grid-details-border-bottom-stripe: $v-grid-cell-horizontal-border !default;
padding: round($v-layout-spacing-vertical / 2) round($v-layout-spacing-horizontal / 2);
margin: 0;
outline: none;
- }
+ }
.#{$primary-stylename}-spacer {
margin-top: first-number($v-grid-border) * -1;
}
+ // Sidebar
+ .#{$primary-stylename}-sidebar.v-contextmenu {
+ &.opened {
+ .#{$primary-stylename}-sidebar-button:after {
+ font-size: 20px;
+ line-height: 20px;
+ }
+
+ .#{$primary-stylename}-sidebar-content {
+ margin: 0 0 2px;
+ padding: 4px 4px 2px;
+ }
+ }
+
+ &.closed {
+ @include valo-gradient($v-grid-header-background-color);
+
+ .#{$primary-stylename}-sidebar-button {
+ line-height: 36px;
+ }
+ }
+ }
+
// Customize scrollbars
.#{$primary-stylename}-scroller {
&::-webkit-scrollbar {