Valentin Pavlov Valchev | ec44842 | 2010-03-22 06:52:06 +0000 | [diff] [blame] | 1 | .treeview, .treeview ul {
|
| 2 | padding: 0;
|
| 3 | margin: 0;
|
| 4 | list-style: none;
|
| 5 | }
|
| 6 |
|
| 7 | .treeview ul {
|
| 8 | background-color: white;
|
| 9 | margin-top: 4px;
|
| 10 | }
|
| 11 |
|
| 12 | .treeview .hitarea {
|
| 13 | background: url(images/treeview-default.gif) -64px -25px no-repeat;
|
| 14 | height: 16px;
|
| 15 | width: 16px;
|
| 16 | margin-left: -16px;
|
| 17 | float: left;
|
| 18 | cursor: pointer;
|
| 19 | }
|
| 20 | /* fix for IE6 */
|
| 21 | * html .hitarea {
|
| 22 | display: inline;
|
| 23 | float:none;
|
| 24 | }
|
| 25 |
|
| 26 | .treeview li {
|
| 27 | margin: 0;
|
| 28 | padding: 3px 0pt 3px 16px;
|
| 29 | }
|
| 30 |
|
| 31 | .treeview a.selected {
|
| 32 | background-color: #eee;
|
| 33 | }
|
| 34 |
|
| 35 | #treecontrol { margin: 1em 0; display: none; }
|
| 36 |
|
| 37 | .treeview .hover { color: red; cursor: pointer; }
|
| 38 |
|
| 39 | .treeview li { background: url(images/treeview-default-line.gif) 0 0 no-repeat; }
|
| 40 | .treeview li.collapsable, .treeview li.expandable { background-position: 0 -176px; }
|
| 41 |
|
| 42 | .treeview .expandable-hitarea { background-position: -80px -3px; }
|
| 43 |
|
| 44 | .treeview li.last { background-position: 0 -1766px }
|
| 45 | .treeview li.lastCollapsable, .treeview li.lastExpandable { background-image: url(images/treeview-default.gif); }
|
| 46 | .treeview li.lastCollapsable { background-position: 0 -111px }
|
| 47 | .treeview li.lastExpandable { background-position: -32px -67px }
|
| 48 |
|
| 49 | .treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }
|
| 50 |
|
| 51 |
|
| 52 | .filetree li { padding: 3px 0 2px 16px; }
|
| 53 | .filetree span.folder, .filetree span.file { padding: 1px 0 1px 16px; display: block; }
|
| 54 | .filetree span.folder { background: url(images/folder.gif) 0 0 no-repeat; }
|
| 55 | .filetree li.expandable span.folder { background: url(images/folder-closed.gif) 0 0 no-repeat; }
|
| 56 | .filetree span.file { background: url(images/file.gif) 0 0 no-repeat; }
|