tabs.css 9.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415
  1. .tabs-container {
  2. overflow: hidden;
  3. }
  4. .tabs-header {
  5. border-width: 1px;
  6. border-style: solid;
  7. border-bottom-width: 0;
  8. position: relative;
  9. padding: 0;
  10. padding-top: 2px;
  11. overflow: hidden;
  12. }
  13. .tabs-scroller-left,
  14. .tabs-scroller-right {
  15. position: absolute;
  16. top: auto;
  17. bottom: 0;
  18. width: 18px;
  19. font-size: 1px;
  20. display: none;
  21. cursor: pointer;
  22. border-width: 1px;
  23. border-style: solid;
  24. }
  25. .tabs-scroller-left {
  26. left: 0;
  27. }
  28. .tabs-scroller-right {
  29. right: 0;
  30. }
  31. .tabs-tool {
  32. position: absolute;
  33. bottom: 0;
  34. padding: 1px;
  35. overflow: hidden;
  36. border-width: 1px;
  37. border-style: solid;
  38. }
  39. .tabs-header-plain .tabs-tool {
  40. padding: 0 1px;
  41. }
  42. .tabs-wrap {
  43. position: relative;
  44. left: 0;
  45. overflow: hidden;
  46. width: 100%;
  47. margin: 0;
  48. padding: 0;
  49. }
  50. .tabs-scrolling {
  51. margin-left: 18px;
  52. margin-right: 18px;
  53. }
  54. .tabs-disabled {
  55. opacity: 0.3;
  56. filter: alpha(opacity=30);
  57. }
  58. .tabs {
  59. list-style-type: none;
  60. height: 26px;
  61. margin: 0px;
  62. padding: 0px;
  63. padding-left: 4px;
  64. width: 50000px;
  65. border-style: solid;
  66. border-width: 0 0 1px 0;
  67. }
  68. .tabs li {
  69. float: left;
  70. display: inline-block;
  71. margin: 0 4px -1px 0;
  72. padding: 0;
  73. position: relative;
  74. border: 0;
  75. }
  76. .tabs li .tabs-inner {
  77. display: inline-block;
  78. text-decoration: none;
  79. cursor: hand;
  80. cursor: pointer;
  81. margin: 0;
  82. padding: 0 10px;
  83. height: 25px;
  84. line-height: 25px;
  85. text-align: center;
  86. white-space: nowrap;
  87. border-width: 1px;
  88. border-style: solid;
  89. -moz-border-radius: 5px 5px 0 0;
  90. -webkit-border-radius: 5px 5px 0 0;
  91. border-radius: 5px 5px 0 0;
  92. }
  93. .tabs li.tabs-selected .tabs-inner {
  94. font-weight: bold;
  95. outline: none;
  96. }
  97. .tabs li.tabs-selected .tabs-inner:hover {
  98. cursor: default;
  99. pointer: default;
  100. }
  101. .tabs li a.tabs-close,
  102. .tabs-p-tool {
  103. position: absolute;
  104. font-size: 1px;
  105. display: block;
  106. height: 12px;
  107. padding: 0;
  108. top: 50%;
  109. margin-top: -6px;
  110. overflow: hidden;
  111. }
  112. .tabs li a.tabs-close {
  113. width: 12px;
  114. right: 5px;
  115. opacity: 0.6;
  116. filter: alpha(opacity=60);
  117. }
  118. .tabs-p-tool {
  119. right: 16px;
  120. }
  121. .tabs-p-tool a {
  122. display: inline-block;
  123. font-size: 1px;
  124. width: 12px;
  125. height: 12px;
  126. margin: 0;
  127. opacity: 0.6;
  128. filter: alpha(opacity=60);
  129. }
  130. .tabs li a:hover.tabs-close,
  131. .tabs-p-tool a:hover {
  132. opacity: 1;
  133. filter: alpha(opacity=100);
  134. cursor: hand;
  135. cursor: pointer;
  136. }
  137. .tabs-with-icon {
  138. padding-left: 18px;
  139. }
  140. .tabs-icon {
  141. position: absolute;
  142. width: 16px;
  143. height: 16px;
  144. left: 10px;
  145. top: 50%;
  146. margin-top: -8px;
  147. }
  148. .tabs-title {
  149. font-size: 14px;
  150. }
  151. .tabs-closable {
  152. padding-right: 8px;
  153. }
  154. .tabs-panels {
  155. margin: 0px;
  156. padding: 0px;
  157. border-width: 1px;
  158. border-style: solid;
  159. border-top-width: 0;
  160. overflow: hidden;
  161. }
  162. .tabs-header-bottom {
  163. border-width: 0 1px 1px 1px;
  164. padding: 0 0 2px 0;
  165. }
  166. .tabs-header-bottom .tabs {
  167. border-width: 1px 0 0 0;
  168. }
  169. .tabs-header-bottom .tabs li {
  170. margin: -1px 4px 0 0;
  171. }
  172. .tabs-header-bottom .tabs li .tabs-inner {
  173. -moz-border-radius: 0 0 5px 5px;
  174. -webkit-border-radius: 0 0 5px 5px;
  175. border-radius: 0 0 5px 5px;
  176. }
  177. .tabs-header-bottom .tabs-tool {
  178. top: 0;
  179. }
  180. .tabs-header-bottom .tabs-scroller-left,
  181. .tabs-header-bottom .tabs-scroller-right {
  182. top: 0;
  183. bottom: auto;
  184. }
  185. .tabs-panels-top {
  186. border-width: 1px 1px 0 1px;
  187. }
  188. .tabs-header-left {
  189. float: left;
  190. border-width: 1px 0 1px 1px;
  191. padding: 0;
  192. }
  193. .tabs-header-right {
  194. float: right;
  195. border-width: 1px 1px 1px 0;
  196. padding: 0;
  197. }
  198. .tabs-header-left .tabs-wrap,
  199. .tabs-header-right .tabs-wrap {
  200. height: 100%;
  201. }
  202. .tabs-header-left .tabs {
  203. height: 100%;
  204. padding: 4px 0 0 2px;
  205. border-width: 0 1px 0 0;
  206. }
  207. .tabs-header-right .tabs {
  208. height: 100%;
  209. padding: 4px 2px 0 0;
  210. border-width: 0 0 0 1px;
  211. }
  212. .tabs-header-left .tabs li,
  213. .tabs-header-right .tabs li {
  214. display: block;
  215. width: 100%;
  216. position: relative;
  217. }
  218. .tabs-header-left .tabs li {
  219. left: auto;
  220. right: 0;
  221. margin: 0 -1px 4px 0;
  222. float: right;
  223. }
  224. .tabs-header-right .tabs li {
  225. left: 0;
  226. right: auto;
  227. margin: 0 0 4px -1px;
  228. float: left;
  229. }
  230. .tabs-justified li .tabs-inner {
  231. padding-left: 0;
  232. padding-right: 0;
  233. }
  234. .tabs-header-left .tabs li .tabs-inner {
  235. display: block;
  236. text-align: left;
  237. padding-left: 10px;
  238. padding-right: 10px;
  239. -moz-border-radius: 5px 0 0 5px;
  240. -webkit-border-radius: 5px 0 0 5px;
  241. border-radius: 5px 0 0 5px;
  242. }
  243. .tabs-header-right .tabs li .tabs-inner {
  244. display: block;
  245. text-align: left;
  246. padding-left: 10px;
  247. padding-right: 10px;
  248. -moz-border-radius: 0 5px 5px 0;
  249. -webkit-border-radius: 0 5px 5px 0;
  250. border-radius: 0 5px 5px 0;
  251. }
  252. .tabs-panels-right {
  253. float: right;
  254. border-width: 1px 1px 1px 0;
  255. }
  256. .tabs-panels-left {
  257. float: left;
  258. border-width: 1px 0 1px 1px;
  259. }
  260. .tabs-header-noborder,
  261. .tabs-panels-noborder {
  262. border: 0px;
  263. }
  264. .tabs-header-plain {
  265. border: 0px;
  266. background: transparent;
  267. }
  268. .tabs-pill {
  269. padding-bottom: 3px;
  270. }
  271. .tabs-header-bottom .tabs-pill {
  272. padding-top: 3px;
  273. padding-bottom: 0;
  274. }
  275. .tabs-header-left .tabs-pill {
  276. padding-right: 3px;
  277. }
  278. .tabs-header-right .tabs-pill {
  279. padding-left: 3px;
  280. }
  281. .tabs-header .tabs-pill li .tabs-inner {
  282. -moz-border-radius: 5px 5px 5px 5px;
  283. -webkit-border-radius: 5px 5px 5px 5px;
  284. border-radius: 5px 5px 5px 5px;
  285. }
  286. .tabs-header-narrow,
  287. .tabs-header-narrow .tabs-narrow {
  288. padding: 0;
  289. }
  290. .tabs-narrow li,
  291. .tabs-header-bottom .tabs-narrow li {
  292. margin-left: 0;
  293. margin-right: -1px;
  294. }
  295. .tabs-narrow li.tabs-last,
  296. .tabs-header-bottom .tabs-narrow li.tabs-last {
  297. margin-right: 0;
  298. }
  299. .tabs-header-left .tabs-narrow,
  300. .tabs-header-right .tabs-narrow {
  301. padding-top: 0;
  302. }
  303. .tabs-header-left .tabs-narrow li {
  304. margin-bottom: -1px;
  305. margin-right: -1px;
  306. }
  307. .tabs-header-left .tabs-narrow li.tabs-last,
  308. .tabs-header-right .tabs-narrow li.tabs-last {
  309. margin-bottom: 0;
  310. }
  311. .tabs-header-right .tabs-narrow li {
  312. margin-bottom: -1px;
  313. margin-left: -1px;
  314. }
  315. .tabs-scroller-left {
  316. background: #f3f3f3 url('images/tabs_icons.png') no-repeat 1px center;
  317. }
  318. .tabs-scroller-right {
  319. background: #f3f3f3 url('images/tabs_icons.png') no-repeat -15px center;
  320. }
  321. .tabs li a.tabs-close {
  322. background: url('images/tabs_icons.png') no-repeat -34px center;
  323. }
  324. .tabs li .tabs-inner:hover {
  325. background: #e2e2e2;
  326. color: #000000;
  327. filter: none;
  328. }
  329. .tabs li.tabs-selected .tabs-inner {
  330. background-color: #ffffff;
  331. color: #575765;
  332. background: -webkit-linear-gradient(top,#F8F8F8 0,#ffffff 100%);
  333. background: -moz-linear-gradient(top,#F8F8F8 0,#ffffff 100%);
  334. background: -o-linear-gradient(top,#F8F8F8 0,#ffffff 100%);
  335. background: linear-gradient(to bottom,#F8F8F8 0,#ffffff 100%);
  336. background-repeat: repeat-x;
  337. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=0);
  338. }
  339. .tabs-header-bottom .tabs li.tabs-selected .tabs-inner {
  340. background: -webkit-linear-gradient(top,#ffffff 0,#F8F8F8 100%);
  341. background: -moz-linear-gradient(top,#ffffff 0,#F8F8F8 100%);
  342. background: -o-linear-gradient(top,#ffffff 0,#F8F8F8 100%);
  343. background: linear-gradient(to bottom,#ffffff 0,#F8F8F8 100%);
  344. background-repeat: repeat-x;
  345. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=0);
  346. }
  347. .tabs-header-left .tabs li.tabs-selected .tabs-inner {
  348. background: -webkit-linear-gradient(left,#F8F8F8 0,#ffffff 100%);
  349. background: -moz-linear-gradient(left,#F8F8F8 0,#ffffff 100%);
  350. background: -o-linear-gradient(left,#F8F8F8 0,#ffffff 100%);
  351. background: linear-gradient(to right,#F8F8F8 0,#ffffff 100%);
  352. background-repeat: repeat-y;
  353. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=1);
  354. }
  355. .tabs-header-right .tabs li.tabs-selected .tabs-inner {
  356. background: -webkit-linear-gradient(left,#ffffff 0,#F8F8F8 100%);
  357. background: -moz-linear-gradient(left,#ffffff 0,#F8F8F8 100%);
  358. background: -o-linear-gradient(left,#ffffff 0,#F8F8F8 100%);
  359. background: linear-gradient(to right,#ffffff 0,#F8F8F8 100%);
  360. background-repeat: repeat-y;
  361. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=1);
  362. }
  363. .tabs li .tabs-inner {
  364. color: #575765;
  365. background-color: #f3f3f3;
  366. background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%);
  367. background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%);
  368. background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%);
  369. background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%);
  370. background-repeat: repeat-x;
  371. filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0);
  372. }
  373. .tabs-header,
  374. .tabs-tool {
  375. background-color: #f3f3f3;
  376. }
  377. .tabs-header-plain {
  378. background: transparent;
  379. }
  380. .tabs-header,
  381. .tabs-scroller-left,
  382. .tabs-scroller-right,
  383. .tabs-tool,
  384. .tabs,
  385. .tabs-panels,
  386. .tabs li .tabs-inner,
  387. .tabs li.tabs-selected .tabs-inner,
  388. .tabs-header-bottom .tabs li.tabs-selected .tabs-inner,
  389. .tabs-header-left .tabs li.tabs-selected .tabs-inner,
  390. .tabs-header-right .tabs li.tabs-selected .tabs-inner {
  391. border-color: #D3D3D3;
  392. }
  393. .tabs-p-tool a:hover,
  394. .tabs li a:hover.tabs-close,
  395. .tabs-scroller-over {
  396. background-color: #e2e2e2;
  397. }
  398. .tabs li.tabs-selected .tabs-inner {
  399. border-bottom: 1px solid #ffffff;
  400. }
  401. .tabs-header-bottom .tabs li.tabs-selected .tabs-inner {
  402. border-top: 1px solid #ffffff;
  403. }
  404. .tabs-header-left .tabs li.tabs-selected .tabs-inner {
  405. border-right: 1px solid #ffffff;
  406. }
  407. .tabs-header-right .tabs li.tabs-selected .tabs-inner {
  408. border-left: 1px solid #ffffff;
  409. }
  410. .tabs-header .tabs-pill li.tabs-selected .tabs-inner {
  411. background: #0092DC;
  412. color: #fff;
  413. filter: none;
  414. border-color: #D3D3D3;
  415. }