/webportal/src/main/webapp/css/sf.css

http://alageospatialportal.googlecode.com/ · CSS · 126 lines · 101 code · 13 blank · 12 comment · 0 complexity · 9bbc6ea0f28f8e6aac6aa8a1b001ebe9 MD5 · raw file

  1. /* nav bar styles*/
  2. #nav-sp {
  3. z-index:100;
  4. position:relative;
  5. width:99.5%;
  6. height:37px;
  7. margin:0 auto;
  8. -moz-border-radius: 0 0 3px 3px;
  9. -webkit-border-radius: 0 0 3px 3px;
  10. -o-border-radius: 0 0 3px 3px;
  11. -icab-border-radius: 0 0 3px 3px;
  12. -khtml-border-radius: 0 0 3px 3px;
  13. border-radius: 0 0 3px 3px;
  14. border:1px solid #bc2b03;
  15. border-top:none;
  16. background-color: #df4a21;
  17. background-image: -webkit-gradient(linear, left top, left bottom, from(#df4a21), to(#d3421a));
  18. background-image: -webkit-linear-gradient(top, #df4a21, #d3421a);
  19. background-image: -moz-linear-gradient(top, #df4a21, #d3421a);
  20. background-image: -ms-linear-gradient(top, #df4a21, #d3421a);
  21. background-image: -o-linear-gradient(top, #df4a21, #d3421a);
  22. background-image: linear-gradient(top, #df4a21, #d3421a);
  23. /*disabled for IE7
  24. filter: progid:DXImageTransform.Microsoft.gradient(startColorStr='#df4a21', EndColorStr='#d3421a');*/
  25. }
  26. #nav-sp ul li {
  27. display:inline;
  28. }
  29. #nav-sp li a {
  30. float: left;
  31. overflow: hidden;
  32. border: none;
  33. /* For FF +Arial Narrow +default hw acceleration setting */
  34. height:1.65em;
  35. font-size:1.25em;
  36. font-family: Arial, Helvetica,sans-serif;
  37. font-weight:narrow;
  38. color:#fff;
  39. padding:.6em .6em; /* make room for Home */
  40. }
  41. #nav-sp li ul a {
  42. /* For FF +Arial Narrow +default hw acceleration setting */
  43. height:1.2em;
  44. }
  45. /*** ESSENTIAL STYLES ***/
  46. .sf, .sf * {
  47. margin:0;
  48. padding:0;
  49. list-style:none;
  50. }
  51. /*.sf ul {*/
  52. .sf li ul {
  53. position:absolute;
  54. top:-999em;
  55. width:100%; /* left offset of submenus need to match (see below) */
  56. }
  57. .sf ul li { width:100%; }
  58. .sf li:hover { visibility:inherit; /* fixes IE7 'sticky bug' */ }
  59. .sf li:hover { cursor:pointer; }
  60. .sf li { float:left; position:relative; }
  61. .sf a { display:block; position:relative; }
  62. .sf li:hover ul,
  63. .sf li.sfHover ul {
  64. left:0;
  65. top:3em; /* where to start sub menu (match height of button image) */
  66. width:16em; /* how wide the sub-menus should be when javascript is disabled. don't forget left margin for level 3! */
  67. z-index:50;
  68. text-align:left;
  69. }
  70. ul.sf li:hover li ul,
  71. ul.sf li.sfHover li ul {
  72. top:-999em;
  73. }
  74. /*** CUSTOM SKIN ***/
  75. /* top */
  76. .sf a {text-decoration:none}
  77. .sf li:hover, .sf li.wpm-hover,
  78. .sf li:hover > a,
  79. .sf li.selected a,
  80. .sf a:focus, .sf a:hover, .sf a:active {
  81. text-decoration: none;
  82. background: #3d464c; /* color 3 */
  83. outline: 0;
  84. }
  85. /* end of image replace */
  86. /* subs */
  87. .sf li li {
  88. height:100%;
  89. line-height:1;
  90. }
  91. .sf li li a, .sf li li a:visited {
  92. font-family:Arial, Helvetica, sans-serif!important;
  93. padding:.5em 1em!important;
  94. width:14em;
  95. color:#fff;
  96. font-size:1.2em!important;
  97. cursor:pointer;
  98. }
  99. .sf li ul {
  100. padding: 0;
  101. background-color:#3d464c;
  102. border:1px #3d464c solid;
  103. -moz-border-radius: 0 0 3px 3px; /* FF1+ */
  104. -webkit-border-radius: 0 0 3px 3px; /* Saf3+, Chrome */
  105. -o-border-radius: 0 0 3px 3px;
  106. -icab-border-radius: 0 0 3px 3px;
  107. -khtml-border-radius: 0 0 3px 3px;
  108. border-radius: 0 0 3px 3px; /* Opera 7.7, IE 9 */
  109. z-index:50;
  110. overflow:hidden;
  111. }
  112. /* hover for subs */
  113. .sf li li:hover, .sf li li.sfHover,.sf li li a:focus, .sf li li a:hover, .sf li li a:active, .sf li li.selected a { background-color:#df4a21!important; outline:0;}