29 lines
801 B
CSS
29 lines
801 B
CSS
|
.treeview ul{ /*CSS for Simple Tree Menu*/
|
||
|
margin: 0;
|
||
|
padding: 0;
|
||
|
}
|
||
|
|
||
|
.treeview li{ /*Style for LI elements in general (excludes an LI that contains sub lists)*/
|
||
|
background: url(img/list.png) no-repeat left center;
|
||
|
background-color: transparent;
|
||
|
list-style-type: none;
|
||
|
padding-left: 22px;
|
||
|
margin-bottom: 3px;
|
||
|
}
|
||
|
|
||
|
.treeview li.submenu{ /* Style for LI that contains sub lists (other ULs). */
|
||
|
background: url(img/closed.png) no-repeat left 1px;
|
||
|
background-color: transparent;
|
||
|
cursor: hand !important;
|
||
|
cursor: pointer !important;
|
||
|
}
|
||
|
|
||
|
|
||
|
.treeview li.submenu ul{ /*Style for ULs that are children of LIs (submenu) */
|
||
|
display: none; /*Hide them by default. Don't delete. */
|
||
|
}
|
||
|
|
||
|
.treeview .submenu ul li{ /*Style for LIs of ULs that are children of LIs (submenu) */
|
||
|
cursor: default;
|
||
|
}
|