Advertisement
Guest User

file for amar

a guest
Oct 2nd, 2013
96
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 4.81 KB | None | 0 0
  1.  
  2. /*** ESSENTIAL STYLES ***/
  3. .sf-contener {
  4.     clear: both;
  5. }
  6. .sf-right {
  7.   display:none;
  8. }
  9. .sf-menu, .sf-menu * {
  10.     margin:         0;
  11.     padding:        0;
  12.     list-style:     none;
  13. }
  14. .sf-menu {
  15.     margin: 0;
  16.     padding:0;
  17.     width:980px;/* 980 */
  18.     height:40px;
  19.     background: #fff;
  20.     font-family:georgia,arial, tahoma
  21.    
  22. }
  23. .sf-menu ul {
  24.     position:       absolute;
  25.     top:            -999em;
  26.     width:          10em; /* left offset of submenus need to match (see below) */
  27. }
  28. .sf-menu ul li {
  29.     width:          100%;
  30. }
  31. .sf-menu li:hover {
  32.     visibility:     inherit; /* fixes IE7 'sticky bug' */
  33.     color:#fff;      
  34.     background-color:#222;
  35. }
  36. .sf-menu li {
  37.     float:          left;
  38.    
  39.     position:       relative;
  40.    
  41. }
  42. .sf-menu a {
  43.     display:        block;
  44.     position:       relative;
  45.    
  46.    
  47. }
  48. .sf-menu li:hover ul,
  49. .sf-menu li.sfHover ul {
  50.     left:           0;
  51.     top:            40px; /* match top ul list item height */
  52.     border-top:0px solid#E6E6E6;
  53.     z-index:        99;
  54.     width:auto
  55. }
  56. ul.sf-menu li:hover li ul,
  57. ul.sf-menu li.sfHover li ul {
  58.     top:            -999em;
  59.    
  60. }
  61. ul.sf-menu li li:hover ul,
  62. ul.sf-menu li li.sfHover ul {
  63.     left:           200px; /* match ul width */
  64.     top:            0;
  65. }
  66. ul.sf-menu li li:hover li ul,
  67. ul.sf-menu li li.sfHover li ul {
  68.     top:            -999em;
  69. }
  70. ul.sf-menu li li li:hover ul,
  71. ul.sf-menu li li li.sfHover ul {
  72.     left:           10em; /* match ul width */
  73.     top:            0;
  74. }
  75.  
  76. /*** DEMO SKIN ***/
  77. .sf-menu {
  78.     float:          left;
  79.     margin-bottom:  2em;
  80.     padding-top:0px;
  81. }
  82. .sf-menu a {
  83.     display:block;     
  84.     font-size:13px;
  85.     padding: 0px 30px 0 10px;
  86.     line-height:40px;
  87.     border-right: 1px solid#dcdbdb;
  88.     text-decoration:none;
  89.     text-transform:uppercase
  90. }
  91.  
  92.  
  93. .sf-menu a, .sf-menu a:visited  { /* visited pseudo selector so IE6 applies text colour*/
  94.     color:          #666666;
  95.     white-space:nowrap;
  96.     font-family: 'Oswald', sans-serif;
  97. }
  98. .sf-menu li li {
  99.     background:#fafafa;
  100.    
  101. }
  102.  
  103. .sf-menu li li a{
  104.     line-height:30px;
  105.     background: #fafafa;border-bottom: 1px solid #dcdbdb;;
  106.     font-size:13px;
  107.     border-right: 0px solid#dcdbdb;;
  108. }
  109. .sf-menu li li li {
  110.     background:#fff;
  111.    
  112. }
  113.  
  114. .sf-menu li li li a {line-height:30px;
  115.     background:#fff;
  116.     font-size:12px;
  117. }
  118. .sf-menu a:focus, .sf-menu a:hover, .sf-menu a:active {
  119.     color:#ca0606;
  120.     background:none;
  121. }
  122. .sf-menu ul li:hover, .sf-menu ul li.sfHover,
  123. .sf-menu ul li a:focus, .sf-menu ul li a:hover, .sf-menu ul li a:active {
  124.     background:#fafafa;
  125.     border-right: 0px solid#dcdbdb;
  126.     outline:        0;
  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:          10px;
  137.     top:            1.05em; /* IE6 only */
  138.     width:          10px;
  139.     height:         10px;
  140.     text-indent:    -999em;
  141.     overflow:       hidden;
  142.     background:     url('../img/arrows-ffffff.png') no-repeat -10px -100px; /* 8-bit indexed alpha png. IE6 gets solid image only */
  143. }
  144. a > .sf-sub-indicator {  /* give all except IE6 the correct values */
  145.     top: 11px;
  146.     background-position: 0 -100px; /* use translucent arrow for modern browsers*/
  147. }
  148. /* apply hovers to modern browsers */
  149. a:focus > .sf-sub-indicator,
  150. a:hover > .sf-sub-indicator,
  151. a:active > .sf-sub-indicator,
  152. li:hover > a > .sf-sub-indicator,
  153. li.sfHover > a > .sf-sub-indicator {
  154.     background-position: -10px -100px; /* arrow hovers for modern browsers*/
  155. }
  156.  
  157. /* point right for anchors in subs */
  158. .sf-menu ul .sf-sub-indicator { background-position:  -10px 0; }
  159. .sf-menu ul a > .sf-sub-indicator { background-position:  0 0; }
  160. /* apply hovers to modern browsers */
  161. .sf-menu ul a:focus > .sf-sub-indicator,
  162. .sf-menu ul a:hover > .sf-sub-indicator,
  163. .sf-menu ul a:active > .sf-sub-indicator,
  164. .sf-menu ul li:hover > a > .sf-sub-indicator,
  165. .sf-menu ul li.sfHover > a > .sf-sub-indicator {
  166.     background-position: -10px 0; /* arrow hovers for modern browsers*/
  167. }
  168.  
  169. /*** shadows for all but IE6 ***/
  170. .sf-shadow ul {
  171.     /* background:  url('../img/shadow.png') no-repeat bottom right;
  172.     padding: 0 8px 9px 0;
  173.     -moz-border-radius-bottomleft: 17px;
  174.     -moz-border-radius-topright: 17px;
  175.     -webkit-border-top-right-radius: 17px;
  176.     -webkit-border-bottom-left-radius: 17px;*/
  177. }
  178. .sf-shadow ul.sf-shadow-off {
  179.     background: transparent;
  180. }
  181. /* ????? blocksearch-top.tpl ????? */
  182. #search_block_top_menu {display:none; width:150px;height:24px;float:right;margin:10px 5px 0 11px;background:url(../img/search.png) 0 0 no-repeat;}
  183.  
  184. #search_block_top_menu input.search_query {width:125px;height:24px;float:left;padding:1px;border:none;font:11px "Arial";text-transform:uppercase; color:#998565; background: none}
  185. #search_block_top_menu a {width:24px;height:0; margin-top:-22px;padding:22px 0 0 0;display:block;float:right;overflow:hidden;}
  186.  
  187.  
  188.  
  189.  
  190.  
  191. /* hack IE7 */
  192. .sf-menu a, .sf-menu a:visited {height:34px !IE;}
  193. .sf-menu li li {
  194.     width:200px;
  195.     background:#726f72 !IE;
  196.    
  197. }
  198.  
  199. .sf-menu li:Hover {
  200.     background: url("../img/smenu.jpg") repeat-x scroll left top transparent;
  201. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement