menu.css 2.0 KB

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