78 lines
1.7 KiB
CSS
78 lines
1.7 KiB
CSS
.checktree, .checktree * {
|
|
list-style-type: none;
|
|
margin: 0;
|
|
padding: 0;
|
|
}
|
|
|
|
.checktree ul {
|
|
margin-top: 5px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
.checktree li {
|
|
float: left;
|
|
padding: 3px 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.checktree li label {
|
|
vertical-align: middle;
|
|
cursor: pointer;
|
|
padding: 4px 0 2px 0;
|
|
font-size: 14px;
|
|
line-height: 15px;
|
|
float: left;
|
|
}
|
|
|
|
.checktree li .arrow {
|
|
width: 14px;
|
|
height: 14px;
|
|
margin: 5px 8px 0;
|
|
cursor: pointer;
|
|
float: left;
|
|
}
|
|
|
|
.checktree li .collapsed {
|
|
background: url(../img/checktree_icon.png) no-repeat;
|
|
background-position: 0px -22px;
|
|
}
|
|
|
|
.checktree li .expanded {
|
|
background: url(../img/checktree_icon.png) no-repeat;
|
|
background-position: -14px -22px;
|
|
}
|
|
|
|
.checktree li .checkbox {
|
|
width: 18px;
|
|
height: 18px;
|
|
cursor: pointer;
|
|
float: left;
|
|
background: url(../img/checktree_icon.png) no-repeat;
|
|
background-position: 1px 0;
|
|
margin-right: 7px;
|
|
}
|
|
|
|
.checktree li .checked {
|
|
background-position: -15px 0;
|
|
}
|
|
|
|
.checktree li .half_checked {
|
|
background-position: -31px 0;
|
|
}
|
|
|
|
.checktree li li .arrow {
|
|
margin-left: 24px;
|
|
}
|
|
|
|
.checktree li li li .arrow {
|
|
margin-left: 48px;
|
|
}
|
|
|
|
.checktree li li li li .arrow {
|
|
margin-left: 72px;
|
|
}
|
|
|
|
.checktree li li li li li .arrow {
|
|
margin-left: 96px;
|
|
}
|