tabs.css 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407
  1. /*
  2. This file is part of Ext JS 3.4
  3. Copyright (c) 2011-2013 Sencha Inc
  4. Contact: http://www.sencha.com/contact
  5. GNU General Public License Usage
  6. This file may be used under the terms of the GNU General Public License version 3.0 as
  7. published by the Free Software Foundation and appearing in the file LICENSE included in the
  8. packaging of this file.
  9. Please review the following information to ensure the GNU General Public License version 3.0
  10. requirements will be met: http://www.gnu.org/copyleft/gpl.html.
  11. If you are unsure which license is appropriate for your use, please contact the sales department
  12. at http://www.sencha.com/contact.
  13. Build date: 2013-04-03 15:07:25
  14. */
  15. .x-tab-panel {
  16. overflow:hidden;
  17. }
  18. .x-tab-panel-header, .x-tab-panel-footer {
  19. border: 1px solid;
  20. overflow:hidden;
  21. zoom:1;
  22. }
  23. .x-tab-panel-header {
  24. border: 1px solid;
  25. padding-bottom: 2px;
  26. }
  27. .x-tab-panel-footer {
  28. border: 1px solid;
  29. padding-top: 2px;
  30. }
  31. .x-tab-strip-wrap {
  32. width:100%;
  33. overflow:hidden;
  34. position:relative;
  35. zoom:1;
  36. }
  37. ul.x-tab-strip {
  38. display:block;
  39. width:5000px;
  40. zoom:1;
  41. }
  42. ul.x-tab-strip-top{
  43. padding-top: 1px;
  44. background: repeat-x bottom;
  45. border-bottom: 1px solid;
  46. }
  47. ul.x-tab-strip-bottom{
  48. padding-bottom: 1px;
  49. background: repeat-x top;
  50. border-top: 1px solid;
  51. border-bottom: 0 none;
  52. }
  53. .x-tab-panel-header-plain .x-tab-strip-top {
  54. background:transparent !important;
  55. padding-top:0 !important;
  56. }
  57. .x-tab-panel-header-plain {
  58. background:transparent !important;
  59. border-width:0 !important;
  60. padding-bottom:0 !important;
  61. }
  62. .x-tab-panel-header-plain .x-tab-strip-spacer,
  63. .x-tab-panel-footer-plain .x-tab-strip-spacer {
  64. border:1px solid;
  65. height:2px;
  66. font-size:1px;
  67. line-height:1px;
  68. }
  69. .x-tab-panel-header-plain .x-tab-strip-spacer {
  70. border-top: 0 none;
  71. }
  72. .x-tab-panel-footer-plain .x-tab-strip-spacer {
  73. border-bottom: 0 none;
  74. }
  75. .x-tab-panel-footer-plain .x-tab-strip-bottom {
  76. background:transparent !important;
  77. padding-bottom:0 !important;
  78. }
  79. .x-tab-panel-footer-plain {
  80. background:transparent !important;
  81. border-width:0 !important;
  82. padding-top:0 !important;
  83. }
  84. .ext-border-box .x-tab-panel-header-plain .x-tab-strip-spacer,
  85. .ext-border-box .x-tab-panel-footer-plain .x-tab-strip-spacer {
  86. height:3px;
  87. }
  88. ul.x-tab-strip li {
  89. float:left;
  90. margin-left:2px;
  91. }
  92. ul.x-tab-strip li.x-tab-edge {
  93. float:left;
  94. margin:0 !important;
  95. padding:0 !important;
  96. border:0 none !important;
  97. font-size:1px !important;
  98. line-height:1px !important;
  99. overflow:hidden;
  100. zoom:1;
  101. background:transparent !important;
  102. width:1px;
  103. }
  104. .x-tab-strip a, .x-tab-strip span, .x-tab-strip em {
  105. display:block;
  106. }
  107. .x-tab-strip a {
  108. text-decoration:none !important;
  109. -moz-outline: none;
  110. outline: none;
  111. cursor:pointer;
  112. }
  113. .x-tab-strip-inner {
  114. overflow:hidden;
  115. text-overflow: ellipsis;
  116. }
  117. .x-tab-strip span.x-tab-strip-text {
  118. white-space: nowrap;
  119. cursor:pointer;
  120. padding:4px 0;
  121. }
  122. .x-tab-strip-top .x-tab-with-icon .x-tab-right {
  123. padding-left:6px;
  124. }
  125. .x-tab-strip .x-tab-with-icon span.x-tab-strip-text {
  126. padding-left:20px;
  127. background-position: 0 3px;
  128. background-repeat: no-repeat;
  129. }
  130. .x-tab-strip-active, .x-tab-strip-active a.x-tab-right {
  131. cursor:default;
  132. }
  133. .x-tab-strip-active span.x-tab-strip-text {
  134. cursor:default;
  135. }
  136. .x-tab-strip-disabled .x-tabs-text {
  137. cursor:default;
  138. }
  139. .x-tab-panel-body {
  140. overflow:hidden;
  141. }
  142. .x-tab-panel-bwrap {
  143. overflow:hidden;
  144. }
  145. .ext-ie .x-tab-strip .x-tab-right {
  146. position:relative;
  147. }
  148. .x-tab-strip-top .x-tab-strip-active .x-tab-right {
  149. margin-bottom:-1px;
  150. }
  151. /*
  152. * For IE8/9 in quirks mode
  153. */
  154. .ext-ie8 .x-tab-strip li {
  155. position: relative;
  156. }
  157. .ext-border-box .ext-ie8 .x-tab-strip-top .x-tab-right, .ext-border-box .ext-ie9 .x-tab-strip-top .x-tab-right {
  158. top: 1px;
  159. }
  160. .ext-ie8 .x-tab-strip-top, .ext-ie9 .x-tab-strip-top {
  161. padding-top: 1px;
  162. }
  163. .ext-border-box .ext-ie8 .x-tab-strip-top, .ext-border-box .ext-ie9 .x-tab-strip-top {
  164. padding-top: 0;
  165. }
  166. .ext-ie8 .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close, .ext-ie9 .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close {
  167. top:3px;
  168. }
  169. .ext-border-box .ext-ie8 .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close,
  170. .ext-border-box .ext-ie9 .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close {
  171. top:4px;
  172. }
  173. .ext-ie8 .x-tab-strip-bottom .x-tab-right, .ext-ie9 .x-tab-strip-bottom .x-tab-right{
  174. top:0;
  175. }
  176. .x-tab-strip-top .x-tab-strip-active .x-tab-right span.x-tab-strip-text {
  177. padding-bottom:5px;
  178. }
  179. .x-tab-strip-bottom .x-tab-strip-active .x-tab-right {
  180. margin-top:-1px;
  181. }
  182. .x-tab-strip-bottom .x-tab-strip-active .x-tab-right span.x-tab-strip-text {
  183. padding-top:5px;
  184. }
  185. .x-tab-strip-top .x-tab-right {
  186. background: transparent no-repeat 0 -51px;
  187. padding-left:10px;
  188. }
  189. .x-tab-strip-top .x-tab-left {
  190. background: transparent no-repeat right -351px;
  191. padding-right:10px;
  192. }
  193. .x-tab-strip-top .x-tab-strip-inner {
  194. background: transparent repeat-x 0 -201px;
  195. }
  196. .x-tab-strip-top .x-tab-strip-over .x-tab-right {
  197. background-position:0 -101px;
  198. }
  199. .x-tab-strip-top .x-tab-strip-over .x-tab-left {
  200. background-position:right -401px;
  201. }
  202. .x-tab-strip-top .x-tab-strip-over .x-tab-strip-inner {
  203. background-position:0 -251px;
  204. }
  205. .x-tab-strip-top .x-tab-strip-active .x-tab-right {
  206. background-position: 0 0;
  207. }
  208. .x-tab-strip-top .x-tab-strip-active .x-tab-left {
  209. background-position: right -301px;
  210. }
  211. .x-tab-strip-top .x-tab-strip-active .x-tab-strip-inner {
  212. background-position: 0 -151px;
  213. }
  214. .x-tab-strip-bottom .x-tab-right {
  215. background: no-repeat bottom right;
  216. }
  217. .x-tab-strip-bottom .x-tab-left {
  218. background: no-repeat bottom left;
  219. }
  220. .x-tab-strip-bottom .x-tab-strip-active .x-tab-right {
  221. background: no-repeat bottom right;
  222. }
  223. .x-tab-strip-bottom .x-tab-strip-active .x-tab-left {
  224. background: no-repeat bottom left;
  225. }
  226. .x-tab-strip-bottom .x-tab-left {
  227. margin-right: 3px;
  228. padding:0 10px;
  229. }
  230. .x-tab-strip-bottom .x-tab-right {
  231. padding:0;
  232. }
  233. .x-tab-strip .x-tab-strip-close {
  234. display:none;
  235. }
  236. .x-tab-strip-closable {
  237. position:relative;
  238. }
  239. .x-tab-strip-closable .x-tab-left {
  240. padding-right:19px;
  241. }
  242. .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close {
  243. opacity:.6;
  244. -moz-opacity:.6;
  245. background-repeat:no-repeat;
  246. display:block;
  247. width:11px;
  248. height:11px;
  249. position:absolute;
  250. top:3px;
  251. right:3px;
  252. cursor:pointer;
  253. z-index:2;
  254. }
  255. .x-tab-strip .x-tab-strip-active a.x-tab-strip-close {
  256. opacity:.8;
  257. -moz-opacity:.8;
  258. }
  259. .x-tab-strip .x-tab-strip-closable a.x-tab-strip-close:hover{
  260. opacity:1;
  261. -moz-opacity:1;
  262. }
  263. .x-tab-panel-body {
  264. border: 1px solid;
  265. }
  266. .x-tab-panel-body-top {
  267. border-top: 0 none;
  268. }
  269. .x-tab-panel-body-bottom {
  270. border-bottom: 0 none;
  271. }
  272. .x-tab-scroller-left {
  273. background: transparent no-repeat -18px 0;
  274. border-bottom: 1px solid;
  275. width:18px;
  276. position:absolute;
  277. left:0;
  278. top:0;
  279. z-index:10;
  280. cursor:pointer;
  281. }
  282. .x-tab-scroller-left-over {
  283. background-position: 0 0;
  284. }
  285. .x-tab-scroller-left-disabled {
  286. background-position: -18px 0;
  287. opacity:.5;
  288. -moz-opacity:.5;
  289. filter:alpha(opacity=50);
  290. cursor:default;
  291. }
  292. .x-tab-scroller-right {
  293. background: transparent no-repeat 0 0;
  294. border-bottom: 1px solid;
  295. width:18px;
  296. position:absolute;
  297. right:0;
  298. top:0;
  299. z-index:10;
  300. cursor:pointer;
  301. }
  302. .x-tab-scroller-right-over {
  303. background-position: -18px 0;
  304. }
  305. .x-tab-scroller-right-disabled {
  306. background-position: 0 0;
  307. opacity:.5;
  308. -moz-opacity:.5;
  309. filter:alpha(opacity=50);
  310. cursor:default;
  311. }
  312. .x-tab-scrolling-bottom .x-tab-scroller-left, .x-tab-scrolling-bottom .x-tab-scroller-right{
  313. margin-top: 1px;
  314. }
  315. .x-tab-scrolling .x-tab-strip-wrap {
  316. margin-left:18px;
  317. margin-right:18px;
  318. }
  319. .x-tab-scrolling {
  320. position:relative;
  321. }
  322. .x-tab-panel-bbar .x-toolbar {
  323. border:1px solid;
  324. border-top:0 none;
  325. overflow:hidden;
  326. padding:2px;
  327. }
  328. .x-tab-panel-tbar .x-toolbar {
  329. border:1px solid;
  330. border-top:0 none;
  331. overflow:hidden;
  332. padding:2px;
  333. }