Mercurial > repos > mingchen0919 > aurora_htseq_site
comparison vakata-jstree-3.3.5/src/themes/main.less @ 0:dcf65671e56a draft
planemo upload commit 841d8b22bf9f1aaed6bfe8344b60617f45b275b2-dirty
author | mingchen0919 |
---|---|
date | Sun, 30 Dec 2018 12:52:51 -0500 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:dcf65671e56a |
---|---|
1 .jstree-@{theme-name} { | |
2 .jstree-node, | |
3 .jstree-icon { background-repeat:no-repeat; background-color:transparent; } | |
4 .jstree-anchor, | |
5 .jstree-animated, | |
6 .jstree-wholerow { transition:background-color 0.15s, box-shadow 0.15s; } | |
7 .jstree-hovered { background:@hovered-bg-color; border-radius:2px; box-shadow:inset 0 0 1px @hovered-shadow-color; } | |
8 .jstree-context { background:@hovered-bg-color; border-radius:2px; box-shadow:inset 0 0 1px @hovered-shadow-color; } | |
9 .jstree-clicked { background:@clicked-bg-color; border-radius:2px; box-shadow:inset 0 0 1px @clicked-shadow-color; } | |
10 .jstree-no-icons .jstree-anchor > .jstree-themeicon { display:none; } | |
11 .jstree-disabled { | |
12 background:transparent; color:@disabled-color; | |
13 &.jstree-hovered { background:transparent; box-shadow:none; } | |
14 &.jstree-clicked { background:@disabled-bg-color; } | |
15 > .jstree-icon { opacity:0.8; filter: url("data:image/svg+xml;utf8,<svg xmlns=\'http://www.w3.org/2000/svg\'><filter id=\'jstree-grayscale\'><feColorMatrix type=\'matrix\' values=\'0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0.3333 0.3333 0.3333 0 0 0 0 0 1 0\'/></filter></svg>#jstree-grayscale"); /* Firefox 10+ */ filter: gray; /* IE6-9 */ -webkit-filter: grayscale(100%); /* Chrome 19+ & Safari 6+ */ } | |
16 } | |
17 // search | |
18 .jstree-search { font-style:italic; color:@search-result-color; font-weight:bold; } | |
19 // checkboxes | |
20 .jstree-no-checkboxes .jstree-checkbox { display:none !important; } | |
21 &.jstree-checkbox-no-clicked { | |
22 .jstree-clicked { | |
23 background:transparent; | |
24 box-shadow:none; | |
25 &.jstree-hovered { background:@hovered-bg-color; } | |
26 } | |
27 > .jstree-wholerow-ul .jstree-wholerow-clicked { | |
28 background:transparent; | |
29 &.jstree-wholerow-hovered { background:@hovered-bg-color; } | |
30 } | |
31 } | |
32 // stripes | |
33 > .jstree-striped { min-width:100%; display:inline-block; background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAMAAAB/qqA+AAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMNAMM9s3UAAAAXSURBVHjajcEBAQAAAIKg/H/aCQZ70AUBjAATb6YPDgAAAABJRU5ErkJggg==") left top repeat; } | |
34 // wholerow | |
35 > .jstree-wholerow-ul .jstree-hovered, | |
36 > .jstree-wholerow-ul .jstree-clicked { background:transparent; box-shadow:none; border-radius:0; } | |
37 .jstree-wholerow { -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; } | |
38 .jstree-wholerow-hovered { background:@hovered-bg-color; } | |
39 .jstree-wholerow-clicked { .gradient(@clicked-gradient-color-1, @clicked-gradient-color-2); } | |
40 } | |
41 | |
42 // theme variants | |
43 .jstree-@{theme-name} { | |
44 .jstree-theme(24px, "@{image-path}32px.png", 32px); | |
45 &.jstree-rtl .jstree-node { background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); } | |
46 &.jstree-rtl .jstree-last { background:transparent; } | |
47 } | |
48 .jstree-@{theme-name}-small { | |
49 .jstree-theme(18px, "@{image-path}32px.png", 32px); | |
50 &.jstree-rtl .jstree-node { background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg=="); } | |
51 &.jstree-rtl .jstree-last { background:transparent; } | |
52 } | |
53 .jstree-@{theme-name}-large { | |
54 .jstree-theme(32px, "@{image-path}32px.png", 32px); | |
55 &.jstree-rtl .jstree-node { background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg=="); } | |
56 &.jstree-rtl .jstree-last { background:transparent; } | |
57 } | |
58 | |
59 // mobile theme attempt | |
60 @media (max-width: 768px) { | |
61 #jstree-dnd.jstree-dnd-responsive when (@responsive = true) { | |
62 line-height:@base-height; font-weight:bold; font-size:1.1em; text-shadow:1px 1px white; | |
63 > i { background:transparent; width:@base-height; height:@base-height; } | |
64 > .jstree-ok { background-image:url("@{image-path}@{base-height}.png"); background-position:0 -(@base-height * 5); background-size:(@base-height * 3) (@base-height * 6); } | |
65 > .jstree-er { background-image:url("@{image-path}@{base-height}.png"); background-position:-(@base-height * 1) -(@base-height * 5); background-size:(@base-height * 3) (@base-height * 6); } | |
66 } | |
67 #jstree-marker.jstree-dnd-responsive when (@responsive = true) { | |
68 border-left-width:10px; | |
69 border-top-width:10px; | |
70 border-bottom-width:10px; | |
71 margin-top:-10px; | |
72 } | |
73 } | |
74 | |
75 .jstree-@{theme-name}-responsive when (@responsive = true) { | |
76 @import "responsive.less"; | |
77 } |