diff options
author | Marc Englund <marc@vaadin.com> | 2012-11-22 17:09:10 +0200 |
---|---|---|
committer | Marc Englund <marc@vaadin.com> | 2012-11-23 09:29:59 +0200 |
commit | d6caa6043adef61387ccfece57336593641875c4 (patch) | |
tree | 64ad544c320a07b1ce7394cd06ecbb2c637a6abd /WebContent/VAADIN/themes/base/tree | |
parent | e33302b9676ae62ea0bdc53ff6c6e3f4aea01522 (diff) | |
download | vaadin-framework-d6caa6043adef61387ccfece57336593641875c4.tar.gz vaadin-framework-d6caa6043adef61387ccfece57336593641875c4.zip |
Fixes #6714 #10330 - wraps theme in themename{}, creates legacy-styles.css, updates themes to support this.
Change-Id: I185b67b2ee74dca2faf48ff2517f24280aff4375
Diffstat (limited to 'WebContent/VAADIN/themes/base/tree')
-rw-r--r-- | WebContent/VAADIN/themes/base/tree/tree.scss | 29 |
1 files changed, 15 insertions, 14 deletions
diff --git a/WebContent/VAADIN/themes/base/tree/tree.scss b/WebContent/VAADIN/themes/base/tree/tree.scss index 2eb2c5908b..fd998eac45 100644 --- a/WebContent/VAADIN/themes/base/tree/tree.scss +++ b/WebContent/VAADIN/themes/base/tree/tree.scss @@ -99,43 +99,44 @@ div.#{$name}-node-leaf { } // tree-connectors.css +// This could be (and was) wrapped in a nested block instead of prefixing each +// row, but #10309 prevents us from doing that right now. -.#{$name}-connectors { // Make item caption height an even number (so that the connector dots overlap nicely) - .#{$name}-node-caption { + .#{$name}-connectors .#{$name}-node-caption { padding-top: 1px; } - .#{$name}-node { + .#{$name}-connectors .#{$name}-node { background: transparent url(img/connector-expand.png) no-repeat 2px -52px; } - .#{$name}-node-expanded { + .#{$name}-connectors .#{$name}-node-expanded { background: transparent url(img/connector-collapse.png) no-repeat 2px -52px; } - .#{$name}-node-last { + .#{$name}-connectors .#{$name}-node-last { background: transparent url(img/connector-expand-last.png) no-repeat 2px -52px; } - .#{$name}-node-expanded.#{$name}-node-last { + .#{$name}-connectors .#{$name}-node-expanded.#{$name}-node-last { background: transparent url(img/connector-collapse-last.png) no-repeat 2px -52px; } - .#{$name}-node-leaf { + .#{$name}-connectors .#{$name}-node-leaf { background: transparent url(img/connector-leaf.png) repeat-y 2px 50%; } - .#{$name}-node-leaf-last { + .#{$name}-connectors .#{$name}-node-leaf-last { background: transparent url(img/connector-leaf-last.png) repeat-y 2px 50%; } - .#{$name}-node-children { + .#{$name}-connectors .#{$name}-node-children { background: transparent url(img/connector.png) repeat-y 2px 0; } - .#{$name}-node-children-last { + .#{$name}-connectors .#{$name}-node-children-last { background: transparent; } - .#{$name}-node-drag-top, - .#{$name}-node-expanded.#{$name}-node-drag-top { + .#{$name}-connectors .#{$name}-node-drag-top, + .#{$name}-connectors .#{$name}-node-expanded.#{$name}-node-drag-top { background-position: 2px -53px; } - .#{$name}-node-drag-top.#{$name}-node-leaf { + .#{$name}-connectors .#{$name}-node-drag-top.#{$name}-node-leaf { background-position: 2px 50%; } -} + }
\ No newline at end of file |