summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-08-29 13:57:46 +0300
committerLeif Åstrand <leif@vaadin.com>2014-08-30 12:02:31 +0300
commitf062ce86ea16963c44c2bb5a6e04b5f2321e1168 (patch)
tree957ac1ca0776a4fb2d46eeda4a77f5297ece0e12 /WebContent/VAADIN/themes/valo/components/_valo-menu.scss
parentc4935487a28e2a8a1226ebcfbfeb453e05f9fbe6 (diff)
downloadvaadin-framework-f062ce86ea16963c44c2bb5a6e04b5f2321e1168.tar.gz
vaadin-framework-f062ce86ea16963c44c2bb5a6e04b5f2321e1168.zip
First batch of Valo Sass API documentation, plus bug fixes
Also updates the test to always scroll the left panel to the top after opening a section. Change-Id: Icdb42795b8ec347b91694c162898f41aa8d80152
Diffstat (limited to 'WebContent/VAADIN/themes/valo/components/_valo-menu.scss')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_valo-menu.scss4
1 files changed, 2 insertions, 2 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_valo-menu.scss b/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
index 9a9e597888..6429dc0896 100644
--- a/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
+++ b/WebContent/VAADIN/themes/valo/components/_valo-menu.scss
@@ -271,7 +271,7 @@ $valo-menu-background-color: scale-color($v-app-background-color, $lightness: if
padding: 0 round($v-unit-size) 0 round($v-unit-size/2);
cursor: pointer;
position: relative;
- text-shadow: valo-text-shadow($font-color: $font-color, $background-color: $bg, $offset: -2px);
+ text-shadow: valo-text-shadow($font-color: $font-color, $background-color: $bg, $offset: 2px);
@include transition(background-color 300ms, color 60ms);
$diff: color-luminance($bg) - color-luminance($v-selection-color);
@@ -297,7 +297,7 @@ $valo-menu-background-color: scale-color($v-app-background-color, $lightness: if
color: $active-color;
}
}
-
+
&.selected {
background: if(is-dark-color($bg), darken($bg, 3%), lighten($bg, 5%));