/* Variables *//* Mixins */ /*** ESSENTIAL STYLES ***/ .sf-menu ul { background: #363636; position: absolute; top: -999em; padding: 0; -moz-border-radius-bottomleft: 5px; -moz-border-radius-bottomright: 5px; -webkit-border-bottom-right-radius: 5px; -webkit-border-bottom-left-radius: 5px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; border-top-left-radius: 5px; border-top-right-radius: 5px; border: 1px solid #111; width: 10em; /* left offset of submenus need to match (see below) */ } .sf-menu ul li a { padding-left: 28px; } .sf-menu ul li a img { position: absolute; margin-top: -1px; margin-left: -22px; z-index: 99; } .sf-menu ul li { width: 100%; } .sf-menu li.spacer, .sf-menu li.spacer:hover { background-color: #57442B; width: 15px; } .sf-menu .first { margin-left: 0px; } .sf-menu .navIcon { padding: 0.6em 1em 0.55em; } .sf-menu li:hover { visibility: inherit; /* fixes IE7 'sticky bug' */ } .sf-menu li { float: left; position: relative; } .sf-menu a { display: block; position: relative; } .sf-menu li:hover ul, .sf-menu li.sfHover ul { left: 0; top: 3.2em; /* match top ul list item height */ z-index: 99; } ul.sf-menu li:hover li ul, ul.sf-menu li.sfHover li ul { top: -999em; } ul.sf-menu li li:hover ul, ul.sf-menu li li.sfHover ul { left: 10em; /* match ul width */ top: 0; } ul.sf-menu li li:hover li ul, ul.sf-menu li li.sfHover li ul { top: -999em; } ul.sf-menu li li li:hover ul, ul.sf-menu li li li.sfHover ul { left: 10em; /* match ul width */ top: 0; } .sf-menu li.current > a { color: #FFFFFF; } .sf-menu { float: left; /*margin-bottom: 1em;*/ line-height: 1em; } .sf-menu a { border-right: 1px solid #ccc; padding: .75em 1em; text-decoration: none; } .sf-menu li a { border: 1px solid transparent; color: #FFFFFF; display: block; padding-bottom: 12px; padding-top: 12px; padding-left: 10px; padding-right: 10px; font-size: 14px; font-weight: normal; text-shadow: 1px 1px 0 #000; text-transform: capitalize; } .sf-menu li a.log { border: 1px solid transparent; color: #FFFFFF; display: block; padding-bottom: 12px; padding-top: 12px; padding-left: 15px; padding-right: 25px; font-size: 14px; font-weight: normal; text-shadow: 1px 1px 0 #000; text-transform: capitalize; } .sf-menu li a.config { height: 14px; width: 20px; } .sf-menu li a.config img { left: 0px; position: relative; top: -13px; } .sf-menu li li a, .sf-menu li li li a { text-shadow: none; } .sf-menu a, .sf-menu a:visited { /* visited pseudo selector so IE6 applies text colour*/ color: #FFFFFF; } .sf-menu li { display: block; float: left; margin: 8px 0 0; text-align: center; } .sf-menu li li { padding: 0; margin: 0; text-align: left; /* alt row light brown */ } .sf-menu li li li { background: #2a2a2a; /* even row tan */ } .sf-menu li li a, .sf-menu li li a:visited { color: #FFF; } .sf-menu li li a:hover { color: #000; } .sf-menu li li li a, .sf-menu li li li a:visited { color: #FFF; } .sf-menu li li li a:hover { color: #000; } .sf-menu li:hover, .sf-menu li.sfHover, .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active { outline: 0; } .sf-menu li a:hover { background-image: -moz-linear-gradient(#2a88cf, #297ab8) !important; background-image: linear-gradient(#2a88cf, #297ab8) !important; background-image: -webkit-linear-gradient(#2a88cf, #297ab8) !important; background-image: -o-linear-gradient(#2a88cf, #297ab8) !important; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#2a88cf, endColorstr=#297ab8) !important; -ms-filter: progid:dximagetransform.microsoft.gradient(startColorstr=#2a88cf, endColorstr=#297ab8) !important; border: 1px solid #2a88cf; border-radius: 3px 3px 3px 3px; -moz-box-shadow: 0 1px 0 #2a88cf inset; -webkit-box-shadow: 0 1px 0 #2a88cf inset; -o-box-shadow: 0 1px 0 #2a88cf inset; box-shadow: 0 1px 0 #2a88cf inset; } .sf-menu li ul li a { font-size: 14px; font-weight: normal; } .sf-menu li ul li a:hover { background-image: -moz-linear-gradient(#297ab8, #15528f) !important; background-image: linear-gradient(#297ab8, #15528f) !important; background-image: -webkit-linear-gradient(#297ab8, #15528f) !important; background-image: -o-linear-gradient(#297ab8, #15528f) !important; filter: progid:dximagetransform.microsoft.gradient(startColorstr=#297ab8, endColorstr=#15528f) !important; -ms-filter: progid:dximagetransform.microsoft.gradient(startColorstr=#297ab8, endColorstr=#15528f) !important; color: #FFFFFF !important; text-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; -o-box-shadow: none; box-shadow: none; } /*** arrows **/ .sf-menu a.sf-with-ul { padding-right: 1.8em; min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */ } .sf-sub-indicator { position: absolute; display: block; right: .75em; top: 1.05em; /* IE6 only */ width: 10px; height: 10px; text-indent: -999em; overflow: hidden; /* background: url('/images/arrows.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */ } a > .sf-sub-indicator { /* give all except IE6 the correct values */ top: 14px; background-position: 0 -100px; /* use translucent arrow for modern browsers*/ } /* apply hovers to modern browsers */ a:focus > .sf-sub-indicator, a:hover > .sf-sub-indicator, a:active > .sf-sub-indicator, li:hover > a > .sf-sub-indicator, li.sfHover > a > .sf-sub-indicator { background-position: -10px -100px; /* arrow hovers for modern browsers*/ } /* point right for anchors in subs */ .sf-menu ul .sf-sub-indicator { background-position: -10px 0; } .sf-menu ul a > .sf-sub-indicator { background-position: 0 0; } /* apply hovers to modern browsers */ .sf-menu ul a:focus > .sf-sub-indicator, .sf-menu ul a:hover > .sf-sub-indicator, .sf-menu ul a:active > .sf-sub-indicator, .sf-menu ul li:hover > a > .sf-sub-indicator, .sf-menu ul li.sfHover > a > .sf-sub-indicator { background-position: -10px 0; /* arrow hovers for modern browsers*/ } /*** shadows for all but IE6 ***/ .sf-shadow ul { /* background: url('/images/shadow.png') no-repeat bottom right; */ padding: 0 8px 9px 0; -moz-border-radius-bottomleft: 17px; -moz-border-radius-topright: 17px; -webkit-border-top-right-radius: 17px; -webkit-border-bottom-left-radius: 17px; } .sf-shadow ul.sf-shadow-off { background: transparent; }