dropdown.css 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  1. #zheader {
  2. width: 100%;
  3. position: relative;
  4. background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, from(rgb(68, 68, 68)), to(rgb(34, 34, 34)));
  5. height: 42px;
  6. padding: 4px;
  7. }
  8. #header a {
  9. color: white;
  10. font-weight: normal;
  11. text-decoration: none;
  12. }
  13. #header .emboss {
  14. text-shadow: 0px -1px 0px #374683;
  15. }
  16. #buttons {
  17. position: absolute;
  18. top: 50%;
  19. right: 1em;
  20. margin-top: -10px;
  21. height: 20px;
  22. }
  23. #breadcrumb {
  24. float: left;
  25. height: 42px;
  26. }
  27. #breadcrumb div.crumb {
  28. color: white;
  29. padding: 0px;
  30. }
  31. #breadcrumb div.crumb > strong.label {
  32. float: left;
  33. text-align: left;
  34. width: 90px;
  35. }
  36. ul.dropdown {
  37. position: relative;
  38. display: inline;
  39. font-size: 90%;
  40. }
  41. ul.dropdown > li {
  42. background: #889;
  43. -moz-border-radius: 0.2em;
  44. -webkit-border-radius: 0.2em;
  45. padding: 8px;
  46. position: relative;
  47. list-style-type: none;
  48. float: left;
  49. background-image: url('/images/dropdown_arrow.png');
  50. background-position: 100% -20px;
  51. background-repeat: no-repeat;
  52. border: 1px solid #aaa;
  53. padding-right: 40px;
  54. padding-left: 4px;
  55. padding-top: 0px;
  56. padding-bottom: 0px;
  57. font-weight: bold;
  58. font-size: 90%;
  59. padding: 0.2em 2em 0.2em 1em;
  60. }
  61. ul.dropdown > li > ul {
  62. display: none;
  63. position: absolute;
  64. left: -1px;
  65. max-height: 275px;
  66. border: 1px solid #245;
  67. padding: 0px;
  68. width: auto;
  69. min-width: 135px;
  70. z-index: 4;
  71. background-color: rgb( 34, 34, 34 );
  72. }
  73. ul.dropdown > li > ul > li {
  74. list-style-type: none;
  75. margin: 0;
  76. display: block;
  77. background: #99a;
  78. padding-left: 4px;
  79. padding-right: 4px;
  80. padding-top: 0px;
  81. padding-bottom: 0px;
  82. white-space: nowrap;
  83. font-weight: bold;
  84. padding: 0.2em 1em;
  85. }
  86. ul.dropdown > li > ul > li > div {
  87. width: 100%;
  88. position: relative;
  89. }
  90. ul.dropdown > li > ul > li > div > span.count {
  91. position: absolute;
  92. right: 0px;
  93. }
  94. ul.dropdown > li > ul > li > div > a {
  95. color: white;
  96. padding-right: 16px;
  97. text-decoration: none;
  98. }