CSS 21
Superfish - Copie.css Guest on 3rd May 2021 04:43:48 AM
  1. #menutop {height:52px; background-color:#20316D; margin:4px 0px;}
  2. /*** ESSENTIAL STYLES ***/
  3. .sf-menu, .sf-menu * {
  4.     margin:         0;
  5.     padding:        0;
  6.     list-style:     none;
  7.     z-index:        100;
  8.     font-family: verdana, Helvetica, sans-serif;
  9. }
  10.  
  11. .sf-menu { line-height: 1.0;}
  12.  
  13. .sf-menu ul {
  14.     /*------------------------------------- z-index:2600;*/
  15.     position:       absolute;
  16.     top:            -999em;
  17.     width:          15em; /* left offset of submenus need to match (see below) */
  18. }
  19.  
  20. .sf-menu ul li {
  21.     width:          100%;   /*-------------------------------------z-index:     2600;*/
  22.    
  23. }
  24. .sf-menu li:hover {
  25.     visibility:     inherit; /* fixes IE7 'sticky bug' */
  26. }
  27. .sf-menu li {
  28.     float:          left;
  29.     position:       relative;    
  30.     text-align:center;
  31.    
  32. }
  33. /* -------------------------------- .sf-menu li li {    text-align:left; }*/
  34.  
  35. .sf-menu a {
  36.     display:        block;
  37.     position:       relative;
  38.     font-weight:normal;
  39. }
  40. .sf-menu li:hover ul,
  41. .sf-menu li.sfHover ul {
  42.     left:           0;
  43.     top:            52px; /* match top ul list item height */
  44.     z-index:        100;
  45. }
  46. ul.sf-menu li:hover li ul,
  47. ul.sf-menu li.sfHover li ul {
  48.     top:            -999em;
  49. }
  50. ul.sf-menu li li:hover ul,
  51. ul.sf-menu li li.sfHover ul {
  52.     left:           15em; /* match ul width */
  53.     top:            0;
  54. }
  55. ul.sf-menu li li:hover li ul,
  56. ul.sf-menu li li.sfHover li ul {
  57.     top:            -999em;
  58. }
  59. ul.sf-menu li li li:hover ul,
  60. ul.sf-menu li li li.sfHover ul {
  61.     left:           10em; /* match ul width */
  62.     top:            0;
  63. }
  64.  
  65.  
  66. /*** DEMO SKIN ***/
  67.  
  68. .sf-menu {
  69.     /*float:            left;*/
  70.     /*margin-bottom:    1em;*/
  71. }
  72. .sf-menu a {
  73.     padding:13px 16px 12px 16px;
  74.     text-decoration:none;
  75.     font-size:12px;
  76. }
  77.  
  78. .sf-menu li.BtUneLigne a{
  79.     padding:19px 16px 6px 16px;
  80. }
  81.  
  82.  
  83. .sf-menu li li a, .sf-menu li.BtUneLigne li a {
  84.     font-size:11px; font-weight:normal;
  85.     padding:6px 15px 10px 15px;
  86. }
  87.  
  88. .sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
  89.     color:#00303E; color:#fff;
  90.     white-space: nowrap;}
  91.  
  92. .sf-menu a:hover{ background-color:#A2B9F2; color:#fff;}
  93.  
  94. .sf-menu li ul {
  95. /* background-image:url(/img/interface/fdmenu.gif); background-position:right bottom;*/
  96.     background:     #20316D;
  97. }
  98. .sf-menu li li {
  99.     padding:0px;
  100.     border-bottom:1px solid #A2B9F2; height:25px; /* background:#6BCDD9;*/
  101.     text-align:left;
  102. }
  103. .sf-menu li li li {
  104.     background:#000;
  105. }
  106.  
  107. .sf-menu li:hover, .sf-menu li.sfHover,
  108. .sf-menu li li:hover ul a, .sf-menu li li.sfHover ul a{
  109.     color:#fff;
  110.     outline:        0;
  111.     background:#A2B9F2;
  112. }
  113.  
  114. .sf-menu li a { display:block; height:27px;}
  115.  
  116. a > .sf-menu li li:hover, a > .sf-menu li li.sfHover,
  117. .sf-menu li li a:focus, .sf-menu li li a:hover, .sf-menu li li a:active {
  118.     color:#fff;
  119.     outline:        0;
  120.     background:url(/img/interface/pucerightmenu.png) no-repeat left center;
  121.     /*  background:     #2BB8C9; */
  122. }
  123.  
  124.  
  125. .sf-menu li li li a { display:block; height:10px;}
  126.  
  127.  
  128. /*** arrows **/
  129. .sf-menu a.sf-with-ul {
  130.     /*padding-right:    2.25em;*/
  131.     min-width:      1px; /* trigger IE7 hasLayout so spans position accurately */
  132. }
  133. .sf-sub-indicator {
  134.     position:       absolute;
  135.     display:        block;
  136.     right:          1px;
  137.     top:            20px; /* IE6 only */
  138.     width:          10px;
  139.     height:         10px;
  140.     text-indent:    -999em;
  141.     overflow:       hidden;
  142.     background:     url('../images/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
  143. }
  144.  
  145.  
  146.  
  147. a > .sf-sub-indicator {  /* give all except IE6 the correct values */
  148.     top:            20px;
  149.     background-position: 0 -100px; /* use translucent arrow for modern browsers*/
  150. }
  151. /* apply hovers to modern browsers */
  152. a:focus > .sf-sub-indicator,
  153. a:hover > .sf-sub-indicator,
  154. a:active > .sf-sub-indicator,
  155. li:hover > a > .sf-sub-indicator,
  156. li.sfHover > a > .sf-sub-indicator {
  157.     background-position: -10px -100px; /* arrow hovers for modern browsers*/
  158. }
  159.  
  160. /* point right for anchors in subs */
  161. .sf-menu ul .sf-sub-indicator { background-position:  -10px 0;top:7px; }
  162. .sf-menu ul a > .sf-sub-indicator { background-position:  0 0;top:7px; }
  163. /* apply hovers to modern browsers */
  164. .sf-menu ul a:focus > .sf-sub-indicator,
  165. .sf-menu ul a:hover > .sf-sub-indicator,
  166. .sf-menu ul a:active > .sf-sub-indicator,
  167. .sf-menu ul li:hover > a > .sf-sub-indicator,
  168. .sf-menu ul li.sfHover > a > .sf-sub-indicator {
  169.     background-position: -10px 0; /* arrow hovers for modern browsers*/
  170. }
  171.  
  172. /*** shadows for all but IE6 ***/
  173. /*
  174. .sf-shadow ul {
  175.     background: url('../images/shadow.png') no-repeat bottom right;
  176.     padding: 0 8px 9px 0;
  177.     -moz-border-radius-bottomleft: 17px;
  178.     -moz-border-radius-topright: 17px;
  179.     -webkit-border-top-right-radius: 17px;
  180.     -webkit-border-bottom-left-radius: 17px;
  181. }
  182. .sf-shadow ul.sf-shadow-off {
  183.     background: transparent;
  184. }
  185. */

Paste-bin is for source code and general debugging text.

Login or Register to edit, delete and keep track of your pastes and more.

Raw Paste

Login or Register to edit or fork this paste. It's free.