menubar.css 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. /* styles for the top menu bar */
  2. div.menuBar {
  3. padding: 1px 0;
  4. height: 25px;
  5. }
  6. .tundra .menuBar {
  7. background: #396494;
  8. text-align: right;
  9. }
  10. .tundra .menuBar a {
  11. color: white;
  12. }
  13. div.topLink {
  14. position: absolute;
  15. right: 0;
  16. top: 0;
  17. z-index: 50;
  18. background: white;
  19. border: 1px solid #888;
  20. border-width: 0 0 1px 1px;
  21. }
  22. div.menuBar a, .topLink a {
  23. padding: 0 0.8ex;
  24. text-decoration: none;
  25. }
  26. .menuBar .powered_by {
  27. float: left;
  28. font-size: 125%;
  29. font-family: 'Helvetica Neue', Arial, Helvetica, 'Nimbus Sans L', sans-serif;
  30. font-weight: bold;
  31. line-height: 25px; /* note this line-height should be the same as the fixed height of the menuBar */
  32. cursor: pointer;
  33. }
  34. .share .icon {
  35. height: 8px;
  36. width: 19px;
  37. display: inline;
  38. display: inline-block;
  39. background: url("img/glyphs_white.png") no-repeat -149px -91px;
  40. margin-right: 2px;
  41. margin-top: -2px;
  42. }
  43. a.topLink, a.topLink * {
  44. cursor: pointer;
  45. }
  46. .topLink .powered_by {
  47. padding: 0 0.5em;
  48. color: black;
  49. text-decoration: none;
  50. }
  51. .menuBar * {
  52. outline: none;
  53. }
  54. .tundra .menuBar .dijitButtonNode {
  55. background: transparent;
  56. }
  57. .tundra .menuBar .dijitButtonNode {
  58. border: 2px outset rgba( 120, 120, 120, 0.2 );
  59. }
  60. .tundra .menuBar .dijitButtonHover .dijitButtonNode,
  61. .tundra .menuBar .dijitDropDownButtonHover .dijitButtonNode {
  62. background: rgba( 255, 255, 255, 0.07 );
  63. }
  64. .tundra .menuBar .dijitButtonActive .dijitButtonNode,
  65. .tundra .menuBar .dijitDropDownButtonActive .dijitButtonNode {
  66. border: 2px inset rgba( 120, 120, 120, 0.2 );
  67. }
  68. .menuBar .dijitButtonNode {
  69. padding: 0 1em;
  70. }
  71. .menuBar .dijitButtonNode * {
  72. color: white;
  73. }
  74. .menuBar .config .icon {
  75. height: 16px;
  76. width: 16px;
  77. margin-right: 2px;
  78. margin-top: -2px;
  79. display: inline;
  80. display: inline-block;
  81. background: url("img/glyphs_white.png") no-repeat -168px -27px;
  82. }
  83. /* dataset selector */
  84. .menuBar > .menu, .menuBar > .dataset_select {
  85. float: left;
  86. font-size: 120%;
  87. color: white;
  88. }
  89. .menuBar > .dataset_select {
  90. margin: 1px 0 0 1px;
  91. font-weight: bold;
  92. height: 100%;
  93. background: transparent;
  94. border: none;
  95. }
  96. .menuBar > .dataset_select .dijitSelectLabel {
  97. padding: 0 0.5em;
  98. }
  99. .menuBar > .dataset_select.dijitSelectHover td {
  100. color: white;
  101. }
  102. .menuBar > .dataset_select .dijitButtonContents {
  103. background: transparent;
  104. border-color: transparent;
  105. }
  106. .menuBar > .dataset_select .dijitArrowButtonInner {
  107. background: url("img/spriteArrows.png") no-repeat scroll -56px center;
  108. }
  109. .tundra .globalMenu .dijitMenuItem td {
  110. padding: 0.5em 2px 0.5em 5px;
  111. }
  112. .tundra .menuBar > .menu .dijitButtonNode {
  113. border: none;
  114. }
  115. .tundra .menuBar > .menu.dijitDropDownButton,
  116. .tundra .menuBar > .menu.dijitDropDownButton * {
  117. margin: 0;
  118. padding: 0;
  119. line-height: 25px;
  120. }
  121. .tundra .menuBar > .menu.dijitDropDownButton .dijitButtonNode {
  122. padding: 0 1em 0 0.7em;
  123. text-align: left;
  124. }
  125. .tundra .menuBar > .menu .dijitDropDownButtonHover .dijitButtonNode {
  126. background: rgba( 255, 255, 255, 0.07 );
  127. }
  128. .tundra .menuBar > .menu .dijitDropDownButtonActive .dijitButtonNode {
  129. border: none;
  130. }