From 3a7e95b98af0e9ad8f1d0160f6a1adcaa6cd8c58 Mon Sep 17 00:00:00 2001 From: Teemu Suo-Anttila Date: Wed, 3 May 2017 13:37:56 +0300 Subject: Fix minor issues with Tree theme and TB API (#9226) Removes background color from Tree, adds release notes mention, JavaDoc updates. --- .../VAADIN/themes/valo/components/_newtree.scss | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) (limited to 'themes/src') diff --git a/themes/src/main/themes/VAADIN/themes/valo/components/_newtree.scss b/themes/src/main/themes/VAADIN/themes/valo/components/_newtree.scss index 9929d7ef47..20af676e4b 100644 --- a/themes/src/main/themes/VAADIN/themes/valo/components/_newtree.scss +++ b/themes/src/main/themes/VAADIN/themes/valo/components/_newtree.scss @@ -6,16 +6,20 @@ $v-newtree-border-radius: 3px; @include valo-treegrid($primary-stylename); + .#{$primary-stylename} { + background-color: transparent; + } + .#{$primary-stylename}-row > td { background-color: transparent; border: none; } - + .#{$primary-stylename}-tablewrapper { background-color: transparent; border: none; } - + .#{$primary-stylename}-row-selected > .#{$primary-stylename}-cell { background-color: transparent; background-image: none; @@ -23,23 +27,23 @@ $v-newtree-border-radius: 3px; text-shadow: none; border: none; } - + .#{$primary-stylename}:focus .#{$primary-stylename}-rowmode-row-focused:before { display: none; } - + .#{$primary-stylename}-cell-content { border: $v-grid-cell-focused-border; border-color: transparent; border-radius: $v-newtree-border-radius; padding: $v-grid-cell-padding; } - - .#{$primary-stylename}:focus .#{$primary-stylename}-rowmode-cell-focused + + .#{$primary-stylename}:focus .#{$primary-stylename}-rowmode-cell-focused > .#{$primary-stylename}-node > .#{$primary-stylename}-cell-content { border: $v-grid-cell-focused-border; } - + // Selected .#{$primary-stylename}-row-selected { $grid-sel-bg: $v-grid-row-selected-background-color; @@ -56,4 +60,3 @@ $v-newtree-border-radius: 3px; } } } - -- cgit v1.2.3