| [ Index ] |
PHP Cross Reference of Drupal 6 (gatewave) |
[Summary view] [Print] [Text view]
1 /* $Id: superfish.css,v 1.1.2.2 2010/02/14 06:44:15 sociotech Exp $ */ 2 3 /*** ESSENTIAL STYLES ***/ 4 .sf-menu, .sf-menu * { 5 margin: 0; 6 padding: 0; 7 list-style: none; 8 } 9 .sf-menu { 10 line-height: 1.0; 11 } 12 .sf-menu ul { 13 position: absolute; 14 top: -999em; 15 width: 10em; /* left offset of submenus need to match (see below) */ 16 } 17 .sf-menu ul li { 18 width: 100%; 19 } 20 .sf-menu li:hover { 21 visibility: inherit; /* fixes IE7 'sticky bug' */ 22 } 23 .sf-menu li { 24 float: left; 25 position: relative; 26 } 27 .sf-menu a { 28 display: block; 29 position: relative; 30 } 31 .sf-menu li:hover ul, 32 .sf-menu li.sfHover ul { 33 left: 0; 34 top: 2.5em; /* match top ul list item height */ 35 z-index: 99; 36 } 37 ul.sf-menu li:hover li ul, 38 ul.sf-menu li.sfHover li ul { 39 top: -999em; 40 } 41 ul.sf-menu li li:hover ul, 42 ul.sf-menu li li.sfHover ul { 43 left: 10em; /* match ul width */ 44 top: 0; 45 } 46 ul.sf-menu li li:hover li ul, 47 ul.sf-menu li li.sfHover li ul { 48 top: -999em; 49 } 50 ul.sf-menu li li li:hover ul, 51 ul.sf-menu li li li.sfHover ul { 52 left: 10em; /* match ul width */ 53 top: 0; 54 } 55 56 /*** DEMO SKIN ***/ 57 .sf-menu { 58 float: left; 59 margin-bottom: 1em; 60 } 61 .sf-menu a { 62 padding: .75em 1em; 63 text-decoration:none; 64 } 65 .sf-menu a, .sf-menu a:visited { /* visited pseudo selector so IE6 applies text colour*/ 66 } 67 .sf-menu li { 68 } 69 .sf-menu li li { 70 } 71 .sf-menu li li li { 72 } 73 .sf-menu li:hover, .sf-menu li.sfHover, 74 .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active { 75 outline: 0; 76 } 77 78 /*** arrows **/ 79 .sf-menu a.sf-with-ul { 80 padding-right: 2.25em; 81 min-width: 1px; /* trigger IE7 hasLayout so spans position accurately */ 82 } 83 .sf-sub-indicator { 84 position: absolute; 85 display: block; 86 right: .75em; 87 top: 1.05em; /* IE6 only */ 88 width: 10px; 89 height: 10px; 90 text-indent: -999em; 91 overflow: hidden; 92 background: url('../images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */ 93 } 94 a > .sf-sub-indicator { /* give all except IE6 the correct values */ 95 top: .8em; 96 background-position: 0 -100px; /* use translucent arrow for modern browsers*/ 97 } 98 /* apply hovers to modern browsers */ 99 a:focus > .sf-sub-indicator, 100 a:hover > .sf-sub-indicator, 101 a:active > .sf-sub-indicator, 102 li:hover > a > .sf-sub-indicator, 103 li.sfHover > a > .sf-sub-indicator { 104 background-position: -10px -100px; /* arrow hovers for modern browsers*/ 105 } 106 107 /* point right for anchors in subs */ 108 .sf-menu ul .sf-sub-indicator { background-position: -10px 0; } 109 .sf-menu ul a > .sf-sub-indicator { background-position: 0 0; } 110 /* apply hovers to modern browsers */ 111 .sf-menu ul a:focus > .sf-sub-indicator, 112 .sf-menu ul a:hover > .sf-sub-indicator, 113 .sf-menu ul a:active > .sf-sub-indicator, 114 .sf-menu ul li:hover > a > .sf-sub-indicator, 115 .sf-menu ul li.sfHover > a > .sf-sub-indicator { 116 background-position: -10px 0; /* arrow hovers for modern browsers*/ 117 } 118 119 /*** shadows for all but IE6 ***/ 120 .sf-shadow ul { 121 background: url('../images/shadow.png') no-repeat bottom right; 122 padding: 0 8px 9px 0; 123 -moz-border-radius-bottomleft: 17px; 124 -moz-border-radius-topright: 17px; 125 -webkit-border-top-right-radius: 17px; 126 -webkit-border-bottom-left-radius: 17px; 127 } 128 .sf-shadow ul.sf-shadow-off { 129 background: transparent; 130 }
title
Description
Body
title
Description
Body
title
Description
Body
title
Body
| Generated: Thu Mar 24 11:18:33 2011 | Cross-referenced by PHPXref 0.7 |