summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/valo/components/_tree.scss
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-08-19 12:02:04 +0300
committerArtur Signell <artur@vaadin.com>2014-08-19 14:48:25 +0000
commit1ceef27de99043e4ba917a8f806d107d1eaf4495 (patch)
tree9c518915ddda9c3dae9818539f35ea8da7627aed /WebContent/VAADIN/themes/valo/components/_tree.scss
parentddb2940bfb34b25fac14f2700385c6fdda7873c1 (diff)
downloadvaadin-framework-1ceef27de99043e4ba917a8f806d107d1eaf4495.tar.gz
vaadin-framework-1ceef27de99043e4ba917a8f806d107d1eaf4495.zip
Add a new variation for Valo
A new variation named “Light”, similar to iOS7 style. Fix some valo-menu styles to accommodate the new light style better. Change-Id: Ib7c396263db7838c972d75a6b79fed1caf7ca576
Diffstat (limited to 'WebContent/VAADIN/themes/valo/components/_tree.scss')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_tree.scss5
1 files changed, 3 insertions, 2 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_tree.scss b/WebContent/VAADIN/themes/valo/components/_tree.scss
index 93553fe55a..8e75f59945 100644
--- a/WebContent/VAADIN/themes/valo/components/_tree.scss
+++ b/WebContent/VAADIN/themes/valo/components/_tree.scss
@@ -176,8 +176,9 @@ $v-tree-expand-animation-enabled: false !default;
.#{$primary-stylename}-node-selected {
- color: valo-font-color($v-selection-color, 0.9);
- text-shadow: valo-button-text-shadow($v-selection-color, $v-bevel-depth);
+ $font-color: valo-font-color($v-selection-color, 0.9);
+ color: $font-color;
+ text-shadow: valo-text-shadow($font-color: $font-color, $background-color: $v-selection-item-selection-color);
&:after {
opacity: 1;