-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy patheasyTree.css
121 lines (99 loc) · 2.22 KB
/
easyTree.css
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
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
/** Easy Tree style */
.easy-tree {
min-height: 20px;
margin-bottom: 20px;
background-color: #333;
color: #fff;
border: none;
border-top: none;
padding-bottom: 15px;
text-align: left;
}
.easy-tree > ul {
padding-left: 15px;
}
.easy-tree li {
list-style-type: none;
margin: 0;
padding: 10px 5px 0 5px;
position: relative
}
.easy-tree li::before, .easy-tree li::after {
content: '';
left: -30px;
position: absolute;
right: auto
}
.easy-tree li::before {
border-left: 1px solid #fff;
bottom: 50px;
height: 100%;
top: 0;
width: 1px
}
.easy-tree li::after {
border-top: 1px solid #fff;
height: 20px;
top: 25px;
width: 35px
}
.easy-tree li > span {
border: 1px solid #fff;
border-radius: 3px;
display: inline-block;
padding: 5px;
text-decoration: none
}
.easy-tree li.parent_li > span {
cursor: pointer
}
.easy-tree > ul > li::before, .easy-tree > ul > li::after {
border: 0
}
.easy-tree li:last-child::before {
height: 25px
}
.easy-tree li.parent_li > span:hover, .easy-tree li.parent_li > span:hover + ul li span {
background: #337ab7;
color: #fff;
}
.easy-tree li.parent_li > span:hover + ul li.li_selected span {
background: #286090;
color: #fff;
}
.easy-tree li > span > a {
color: #fff;
text-decoration: none;
}
.easy-tree li > span > span.glyphicon-folder-close, .easy-tree li > span > span.glyphicon-folder-open {
margin-right: 5px;
}
.easy-tree li.li_selected > span, .easy-tree li.li_selected > span > a {
background: #337ab7;
color: #fff;
}
.easy-tree li.li_selected > span:hover, .easy-tree li.li_selected > span:hover > a {
background: #286090;
color: #fff;
}
.easy-tree .easy-tree-toolbar {
background-color: #fff;
}
.easy-tree .easy-tree-toolbar > div {
display: inline-block;
}
.easy-tree .easy-tree-toolbar > div > button {
border-radius: 0;
margin: 20px 5px;
}
.easy-tree .easy-tree-toolbar .create .input-group {
top: -15px;
margin-left: 5px;
margin-right: 5px;
}
.easy-tree .easy-tree-toolbar .create .input-group input {
border-radius: 0;
}
.easy-tree .easy-tree-toolbar .create .input-group button {
border-radius: 0;
}