TabBar.css 3.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142
  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), color-stop(0.5, #141414), color-stop(0.5, #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), color-stop(0.5, #353535), color-stop(0.5, #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. height: 34px;
  45. width: 29px;
  46. }
  47. .mblTabBarButtonIcon {
  48. position: absolute;
  49. left: 0px;
  50. top: 2px;
  51. }
  52. .mblTabBarButtonSpriteIcon {
  53. position: absolute;
  54. }
  55. .mblTabBarButtonTextBox {
  56. color: #979797;
  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. display: none;
  69. }
  70. .mblTabButton {
  71. position: relative;
  72. float: left;
  73. list-style-type: none;
  74. cursor: pointer;
  75. -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  76. width: 100px;
  77. height: 28px;
  78. border-width: 1px 1px 1px 0px;
  79. border-style: inset;
  80. border-color: #9CACC0;
  81. border-right-color: #5E708A;
  82. background-image: -webkit-gradient(linear, left top, left bottom, from(#abb9ca), to(#788da9), color-stop(0.5, #8297af), color-stop(0.5, #768ba7));
  83. font-family: Helvetica;
  84. font-size: 13px;
  85. color: white;
  86. text-align: center;
  87. line-height: 29px;
  88. }
  89. .mblTabButton .mblTabBarButtonAnchor, .mblTabButton .mblTabBarButtonDiv {
  90. height: 29px;
  91. }
  92. .mblTabButton:first-child {
  93. -webkit-border-top-left-radius: 5px;
  94. -webkit-border-bottom-left-radius: 5px;
  95. border-left-width: 1px;
  96. }
  97. .mblTabButton:last-child {
  98. -webkit-border-top-right-radius: 5px;
  99. -webkit-border-bottom-right-radius: 5px;
  100. border-right-color: #9CACC0;
  101. }
  102. .mblTabButtonSelected .mblTabBarButtonTextBox {
  103. color: white;
  104. }
  105. .mblTabButtonImgDiv {
  106. display: none;
  107. }
  108. .mblTabPanelHeader {
  109. position: relative;
  110. overflow: hidden;
  111. white-space: nowrap;
  112. text-overflow: ellipsis;
  113. margin: 0px;
  114. padding: 3px 0px 0px 0px;
  115. height: 39px;
  116. border-top: 1px solid #CDD5DF;
  117. border-bottom: 1px solid #2D3642;
  118. background-color: #889BB3;
  119. background-image: -webkit-gradient(linear, left top, left bottom, from(#b0bccd), to(#6d84a2), color-stop(0.5, #889bb3), color-stop(0.5, #8195af));
  120. font-family: Helvetica;
  121. font-size: 20px;
  122. color: white;
  123. text-align: center;
  124. line-height: 44px;
  125. text-shadow: rgba(0, 0, 0, 0.6) 0px -1px 0px;
  126. }
  127. .mblTabPanelHeader .mblTabButton {
  128. margin-top: 3px;
  129. }
  130. .mblTabPanelHeader .mblTabButton.mblTabButtonSelected {
  131. background-color: #5877A2;
  132. background-image: -webkit-gradient(linear, left top, left bottom, from(#8ea4c1), to(#4a6c9b), color-stop(0.5, #5877a2), color-stop(0.5, #476999));
  133. }
  134. .mblTabPanelHeader .mblTabButtonDomButton {
  135. width: 43px;
  136. }
  137. .mblTabPanelHeader .mblTabButtonDomButtonClass {
  138. left: 8px;
  139. }
  140. .mblHeading .mblTabPanelHeader .mblTabButton {
  141. margin-top: 6px;
  142. }