corrade-nucleus-nucleons – Blame information for rev 20
?pathlinks?
Rev | Author | Line No. | Line |
---|---|---|---|
20 | office | 1 | .gradient (@color1; @color2) { |
2 | background:@color1; |
||
3 | background: -webkit-linear-gradient(top, @color1 0%,@color2 100%); |
||
4 | background: linear-gradient(to bottom, @color1 0%,@color2 100%); |
||
5 | } |
||
6 | |||
7 | .jstree-theme (@base-height, @image, @image-height) { |
||
8 | @correction: (@image-height - @base-height) / 2; |
||
9 | |||
10 | .jstree-node { min-height:@base-height; line-height:@base-height; margin-left:@base-height; min-width:@base-height; } |
||
11 | .jstree-anchor { line-height:@base-height; height:@base-height; } |
||
12 | .jstree-icon { width:@base-height; height:@base-height; line-height:@base-height; } |
||
13 | .jstree-icon:empty { width:@base-height; height:@base-height; line-height:@base-height; } |
||
14 | &.jstree-rtl .jstree-node { margin-right:@base-height; } |
||
15 | .jstree-wholerow { height:@base-height; } |
||
16 | |||
17 | .jstree-node, |
||
18 | .jstree-icon { background-image:url("@{image}"); } |
||
19 | .jstree-node { background-position:-(@image-height * 9 + @correction) -@correction; background-repeat:repeat-y; } |
||
20 | .jstree-last { background:transparent; } |
||
21 | |||
22 | .jstree-open > .jstree-ocl { background-position:-(@image-height * 4 + @correction) -@correction; } |
||
23 | .jstree-closed > .jstree-ocl { background-position:-(@image-height * 3 + @correction) -@correction; } |
||
24 | .jstree-leaf > .jstree-ocl { background-position:-(@image-height * 2 + @correction) -@correction; } |
||
25 | |||
26 | .jstree-themeicon { background-position:-(@image-height * 8 + @correction) -@correction; } |
||
27 | |||
28 | > .jstree-no-dots { |
||
29 | .jstree-node, |
||
30 | .jstree-leaf > .jstree-ocl { background:transparent; } |
||
31 | .jstree-open > .jstree-ocl { background-position:-(@image-height * 1 + @correction) -@correction; } |
||
32 | .jstree-closed > .jstree-ocl { background-position:-@correction -@correction; } |
||
33 | } |
||
34 | |||
35 | .jstree-disabled { |
||
36 | background:transparent; |
||
37 | &.jstree-hovered { |
||
38 | background:transparent; |
||
39 | } |
||
40 | &.jstree-clicked { |
||
41 | background:#efefef; |
||
42 | } |
||
43 | } |
||
44 | |||
45 | .jstree-checkbox { |
||
46 | background-position:-(@image-height * 5 + @correction) -@correction; |
||
47 | &:hover { background-position:-(@image-height * 5 + @correction) -(@image-height * 1 + @correction); } |
||
48 | } |
||
49 | |||
50 | &.jstree-checkbox-selection .jstree-clicked, .jstree-checked { |
||
51 | > .jstree-checkbox { |
||
52 | background-position:-(@image-height * 7 + @correction) -@correction; |
||
53 | &:hover { background-position:-(@image-height * 7 + @correction) -(@image-height * 1 + @correction); } |
||
54 | } |
||
55 | } |
||
56 | .jstree-anchor { |
||
57 | > .jstree-undetermined { |
||
58 | background-position:-(@image-height * 6 + @correction) -@correction; |
||
59 | &:hover { |
||
60 | background-position:-(@image-height * 6 + @correction) -(@image-height * 1 + @correction); |
||
61 | } |
||
62 | } |
||
63 | } |
||
64 | .jstree-checkbox-disabled { 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+ */ } |
||
65 | |||
66 | > .jstree-striped { background-size:auto (@base-height * 2); } |
||
67 | |||
68 | &.jstree-rtl { |
||
69 | .jstree-node { background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); background-position: 100% 1px; background-repeat:repeat-y; } |
||
70 | .jstree-last { background:transparent; } |
||
71 | .jstree-open > .jstree-ocl { background-position:-(@image-height * 4 + @correction) -(@image-height * 1 + @correction); } |
||
72 | .jstree-closed > .jstree-ocl { background-position:-(@image-height * 3 + @correction) -(@image-height * 1 + @correction); } |
||
73 | .jstree-leaf > .jstree-ocl { background-position:-(@image-height * 2 + @correction) -(@image-height * 1 + @correction); } |
||
74 | > .jstree-no-dots { |
||
75 | .jstree-node, |
||
76 | .jstree-leaf > .jstree-ocl { background:transparent; } |
||
77 | .jstree-open > .jstree-ocl { background-position:-(@image-height * 1 + @correction) -(@image-height * 1 + @correction); } |
||
78 | .jstree-closed > .jstree-ocl { background-position:-@correction -(@image-height * 1 + @correction); } |
||
79 | } |
||
80 | } |
||
81 | .jstree-themeicon-custom { background-color:transparent; background-image:none; background-position:0 0; } |
||
82 | |||
83 | > .jstree-container-ul .jstree-loading > .jstree-ocl { background:url("@{image-path}throbber.gif") center center no-repeat; } |
||
84 | |||
85 | .jstree-file { background:url("@{image}") -(@image-height * 3 + @correction) -(@image-height * 2 + @correction) no-repeat; } |
||
86 | .jstree-folder { background:url("@{image}") -(@image-height * 8 + @correction) -(@correction) no-repeat; } |
||
87 | |||
88 | > .jstree-container-ul > .jstree-node { margin-left:0; margin-right:0; } |
||
89 | |||
90 | // drag'n'drop |
||
91 | #jstree-dnd& { |
||
92 | line-height:@base-height; padding:0 4px; |
||
93 | .jstree-ok, |
||
94 | .jstree-er { background-image:url("@{image-path}32px.png"); background-repeat:no-repeat; background-color:transparent; } |
||
95 | i { background:transparent; width:@base-height; height:@base-height; line-height:@base-height; } |
||
96 | .jstree-ok { background-position: -(@correction) -(@image-height * 2 + @correction); } |
||
97 | .jstree-er { background-position: -(@image-height * 1 + @correction) -(@image-height * 2 + @correction); } |
||
98 | } |
||
99 | |||
100 | // ellipsis |
||
101 | .jstree-ellipsis { overflow: hidden; } |
||
102 | // base height + PADDINGS! |
||
103 | .jstree-ellipsis .jstree-anchor { width: calc(100% ~"-" (@base-height + 5px)); text-overflow: ellipsis; overflow: hidden; } |
||
104 | .jstree-ellipsis.jstree-no-icons .jstree-anchor { width: calc(100% ~"-" 5px); } |
||
105 | } |