summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN
diff options
context:
space:
mode:
authorJouni Koivuviita <jouni@vaadin.com>2014-07-30 15:29:42 +0300
committerVaadin Code Review <review@vaadin.com>2014-08-07 08:20:36 +0000
commit8a0e51fac162d50c7f3e7ad337c98ba53e2abe63 (patch)
tree62b44b1bd9b8623425a8fde479b4df1515bf9efd /WebContent/VAADIN
parent97d80510edf06d954c7589864e707d89d60b3e97 (diff)
downloadvaadin-framework-8a0e51fac162d50c7f3e7ad337c98ba53e2abe63.tar.gz
vaadin-framework-8a0e51fac162d50c7f3e7ad337c98ba53e2abe63.zip
Fix Valo Tree selection indicator for Blink (#14334)
Also remove the child toggle element for leaf nodes in all browsers (previously only IE8). Change-Id: If2a1b14dcd423e9322141f36900406b745451993
Diffstat (limited to 'WebContent/VAADIN')
-rw-r--r--WebContent/VAADIN/themes/valo/components/_tree.scss7
1 files changed, 4 insertions, 3 deletions
diff --git a/WebContent/VAADIN/themes/valo/components/_tree.scss b/WebContent/VAADIN/themes/valo/components/_tree.scss
index 9ac2f7e43d..1327320cd4 100644
--- a/WebContent/VAADIN/themes/valo/components/_tree.scss
+++ b/WebContent/VAADIN/themes/valo/components/_tree.scss
@@ -116,11 +116,12 @@ $v-tree-expand-animation-enabled: false !default;
&:after {
content: "";
- display: inline-block;
+ display: block;
vertical-align: top;
position: absolute;
z-index: 1;
left: 0;
+ margin-top: -$v-tree-row-height;
width: 100%;
height: $v-tree-row-height;
border-radius: $v-border-radius;
@@ -153,8 +154,8 @@ $v-tree-expand-animation-enabled: false !default;
@include valo-tree-expanded-icon-style(true);
}
- .#{$primary-stylename}-node-leaf > .#{$primary-stylename}-node-caption > div:before,
- .v-ie8 & .#{$primary-stylename}-node-leaf:before {
+ .#{$primary-stylename}-node-leaf:before,
+ .#{$primary-stylename}-node-leaf > .#{$primary-stylename}-node-caption > div:before {
visibility: hidden;
}