xcat-core/xCAT-UI/css/tree.css
phamt 1ae4225dbe Checked in new UI code
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@6485 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
2010-06-16 18:21:58 +00:00

115 lines
2.7 KiB
CSS

/*** LOCKED ***/
.tree-default .locked li a {
color: gray;
}
/*** DOTS ***/
.tree-default ul {
background-position: 6px 1px;
background-repeat: repeat-y;
background-image:
url(data:image/gif;base64,R0lGODlhAgACAIAAAB4dGf///yH5BAEAAAEALAAAAAACAAIAAAICRF4AOw==)
;
_background-image: url("../images/dot_for_ie.gif"); *
background-image: url("../images/dot_for_ie.gif");
}
.tree-default li {
background-position: -64px -16px;
background-repeat: no-repeat;
background-image: url("../images/icons.png");
}
/*** NO DOTS ***/
.tree-default .no_dots,.tree-default .no_dots ul {
background: transparent;
}
.tree-default .no_dots li.leaf {
background-image: none;
background-color: transparent;
}
/*** OPEN or CLOSED ***/
.tree-default li.open {
background: url("../images/icons.png") -32px -48px no-repeat;
}
.tree-default li.closed,#jstree-dragged.tree-default li li.open {
background: url("../images/icons.png") -48px -32px no-repeat;
}
#jstree-marker {
background-image: url("../images/icons.png");
}
/*** DEFAULT, HOVER, CLICKED, LOADING STATES ***/
.tree-default li a,.tree-default li span {
border-radius: 3px;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
}
.tree-default li a:hover,.tree-default li a.hover,.tree-default li span
{
background: #EFF5FB;
border: 1px solid #d8f0fa;
padding: 0px 3px 0px 3px;
}
.tree-default li a.clicked,.tree-default li a.clicked:hover,.tree-default li span.clicked
{
background: #A9D0F5;
border: 1px solid #99defd;
padding: 0px 3px 0px 3px;
}
/*** ICONS ***/
.tree-default ins {
background-image: url("../images/icons.png");
background-position: 0 0;
background-repeat: no-repeat;
}
.tree-default ul li a.loading ins {
background-image: url("../images/throbber.gif") !important;
background-position: 0 0 !important;
} /* UL is added to make selector stronger */
.tree-default li a ins.forbidden {
background-position: -16px -16px;
}
.tree-default .locked li a ins {
background-position: 0 -48px;
}
.tree-default li span ins {
background-position: -16px 0;
}
#jstree-dragged.tree-default ins {
background: url("../images/icons.png") -16px -32px no-repeat;
}
#jstree-dragged.tree-default ins.forbidden {
background: url("../images/icons.png") -16px -16px no-repeat;
}
/*** CONTEXT MENU ***/
.tree-default-context a ins {
background-image: url("../images/icons.png");
background-repeat: no-repeat;
background-position: -64px -64px;
}
.tree-default-context a ins.create {
background-position: 0 -16px;
}
.tree-default-context a ins.rename {
background-position: -16px 0px;
}
.tree-default-context a ins.remove {
background-position: 0 -32px;
}