menu.css 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. .menu {
  2. position: absolute;
  3. margin: 0;
  4. padding: 2px;
  5. border-width: 1px;
  6. border-style: solid;
  7. overflow: hidden;
  8. }
  9. .menu-inline {
  10. position: relative;
  11. }
  12. .menu-item {
  13. position: relative;
  14. margin: 0;
  15. padding: 0;
  16. overflow: hidden;
  17. white-space: nowrap;
  18. cursor: pointer;
  19. border-width: 1px;
  20. border-style: solid;
  21. }
  22. .menu-text {
  23. height: 20px;
  24. line-height: 20px;
  25. float: left;
  26. padding-left: 28px;
  27. }
  28. .menu-icon {
  29. position: absolute;
  30. width: 16px;
  31. height: 16px;
  32. left: 2px;
  33. top: 50%;
  34. margin-top: -8px;
  35. }
  36. .menu-rightarrow {
  37. position: absolute;
  38. width: 16px;
  39. height: 16px;
  40. right: 0;
  41. top: 50%;
  42. margin-top: -8px;
  43. }
  44. .menu-line {
  45. position: absolute;
  46. left: 26px;
  47. top: 0;
  48. height: 2000px;
  49. font-size: 1px;
  50. }
  51. .menu-sep {
  52. margin: 3px 0px 3px 25px;
  53. font-size: 1px;
  54. }
  55. .menu-noline .menu-line {
  56. display: none;
  57. }
  58. .menu-noline .menu-sep {
  59. margin-left: 0;
  60. margin-right: 0;
  61. }
  62. .menu-active {
  63. -moz-border-radius: 0px 0px 0px 0px;
  64. -webkit-border-radius: 0px 0px 0px 0px;
  65. border-radius: 0px 0px 0px 0px;
  66. }
  67. .menu-item-disabled {
  68. opacity: 0.5;
  69. filter: alpha(opacity=50);
  70. cursor: default;
  71. }
  72. .menu-text,
  73. .menu-text span {
  74. font-size: 12px;
  75. }
  76. .menu-shadow {
  77. position: absolute;
  78. -moz-border-radius: 0px 0px 0px 0px;
  79. -webkit-border-radius: 0px 0px 0px 0px;
  80. border-radius: 0px 0px 0px 0px;
  81. background: #fafafa;
  82. -moz-box-shadow: 2px 2px 3px #fafafa;
  83. -webkit-box-shadow: 2px 2px 3px #fafafa;
  84. box-shadow: 2px 2px 3px #fafafa;
  85. filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2);
  86. }
  87. .menu-rightarrow {
  88. background: url('images/menu_arrows.png') no-repeat -32px center;
  89. }
  90. .menu-line {
  91. border-left: 1px solid #ddd;
  92. border-right: 1px solid #fff;
  93. }
  94. .menu-sep {
  95. border-top: 1px solid #ddd;
  96. border-bottom: 1px solid #fff;
  97. }
  98. .menu {
  99. background-color: #fafafa;
  100. border-color: #c3d9e0;
  101. color: #404040;
  102. }
  103. .menu-content {
  104. background: #fafafa;
  105. }
  106. .menu-item {
  107. border-color: transparent;
  108. _border-color: #fafafa;
  109. }
  110. .menu-active {
  111. border-color: #9cc8f7;
  112. color: #404040;
  113. background: #9cc8f7;
  114. }
  115. .menu-active-disabled {
  116. border-color: transparent;
  117. background: transparent;
  118. color: #404040;
  119. }