Mercurial > repos > mingchen0919 > aurora_star_site
comparison vakata-jstree-3.3.5/src/themes/responsive.less @ 0:c12e291895ff draft
planemo upload commit 104ae24ee30761a0099eeb91362ed1e3e13aba4b
author | mingchen0919 |
---|---|
date | Tue, 01 May 2018 10:45:22 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
-1:000000000000 | 0:c12e291895ff |
---|---|
1 @media (max-width: 768px) { | |
2 // background image | |
3 .jstree-icon { background-image:url("@{image-path}@{base-height}.png"); } | |
4 | |
5 .jstree-node, | |
6 .jstree-leaf > .jstree-ocl { background:transparent; } | |
7 | |
8 .jstree-node { min-height:@base-height; line-height:@base-height; margin-left:@base-height; min-width:@base-height; white-space:nowrap; } | |
9 .jstree-anchor { line-height:@base-height; height:@base-height; } | |
10 .jstree-icon, .jstree-icon:empty { width:@base-height; height:@base-height; line-height:@base-height; } | |
11 | |
12 > .jstree-container-ul > .jstree-node { margin-left:0; } | |
13 &.jstree-rtl .jstree-node { margin-left:0; margin-right:@base-height; background:transparent; } | |
14 &.jstree-rtl .jstree-container-ul > .jstree-node { margin-right:0; } | |
15 | |
16 .jstree-ocl, | |
17 .jstree-themeicon, | |
18 .jstree-checkbox { background-size:(@base-height * 3) (@base-height * 6); } | |
19 .jstree-leaf > .jstree-ocl, | |
20 &.jstree-rtl .jstree-leaf > .jstree-ocl { background:transparent; } | |
21 .jstree-open > .jstree-ocl { background-position:0 0px !important; } | |
22 .jstree-closed > .jstree-ocl { background-position:0 -(@base-height * 1) !important; } | |
23 &.jstree-rtl .jstree-closed > .jstree-ocl { background-position:-(@base-height * 1) 0px !important; } | |
24 | |
25 .jstree-themeicon { background-position:-(@base-height * 1) -(@base-height * 1); } | |
26 | |
27 .jstree-checkbox, .jstree-checkbox:hover { background-position:-(@base-height * 1) -(@base-height * 2); } | |
28 &.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox, | |
29 &.jstree-checkbox-selection .jstree-clicked > .jstree-checkbox:hover, | |
30 .jstree-checked > .jstree-checkbox, | |
31 .jstree-checked > .jstree-checkbox:hover { background-position:0 -(@base-height * 2); } | |
32 .jstree-anchor > .jstree-undetermined, .jstree-anchor > .jstree-undetermined:hover { background-position:0 -(@base-height * 3); } | |
33 | |
34 .jstree-anchor { font-weight:bold; font-size:1.1em; text-shadow:1px 1px white; } | |
35 | |
36 > .jstree-striped { background:transparent; } | |
37 .jstree-wholerow { border-top:1px solid @mobile-wholerow-bordert; border-bottom:1px solid @mobile-wholerow-borderb; background:@mobile-wholerow-bg-color; height:@base-height; } | |
38 .jstree-wholerow-hovered { background:@hovered-bg-color; } | |
39 .jstree-wholerow-clicked { background:@clicked-bg-color; } | |
40 | |
41 // thanks to PHOTONUI | |
42 .jstree-children .jstree-last > .jstree-wholerow { box-shadow: inset 0 -6px 3px -5px @mobile-wholerow-shadow; } | |
43 .jstree-children .jstree-open > .jstree-wholerow { box-shadow: inset 0 6px 3px -5px @mobile-wholerow-shadow; border-top:0; } | |
44 .jstree-children .jstree-open + .jstree-open { box-shadow:none; } | |
45 | |
46 // experiment | |
47 .jstree-node, | |
48 .jstree-icon, | |
49 .jstree-node > .jstree-ocl, | |
50 .jstree-themeicon, | |
51 .jstree-checkbox { background-image:url("@{image-path}@{base-height}.png"); background-size:(@base-height * 3) (@base-height * 6); } | |
52 | |
53 .jstree-node { background-position:-(@base-height * 2) 0; background-repeat:repeat-y; } | |
54 .jstree-last { background:transparent; } | |
55 .jstree-leaf > .jstree-ocl { background-position:-(@base-height * 1) -(@base-height * 3); } | |
56 .jstree-last > .jstree-ocl { background-position:-(@base-height * 1) -(@base-height * 4); } | |
57 /* | |
58 .jstree-open > .jstree-ocl, | |
59 .jstree-closed > .jstree-ocl { border-radius:20px; background-color:white; } | |
60 */ | |
61 | |
62 .jstree-themeicon-custom { background-color:transparent; background-image:none; background-position:0 0; } | |
63 .jstree-file { background:url("@{image-path}@{base-height}.png") 0 -(@base-height * 4) no-repeat; background-size:(@base-height * 3) (@base-height * 6); } | |
64 .jstree-folder { background:url("@{image-path}@{base-height}.png") -(@base-height * 1) -(@base-height * 1) no-repeat; background-size:(@base-height * 3) (@base-height * 6); } | |
65 | |
66 > .jstree-container-ul > .jstree-node { margin-left:0; margin-right:0; } | |
67 } |