-
Notifications
You must be signed in to change notification settings - Fork 0
/
hierarchical-checkboxes.css
75 lines (70 loc) · 1.83 KB
/
hierarchical-checkboxes.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
/* --> Generic hierarcy checkbox fields*/
.hierarchy-checkboxes{
float: left;
width: 200px;
border: 1px solid transparent;
}
input.hierarchy-root-checkbox[type=checkbox]{
float: left;
margin: 6px 5px 0 5px;
}
label.hierarchy-root-label{
font-weight: normal;
padding: 3px;
margin: 0;
}
label.hierarchy-root-label:hover,
.hierarchy-root-child .hierarchy-label:hover{
background: #eee;
}
.hierarchy-checkboxes.child-expanded{
border: 1px solid #ccc;
border-bottom: none;
}
.hierarchy-root-child{
position: absolute;
display: none;
border: 1px solid #ccc;
width: 200px;
z-index: 55;
background: #fff;
border-top: none;
}
.hierarchy-root-child .hierarchy-node{
clear: both;
display: block;
padding-left: 8px;
background: url("dashed-line-vertical.gif") repeat-y scroll left top rgba(0, 0, 0, 0);
margin-left: 9px;
}
.hierarchy-root-child .hierarchy-label{
background: url("dashed-line-horizontal.gif") no-repeat scroll 13px 12px rgba(0, 0, 0, 0);
margin: 0 0 0 -20px;
font-weight: normal;
padding-top: 5px;
display:block;
}
.hierarchy-checkboxes .expand-collapse-button,
.hierarchy-root-child .hierarchy-node .expand-collapse-button{
display:block;
content:" ";
float:left;
background: url("expand.png") no-repeat scroll 0 4px transparent;
width:16px;
height:16px;
margin-top: 1px;
}
.hierarchy-checkboxes.child-expanded .expand-collapse-button,
.hierarchy-root-child .hierarchy-node.child-expanded >.expand-collapse-button{
background: url("collapse.png") no-repeat scroll 0 4px transparent;
}
.hierarchy-root-child .hierarchy-node.leaf .expand-collapse-button{
background:none;
width:6px;
}
.hierarchy-root-child input[type=checkbox]{
float: left;
margin: 3px;
margin-top: 8px;
}
/* <-- Generic hierarcy checkbox fields*/