forked from olton/metroui
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtreeview.less
More file actions
96 lines (85 loc) · 1.77 KB
/
Copy pathtreeview.less
File metadata and controls
96 lines (85 loc) · 1.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
.treeview {
background-color: #fdfdfd;
color: @gray;
display: block;
list-style: none;
margin: 0;
padding: 0;
ul {
color: @gray;
display: block;
list-style: none;
margin: 0;
padding: 0;
li {
a {
padding: 0 0 0 15px;
}
}
}
a {
font-size: 12px;
color: inherit;
display: block;
}
.node {
& > a {
margin-bottom: 5px;
padding: 0 0 0 15px;
font-size: 12px;
position: relative;
color: #000;
white-space: nowrap;
text-overflow: ellipsis;
}
&:not(:first-child) {
margin-top: 0;
}
}
.node-toggle {
display: inline-block;
position: relative;
float: left;
margin-right: 3px;
width: 10px;
height: 10px;
&:before {
position: absolute;
display: block;
left: 2px;
top: 0;
content: '';
width: 0;
height: 0;
border-left: 7px solid transparent;
border-top: 7px solid transparent;
border-bottom: 7px @dark solid;
}
&:hover {
&:before {
border-bottom-color: @cobalt;
}
}
}
li.collapsed {
.node-toggle:before {
.rotate(-45deg);
margin-left: -4px;
}
}
li {
a:hover {
background-color: @lwListBackgroundHoverColor;
}
}
.active {
background-color: #e1e1e1;
font-weight: bold;
color: @dark;
}
a {
.value {
color: #0067cb;
}
}
}