Subversion-Projekte lars-tiefland.ci

Revision

Details | Letzte Änderung | Log anzeigen | RSS feed

Revision Autor Zeilennr. Zeile
875 lars 1
.jstree-@{theme-name} {
2
	.jstree-node,
3
	.jstree-icon { background-repeat:no-repeat; background-color:transparent; }
4
	.jstree-anchor,
5
	.jstree-wholerow { transition:background-color 0.15s, box-shadow 0.15s; }
6
	.jstree-hovered { background:@hovered-bg-color; border-radius:2px; box-shadow:inset 0 0 1px @hovered-shadow-color; }
7
	.jstree-clicked { background:@clicked-bg-color; border-radius:2px; box-shadow:inset 0 0 1px @clicked-shadow-color; }
8
	.jstree-no-icons .jstree-anchor > .jstree-themeicon { display:none; }
9
	.jstree-disabled {
10
		background:transparent; color:@disabled-color;
11
		&.jstree-hovered { background:transparent; box-shadow:none; }
12
		&.jstree-clicked { background:@disabled-bg-color; }
13
		> .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+ */ }
14
	}
15
	// search
16
	.jstree-search { font-style:italic; color:@search-result-color; font-weight:bold; }
17
	// checkboxes
18
	.jstree-no-checkboxes .jstree-checkbox { display:none !important; }
19
	&.jstree-checkbox-no-clicked {
20
		.jstree-clicked {
21
			background:transparent;
22
			box-shadow:none;
23
			&.jstree-hovered { background:@hovered-bg-color; }
24
		}
25
		> .jstree-wholerow-ul .jstree-wholerow-clicked {
26
			background:transparent;
27
			&.jstree-wholerow-hovered { background:@hovered-bg-color; }
28
		}
29
	}
30
	// stripes
31
	> .jstree-striped { min-width:100%; display:inline-block; background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAAkCAMAAAB/qqA+AAAABlBMVEUAAAAAAAClZ7nPAAAAAnRSTlMNAMM9s3UAAAAXSURBVHjajcEBAQAAAIKg/H/aCQZ70AUBjAATb6YPDgAAAABJRU5ErkJggg==") left top repeat; }
32
	// wholerow
33
	> .jstree-wholerow-ul .jstree-hovered,
34
	> .jstree-wholerow-ul .jstree-clicked { background:transparent; box-shadow:none; border-radius:0; }
35
	.jstree-wholerow { -moz-box-sizing:border-box; -webkit-box-sizing:border-box; box-sizing:border-box; }
36
	.jstree-wholerow-hovered { background:@hovered-bg-color; }
37
	.jstree-wholerow-clicked { .gradient(@clicked-gradient-color-1, @clicked-gradient-color-2); }
38
}
39
 
40
// theme variants
41
.jstree-@{theme-name} {
42
	.jstree-theme(24px, "@{image-path}32px.png", 32px);
43
	&.jstree-rtl .jstree-node { background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAACAQMAAAB49I5GAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMOBgAAGAAJMwQHdQAAAABJRU5ErkJggg=="); }
44
	&.jstree-rtl .jstree-last { background:transparent; }
45
}
46
.jstree-@{theme-name}-small {
47
	.jstree-theme(18px, "@{image-path}32px.png", 32px);
48
	&.jstree-rtl .jstree-node { background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABIAAAACAQMAAABv1h6PAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjAAMHBgAAiABBI4gz9AAAAABJRU5ErkJggg=="); }
49
	&.jstree-rtl .jstree-last { background:transparent; }
50
}
51
.jstree-@{theme-name}-large {
52
	.jstree-theme(32px, "@{image-path}32px.png", 32px);
53
	&.jstree-rtl .jstree-node { background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAACAQMAAAAD0EyKAAAABlBMVEUAAAAdHRvEkCwcAAAAAXRSTlMAQObYZgAAAAxJREFUCNdjgIIGBgABCgCBvVLXcAAAAABJRU5ErkJggg=="); }
54
	&.jstree-rtl .jstree-last { background:transparent; }
55
}
56
 
57
// mobile theme attempt
58
@media (max-width: 768px) {
59
	#jstree-dnd.jstree-dnd-responsive when (@responsive = true) {
60
		line-height:@base-height; font-weight:bold; font-size:1.1em; text-shadow:1px 1px white;
61
		> i { background:transparent; width:@base-height; height:@base-height; }
62
		> .jstree-ok { background-image:url("@{image-path}@{base-height}.png"); background-position:0 -(@base-height * 5); background-size:(@base-height * 3) (@base-height * 6); }
63
		> .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); }
64
	}
65
	#jstree-marker.jstree-dnd-responsive when (@responsive = true) {
66
		border-left-width:10px;
67
		border-top-width:10px;
68
		border-bottom-width:10px;
69
		margin-top:-10px;
70
	}
71
}
72
 
73
.jstree-@{theme-name}-responsive when (@responsive = true) {
74
	@import "responsive.less";
75
}