TabBar.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. /* dojox.mobile.TabBar */
  2. .mblTabBar {
  3. position: relative;
  4. overflow: hidden;
  5. white-space: nowrap;
  6. margin: 0px;
  7. padding: 0px;
  8. height: 48px;
  9. border-top: 1px solid #000000;
  10. background-color: #000000;
  11. background-image: -webkit-gradient(linear, left top, left bottom, from(#2d2d2d), to(#000000));
  12. color: white;
  13. text-align: center;
  14. }
  15. .mblTabBarNoIcons {
  16. height: 34px;
  17. }
  18. .mblTabBarNoText {
  19. height: 34px;
  20. }
  21. /* dojox.mobile.TabBarButton */
  22. .mblTabBarButton {
  23. cursor: pointer;
  24. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  25. }
  26. .mblTabBar .mblTabBarButton {
  27. position: relative;
  28. list-style-type: none;
  29. float: left;
  30. }
  31. .mblTabBar .mblTabBarButton.mblTabButtonSelected {
  32. -webkit-border-radius: 3px;
  33. background-color: #404040;
  34. background-image: -webkit-gradient(linear, left top, left bottom, from(#484848), to(#242424));
  35. }
  36. .mblTabBarButtonAnchor {
  37. display: block;
  38. text-decoration: none;
  39. }
  40. .mblTabBarButtonDiv {
  41. position: relative;
  42. margin-left: auto;
  43. margin-right: auto;
  44. width: 29px;
  45. height: 32px;
  46. margin-top: 2px;
  47. }
  48. .mblTabBarButtonIcon {
  49. position: absolute;
  50. left: 0px;
  51. top: 0px;
  52. }
  53. .mblTabBarButtonSpriteIcon {
  54. position: absolute;
  55. }
  56. .mblTabBarButtonTextBox {
  57. font-family: "Helvetica Neue", Helvetica;
  58. font-size: 11px;
  59. }
  60. .mblTabBarNoIcons .mblTabBarButtonDiv {
  61. display: none;
  62. }
  63. .mblTabBarNoIcons .mblTabBarButtonTextBox {
  64. line-height: 34px;
  65. font-size: 20px;
  66. }
  67. .mblTabBarTop .mblTabButton .mblTabBarButtonDiv {
  68. height: 38px;
  69. }
  70. .mblTabBarHead .mblTabButton .mblTabBarButtonDiv {
  71. margin-top: -2px;
  72. }
  73. .mblTabButton {
  74. position: relative;
  75. float: left;
  76. list-style-type: none;
  77. cursor: pointer;
  78. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  79. margin-right: 2px;
  80. width: 78px;
  81. height: 61px;
  82. border-width: 0px 1px 0px 1px;
  83. border-style: solid;
  84. border-color: black #182018 black #393C39;
  85. background-color: #212421;
  86. background-image: -webkit-gradient(linear, left top, left bottom, from(#181818), to(#100c10), color-stop(0.1, #313031));
  87. font-family: Helvetica;
  88. font-size: 13px;
  89. color: white;
  90. text-align: center;
  91. }
  92. .mblTabButton img {
  93. position: absolute;
  94. left: 0px;
  95. margin-top: 8px;
  96. }
  97. .mblTabButtonSelected .mblTabBarButtonTextBox {
  98. color: white;
  99. }
  100. .mblTabButtonSelected.mblTabButton {
  101. background-color: #8C8E8C;
  102. background-image: -webkit-gradient(linear, left top, left bottom, from(#a59ea5), to(#848284));
  103. }
  104. .mblTabButtonHighlighted.mblTabButton {
  105. background-color: #FFB600;
  106. background-image: -webkit-gradient(linear, left top, left bottom, from(#ffcb00), to(#ff9a00));
  107. }
  108. .mblTabButtonImgDiv {
  109. position: relative;
  110. margin-left: 24px;
  111. height: 40px;
  112. }
  113. .mblTabPanelHeader {
  114. position: relative;
  115. overflow: hidden;
  116. white-space: nowrap;
  117. text-overflow: ellipsis;
  118. margin: 0px;
  119. padding: 0px 0px 0px 0px;
  120. height: 64px;
  121. border-top: 1px solid #CDD5DF;
  122. border-bottom: 2px solid #949694;
  123. background-color: #000000;
  124. font-family: Helvetica;
  125. font-size: 20px;
  126. color: white;
  127. text-align: center;
  128. }
  129. .mblTabPanelHeader .mblTabButton {
  130. margin-top: 3px;
  131. }
  132. .mblTabPanelHeader .mblTabButtonDomButton {
  133. width: 43px;
  134. }
  135. .mblTabPanelHeader .mblTabButtonDomButtonClass {
  136. left: 8px;
  137. }
  138. .mblHeading .mblTabPanelHeader {
  139. height: 25px;
  140. }
  141. .mblHeading .mblTabPanelHeader .mblTabButton {
  142. margin-top: 0;
  143. margin-right: 0;
  144. height: 22px;
  145. line-height: 23px;
  146. border-width: 1px 1px 1px 0px;
  147. border-style: solid;
  148. border-color: #555555;
  149. background-color: #ADADAD;
  150. background-image: -webkit-gradient(linear, left top, left bottom, from(#e5e5e5), to(#7f7f7f), color-stop(0.5, #adadad), color-stop(0.5, #909090));
  151. }
  152. .mblHeading .mblTabPanelHeader .mblTabButton:first-child {
  153. border-left-width: 1px;
  154. }
  155. .mblHeading .mblTabPanelHeader .mblTabButtonSelected {
  156. background-color: #FFC700;
  157. background-image: -webkit-gradient(linear, left top, left bottom, from(#ad7500), to(#ffaa00), color-stop(0.06, #ffb200), color-stop(0.5, #ffc700));
  158. }