520197fd0d
git-svn-id: https://svn.code.sf.net/p/xcat/code/xcat-core/trunk@3634 8638fb3e-16cb-4fca-ae20-7b5d299a9bcd
23 lines
921 B
CSS
23 lines
921 B
CSS
/*** adding sf-vertical in addition to sf-menu creates a vertical menu ***/
|
|
.sf-vertical, .sf-vertical li {
|
|
width: 10em;
|
|
}
|
|
/* this lacks ul at the start of the selector, so the styles from the main CSS file override it where needed */
|
|
.sf-vertical li:hover ul,
|
|
.sf-vertical li.sfHover ul {
|
|
left: 10em; /* match ul width */
|
|
top: 0;
|
|
}
|
|
|
|
/*** alter arrow directions ***/
|
|
.sf-vertical .sf-sub-indicator { background-position: -10px 0; } /* IE6 gets solid image only */
|
|
.sf-vertical a > .sf-sub-indicator { background-position: 0 0; } /* use translucent arrow for modern browsers*/
|
|
|
|
/* hover arrow direction for modern browsers*/
|
|
.sf-vertical a:focus > .sf-sub-indicator,
|
|
.sf-vertical a:hover > .sf-sub-indicator,
|
|
.sf-vertical a:active > .sf-sub-indicator,
|
|
.sf-vertical li:hover > a > .sf-sub-indicator,
|
|
.sf-vertical li.sfHover > a > .sf-sub-indicator {
|
|
background-position: -10px 0; /* arrow hovers for modern browsers*/
|
|
} |