summaryrefslogtreecommitdiffstats
path: root/WebContent/VAADIN/themes/runo/tree/tree.scss
diff options
context:
space:
mode:
Diffstat (limited to 'WebContent/VAADIN/themes/runo/tree/tree.scss')
-rw-r--r--WebContent/VAADIN/themes/runo/tree/tree.scss61
1 files changed, 61 insertions, 0 deletions
diff --git a/WebContent/VAADIN/themes/runo/tree/tree.scss b/WebContent/VAADIN/themes/runo/tree/tree.scss
new file mode 100644
index 0000000000..cb3dff3156
--- /dev/null
+++ b/WebContent/VAADIN/themes/runo/tree/tree.scss
@@ -0,0 +1,61 @@
+@mixin runo-tree {
+
+.v-tree-node {
+ background: transparent url(img/collapsed.png) no-repeat 2px 1px;
+}
+.v-tree-node-expanded {
+ background: transparent url(img/expanded.png) no-repeat 2px 1px;
+}
+.v-tree-node-caption {
+ margin-left: 18px;
+}
+.v-tree-connectors .v-tree-node-caption {
+ padding-bottom: 1px;
+}
+.v-tree-node-caption .v-icon {
+ margin: 0 2px 0 -2px;
+}
+.v-tree-node-caption span {
+ padding: 0 1px;
+}
+.v-tree-node-selected span {
+ background: #57a7ed;
+ color: #fff;
+ padding: 1px 2px 0;
+ display: inline-block;
+ zoom: 1;
+ margin: -1px -1px 0;
+ -webkit-border-radius: 2px;
+ -moz-border-radius: 2px;
+ border-radius: 2px;
+}
+.v-tree-node-children {
+ padding-left: 16px;
+}
+.v-tree{
+ outline:none;
+}
+.v-tree-node-caption.v-tree-node-focused span{
+ padding-left: 1px;
+ padding-top: 0px;
+ padding-bottom: 0px;
+}
+.v-tree-node-focused span{
+ border: 1px dotted black;
+}
+/***************************************
+ * Drag'n'drop styles
+ ***************************************/
+.v-tree .v-tree-node-drag-top,
+.v-tree .v-tree-node-drag-top.v-tree-node-expanded {
+ background-position: 2px 0;
+}
+.v-tree-connectors .v-tree-node-drag-top,
+.v-tree-connectors .v-tree-node-expanded.v-tree-node-drag-top {
+ background-position: 2px -53px;
+}
+.v-tree-connectors .v-tree-node-drag-top.v-tree-node-leaf {
+ background-position: 2px 50%;
+}
+
+} \ No newline at end of file