causeway-standard-theme
Version:
120 lines (117 loc) • 2.25 kB
text/less
.tree-list {
&:after {
content: '';
display: block;
height: 0;
clear: both;
}
}
.tree-list-content {
border: 1px solid @blue-grey1;
> ul {
> li {
background-color: @blue-grey1;
}
}
overflow: hidden;
.checkbox, .tristate {
display: inline-block;
height: 18px;
vertical-align: middle;
&.form-group {
margin-right: 10px;
}
.hidden-checkbox {
left: 0;
}
}
li {
display: inline-block;
&.jqtree-folder {
display: list-item;
}
&.no-children {
width: 24%;
}
}
ul {
&.jqtree-tree {
.jqtree-toggler {
display: inline-block;
height: 18px;
width: 12px;
text-align: center;
margin-right: 15px;
.noselect;
color: transparent;
font-family: 'CausewayGlyphicons';
.font-size(8);
position: relative;
&:before {
content: "\e80B";
color: @black080;
position: absolute;
display: block;
width: 8px;
height: 6px;
top: 50%;
left: 50%;
margin-left: -6px;
margin-top: -3px;
line-height: 1;
}
&.jqtree-closed{
&:before {
content: "\e80D";
height: 8px;
line-height: normal;
margin-top: -4px;
}
}
}
.jqtree-title {
margin-left: 0;
line-height: 18px;
}
li {
&.jqtree-folder {
margin-bottom: 1px;
&:last-child {
margin-bottom: 0;
}
}
}
ul {
&.jqtree_common {
margin-left: -200px;
padding-left: 212px;
border-top: 1px solid @white;
background-color: @blue-grey2;
}
&.no-children {
background-color: @white;
}
}
}
}
.jqtree-element {
height: 28px;
padding: 5px;
}
.checkbox {
&.partial {
input[type='checkbox'] {
& + label {
.checkbox-icon {
background-position: 0 -36px;
}
}
}
}
}
}
.tree-list-buttons {
float: right;
margin-top: 20px;
margin-bottom: 20px;
}