mirror of
https://github.com/Luzifer/share.git
synced 2024-12-26 05:21:19 +00:00
58 lines
1.2 KiB
CSS
58 lines
1.2 KiB
CSS
|
/* https://github.com/jzaefferer/jquery-treeview/blob/master/jquery.treeview.css */
|
||
|
/* License: MIT. */
|
||
|
.treeview, .treeview ul {
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
list-style: none;
|
||
|
}
|
||
|
|
||
|
.treeview ul {
|
||
|
background-color: white;
|
||
|
margin-top: 4px;
|
||
|
}
|
||
|
|
||
|
.treeview .hitarea {
|
||
|
height: 16px;
|
||
|
width: 16px;
|
||
|
margin-left: -16px;
|
||
|
float: left;
|
||
|
cursor: pointer;
|
||
|
}
|
||
|
/* fix for IE6 */
|
||
|
* html .hitarea {
|
||
|
display: inline;
|
||
|
float:none;
|
||
|
}
|
||
|
|
||
|
.treeview li {
|
||
|
margin: 0;
|
||
|
padding: 3px 0pt 3px 16px;
|
||
|
}
|
||
|
|
||
|
.treeview a.selected {
|
||
|
background-color: #eee;
|
||
|
}
|
||
|
|
||
|
#treecontrol { margin: 1em 0; display: none; }
|
||
|
|
||
|
.treeview .hover { color: red; cursor: pointer; }
|
||
|
|
||
|
.treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
|
||
|
|
||
|
.treeview .expandable-hitarea { background-position: -80px -3px; }
|
||
|
|
||
|
.treeview li.last { background-position: 0 -1766px }
|
||
|
.treeview li.lastCollapsable { background-position: 0 -111px }
|
||
|
.treeview li.lastExpandable { background-position: -32px -67px }
|
||
|
|
||
|
.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
|
||
|
|
||
|
.treeview .placeholder {
|
||
|
height: 16px;
|
||
|
width: 16px;
|
||
|
display: block;
|
||
|
}
|
||
|
|
||
|
.filetree li { padding: 3px 0 2px 16px; }
|
||
|
.filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; }
|