tabs.css 7.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345
  1. /*
  2. * Ext JS Library 2.0.2
  3. * Copyright(c) 2006-2008, Ext JS, LLC.
  4. * licensing@extjs.com
  5. *
  6. * http://extjs.com/license
  7. */
  8. .x-tab-panel {
  9. overflow:hidden;
  10. }
  11. .x-tab-panel-header, .x-tab-panel-footer {
  12. background: #deecfd;
  13. border: 1px solid #8db2e3;
  14. overflow:hidden;
  15. zoom:1;
  16. }
  17. .x-tab-panel-header {
  18. border: 1px solid #8db2e3;
  19. padding-bottom: 2px;
  20. }
  21. .x-tab-panel-footer {
  22. border: 1px solid #8db2e3;
  23. padding-top: 2px;
  24. }
  25. .x-tab-strip-wrap {
  26. width:100%;
  27. overflow:hidden;
  28. position:relative;
  29. zoom:1;
  30. }
  31. ul.x-tab-strip {
  32. display:block;
  33. width:5000px;
  34. zoom:1;
  35. }
  36. ul.x-tab-strip-top{
  37. padding-top: 1px;
  38. background: url(../images/default/tabs/tab-strip-bg.gif) #cedff5 repeat-x bottom;
  39. border-bottom: 1px solid #8db2e3;
  40. }
  41. ul.x-tab-strip-bottom{
  42. padding-bottom: 1px;
  43. background: url(../images/default/tabs/tab-strip-btm-bg.gif) #cedff5 repeat-x top;
  44. border-top: 1px solid #8db2e3;
  45. border-bottom: 0 none;
  46. }
  47. .x-tab-panel-header-plain .x-tab-strip-top {
  48. background:transparent !important;
  49. padding-top:0 !important;
  50. }
  51. .x-tab-panel-header-plain {
  52. background:transparent !important;
  53. border-width:0 !important;
  54. padding-bottom:0 !important;
  55. }
  56. .x-tab-panel-header-plain .x-tab-strip-spacer {
  57. border:1px solid #8db2e3;
  58. border-top: 0 none;
  59. height:2px;
  60. background: #deecfd;
  61. font-size:1px;
  62. line-height:1px;
  63. }
  64. .ext-border-box .x-tab-panel-header-plain .x-tab-strip-spacer {
  65. height:3px;
  66. }
  67. ul.x-tab-strip li {
  68. float:left;
  69. margin-left:2px;
  70. }
  71. ul.x-tab-strip li.x-tab-edge {
  72. float:left;
  73. margin:0 !important;
  74. padding:0 !important;
  75. border:0 none !important;
  76. font-size:1px !important;
  77. line-height:1px !important;
  78. overflow:hidden;
  79. zoom:1;
  80. background:transparent !important;
  81. width:1px;
  82. }
  83. .x-tab-strip a, .x-tab-strip span, .x-tab-strip em {
  84. display:block;
  85. }
  86. .x-tab-strip a {
  87. text-decoration:none !important;
  88. -moz-outline: none;
  89. outline: none;
  90. cursor:pointer;
  91. }
  92. .x-tab-strip-inner {
  93. overflow:hidden;
  94. text-overflow: ellipsis;
  95. }
  96. .x-tab-strip span.x-tab-strip-text {
  97. font:normal 11px tahoma,arial,helvetica;
  98. color:#416aa3;
  99. white-space: nowrap;
  100. cursor:pointer;
  101. padding:4px 0;
  102. }
  103. .x-tab-strip .x-tab-with-icon .x-tab-right {
  104. padding-left:6px;
  105. }
  106. .x-tab-strip .x-tab-with-icon span.x-tab-strip-text {
  107. padding-left:20px;
  108. background-position: 0 3px;
  109. background-repeat: no-repeat;
  110. }
  111. .x-tab-strip-over span.x-tab-strip-text {
  112. color:#15428b;
  113. }
  114. .x-tab-strip-active {
  115. cursor:default;
  116. }
  117. .x-tab-strip-active span.x-tab-strip-text {
  118. cursor:default;
  119. color:#15428b;
  120. font-weight:bold;
  121. }
  122. .x-tab-strip-disabled .x-tabs-text {
  123. cursor:default;
  124. color:#aaaaaa;
  125. }
  126. .x-tab-panel-body {
  127. overflow:hidden;
  128. }
  129. .x-tab-panel-bwrap {
  130. overflow:hidden;
  131. }
  132. .ext-ie .x-tab-strip .x-tab-right {
  133. position:relative;
  134. }
  135. .x-tab-strip-top .x-tab-strip-active .x-tab-right {
  136. margin-bottom:-1px;
  137. }
  138. .x-tab-strip-top .x-tab-strip-active .x-tab-right span.x-tab-strip-text {
  139. padding-bottom:5px;
  140. }
  141. .x-tab-strip-bottom .x-tab-strip-active .x-tab-right {
  142. margin-top:-1px;
  143. }
  144. .x-tab-strip-bottom .x-tab-strip-active .x-tab-right span.x-tab-strip-text {
  145. padding-top:5px;
  146. }
  147. .x-tab-strip-top .x-tab-right {
  148. background: transparent url(../images/default/tabs/tabs-sprite.gif) no-repeat 0 -51px;
  149. padding-left:10px;
  150. }
  151. .x-tab-strip-top .x-tab-left {
  152. background: transparent url(../images/default/tabs/tabs-sprite.gif) no-repeat right -351px;
  153. padding-right:10px;
  154. }
  155. .x-tab-strip-top .x-tab-strip-inner {
  156. background: transparent url(../images/default/tabs/tabs-sprite.gif) repeat-x 0 -201px;
  157. }
  158. .x-tab-strip-top .x-tab-strip-over .x-tab-right {
  159. background-position:0 -101px;
  160. }
  161. .x-tab-strip-top .x-tab-strip-over .x-tab-left {
  162. background-position:right -401px;
  163. }
  164. .x-tab-strip-top .x-tab-strip-over .x-tab-strip-inner {
  165. background-position:0 -251px;
  166. }
  167. .x-tab-strip-top .x-tab-strip-active .x-tab-right {
  168. background-position: 0 0;
  169. }
  170. .x-tab-strip-top .x-tab-strip-active .x-tab-left {
  171. background-position: right -301px;
  172. }
  173. .x-tab-strip-top .x-tab-strip-active .x-tab-strip-inner {
  174. background-position: 0 -151px;
  175. }
  176. .x-tab-strip-bottom .x-tab-right {
  177. background: url(../images/default/tabs/tab-btm-inactive-right-bg.gif) no-repeat bottom right;
  178. }
  179. .x-tab-strip-bottom .x-tab-left {
  180. background: url(../images/default/tabs/tab-btm-inactive-left-bg.gif) no-repeat bottom left;
  181. }
  182. .x-tab-strip-bottom .x-tab-strip-active .x-tab-right {
  183. background: url(../images/default/tabs/tab-btm-right-bg.gif) no-repeat bottom left;
  184. }
  185. .x-tab-strip-bottom .x-tab-strip-active .x-tab-left {
  186. background: url(../images/default/tabs/tab-btm-left-bg.gif) no-repeat bottom right;
  187. }
  188. .x-tab-strip-bottom .x-tab-left {
  189. padding:0 10px;
  190. }
  191. .x-tab-strip-bottom .x-tab-right {
  192. padding:0;
  193. }
  194. .x-tab-strip .x-tab-strip-close {
  195. display:none;
  196. }
  197. .x-tab-strip-closable {
  198. position:relative;
  199. }
  200. .x-tab-strip-closable .x-tab-left {
  201. padding-right:19px;
  202. }
  203. .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close {
  204. background-image:url(../images/default/tabs/tab-close.gif);
  205. opacity:.6;
  206. -moz-opacity:.6;
  207. background-repeat:no-repeat;
  208. display:block;
  209. width:11px;height:11px;
  210. position:absolute;
  211. top:3px;
  212. right:3px;
  213. cursor:pointer;
  214. z-index:2;
  215. }
  216. .x-tab-strip .x-tab-strip-active a.x-tab-strip-close {
  217. opacity:.8;
  218. -moz-opacity:.8;
  219. }
  220. .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close:hover{
  221. background-image:url(../images/default/tabs/tab-close.gif);
  222. opacity:1;
  223. -moz-opacity:1;
  224. }
  225. .x-tab-panel-body {
  226. border: 1px solid #8db2e3;
  227. background:#fff;
  228. }
  229. .x-tab-panel-body-top {
  230. border-top: 0 none;
  231. }
  232. .x-tab-panel-body-bottom {
  233. border-bottom: 0 none;
  234. }
  235. .x-tab-scroller-left {
  236. background: transparent url(../images/default/tabs/scroll-left.gif) no-repeat -18px 0;
  237. border-bottom: 1px solid #8db2e3;
  238. width:18px;
  239. position:absolute;
  240. left:0;
  241. top:0;
  242. z-index:10;
  243. cursor:pointer;
  244. }
  245. .x-tab-scroller-left-over {
  246. background-position: 0 0;
  247. }
  248. .x-tab-scroller-left-disabled {
  249. background-position: -18px 0;
  250. opacity:.5;
  251. -moz-opacity:.5;
  252. filter:alpha(opacity=50);
  253. cursor:default;
  254. }
  255. .x-tab-scroller-right {
  256. background: transparent url(../images/default/tabs/scroll-right.gif) no-repeat 0 0;
  257. border-bottom: 1px solid #8db2e3;
  258. width:18px;
  259. position:absolute;
  260. right:0;
  261. top:0;
  262. z-index:10;
  263. cursor:pointer;
  264. }
  265. .x-tab-scroller-right-over {
  266. background-position: -18px 0;
  267. }
  268. .x-tab-scroller-right-disabled {
  269. background-position: 0 0;
  270. opacity:.5;
  271. -moz-opacity:.5;
  272. filter:alpha(opacity=50);
  273. cursor:default;
  274. }
  275. .x-tab-scrolling .x-tab-strip-wrap {
  276. margin-left:18px;
  277. margin-right:18px;
  278. }
  279. .x-tab-scrolling {
  280. position:relative;
  281. }
  282. .x-tab-panel-bbar .x-toolbar {
  283. border:1px solid #99bbe8;
  284. border-top:0 none;
  285. overflow:hidden;
  286. padding:2px;
  287. }
  288. .x-tab-panel-tbar .x-toolbar {
  289. border:1px solid #99bbe8;
  290. border-top:0 none;
  291. overflow:hidden;
  292. padding:2px;
  293. }
  294. .x-border-layout-ct .x-tab-panel {
  295. background: white;
  296. }