tabs.css 7.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377
  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 a.tabs-inner {
  77. display: inline-block;
  78. text-decoration: none;
  79. margin: 0;
  80. padding: 0 10px;
  81. height: 25px;
  82. line-height: 25px;
  83. text-align: center;
  84. white-space: nowrap;
  85. border-width: 1px;
  86. border-style: solid;
  87. -moz-border-radius: 4px 4px 0 0;
  88. -webkit-border-radius: 4px 4px 0 0;
  89. border-radius: 4px 4px 0 0;
  90. }
  91. .tabs li.tabs-selected a.tabs-inner {
  92. font-weight: bold;
  93. outline: none;
  94. }
  95. .tabs li.tabs-selected a:hover.tabs-inner {
  96. cursor: default;
  97. pointer: default;
  98. }
  99. .tabs li a.tabs-close,
  100. .tabs-p-tool {
  101. position: absolute;
  102. font-size: 1px;
  103. display: block;
  104. height: 12px;
  105. padding: 0;
  106. top: 50%;
  107. margin-top: -6px;
  108. overflow: hidden;
  109. }
  110. .tabs li a.tabs-close {
  111. width: 12px;
  112. right: 5px;
  113. opacity: 0.6;
  114. filter: alpha(opacity=60);
  115. }
  116. .tabs-p-tool {
  117. right: 16px;
  118. }
  119. .tabs-p-tool a {
  120. display: inline-block;
  121. font-size: 1px;
  122. width: 12px;
  123. height: 12px;
  124. margin: 0;
  125. opacity: 0.6;
  126. filter: alpha(opacity=60);
  127. }
  128. .tabs li a:hover.tabs-close,
  129. .tabs-p-tool a:hover {
  130. opacity: 1;
  131. filter: alpha(opacity=100);
  132. cursor: hand;
  133. cursor: pointer;
  134. }
  135. .tabs-with-icon {
  136. padding-left: 18px;
  137. }
  138. .tabs-icon {
  139. position: absolute;
  140. width: 16px;
  141. height: 16px;
  142. left: 10px;
  143. top: 50%;
  144. margin-top: -8px;
  145. }
  146. .tabs-title {
  147. font-size: 14px;
  148. }
  149. .tabs-closable {
  150. padding-right: 8px;
  151. }
  152. .tabs-panels {
  153. margin: 0px;
  154. padding: 0px;
  155. border-width: 1px;
  156. border-style: solid;
  157. border-top-width: 0;
  158. overflow: hidden;
  159. }
  160. .tabs-header-bottom {
  161. border-width: 0 1px 1px 1px;
  162. padding: 0 0 2px 0;
  163. }
  164. .tabs-header-bottom .tabs {
  165. border-width: 1px 0 0 0;
  166. }
  167. .tabs-header-bottom .tabs li {
  168. margin: -1px 4px 0 0;
  169. }
  170. .tabs-header-bottom .tabs li a.tabs-inner {
  171. -moz-border-radius: 0 0 4px 4px;
  172. -webkit-border-radius: 0 0 4px 4px;
  173. border-radius: 0 0 4px 4px;
  174. }
  175. .tabs-header-bottom .tabs-tool {
  176. top: 0;
  177. }
  178. .tabs-header-bottom .tabs-scroller-left,
  179. .tabs-header-bottom .tabs-scroller-right {
  180. top: 0;
  181. bottom: auto;
  182. }
  183. .tabs-panels-top {
  184. border-width: 1px 1px 0 1px;
  185. }
  186. .tabs-header-left {
  187. float: left;
  188. border-width: 1px 0 1px 1px;
  189. padding: 0;
  190. }
  191. .tabs-header-right {
  192. float: right;
  193. border-width: 1px 1px 1px 0;
  194. padding: 0;
  195. }
  196. .tabs-header-left .tabs-wrap,
  197. .tabs-header-right .tabs-wrap {
  198. height: 100%;
  199. }
  200. .tabs-header-left .tabs {
  201. height: 100%;
  202. padding: 4px 0 0 2px;
  203. border-width: 0 1px 0 0;
  204. }
  205. .tabs-header-right .tabs {
  206. height: 100%;
  207. padding: 4px 2px 0 0;
  208. border-width: 0 0 0 1px;
  209. }
  210. .tabs-header-left .tabs li,
  211. .tabs-header-right .tabs li {
  212. display: block;
  213. width: 100%;
  214. position: relative;
  215. }
  216. .tabs-header-left .tabs li {
  217. left: auto;
  218. right: 0;
  219. margin: 0 -1px 4px 0;
  220. float: right;
  221. }
  222. .tabs-header-right .tabs li {
  223. left: 0;
  224. right: auto;
  225. margin: 0 0 4px -1px;
  226. float: left;
  227. }
  228. .tabs-justified li a.tabs-inner {
  229. padding-left: 0;
  230. padding-right: 0;
  231. }
  232. .tabs-header-left .tabs li a.tabs-inner {
  233. display: block;
  234. text-align: left;
  235. padding-left: 10px;
  236. padding-right: 10px;
  237. -moz-border-radius: 4px 0 0 4px;
  238. -webkit-border-radius: 4px 0 0 4px;
  239. border-radius: 4px 0 0 4px;
  240. }
  241. .tabs-header-right .tabs li a.tabs-inner {
  242. display: block;
  243. text-align: left;
  244. padding-left: 10px;
  245. padding-right: 10px;
  246. -moz-border-radius: 0 4px 4px 0;
  247. -webkit-border-radius: 0 4px 4px 0;
  248. border-radius: 0 4px 4px 0;
  249. }
  250. .tabs-panels-right {
  251. float: right;
  252. border-width: 1px 1px 1px 0;
  253. }
  254. .tabs-panels-left {
  255. float: left;
  256. border-width: 1px 0 1px 1px;
  257. }
  258. .tabs-header-noborder,
  259. .tabs-panels-noborder {
  260. border: 0px;
  261. }
  262. .tabs-header-plain {
  263. border: 0px;
  264. background: transparent;
  265. }
  266. .tabs-pill {
  267. padding-bottom: 3px;
  268. }
  269. .tabs-header-bottom .tabs-pill {
  270. padding-top: 3px;
  271. padding-bottom: 0;
  272. }
  273. .tabs-header-left .tabs-pill {
  274. padding-right: 3px;
  275. }
  276. .tabs-header-right .tabs-pill {
  277. padding-left: 3px;
  278. }
  279. .tabs-header .tabs-pill li a.tabs-inner {
  280. -moz-border-radius: 4px 4px 4px 4px;
  281. -webkit-border-radius: 4px 4px 4px 4px;
  282. border-radius: 4px 4px 4px 4px;
  283. }
  284. .tabs-header-narrow,
  285. .tabs-header-narrow .tabs-narrow {
  286. padding: 0;
  287. }
  288. .tabs-narrow li,
  289. .tabs-header-bottom .tabs-narrow li {
  290. margin-left: 0;
  291. margin-right: -1px;
  292. }
  293. .tabs-narrow li.tabs-last,
  294. .tabs-header-bottom .tabs-narrow li.tabs-last {
  295. margin-right: 0;
  296. }
  297. .tabs-header-left .tabs-narrow,
  298. .tabs-header-right .tabs-narrow {
  299. padding-top: 0;
  300. }
  301. .tabs-header-left .tabs-narrow li {
  302. margin-bottom: -1px;
  303. margin-right: -1px;
  304. }
  305. .tabs-header-left .tabs-narrow li.tabs-last,
  306. .tabs-header-right .tabs-narrow li.tabs-last {
  307. margin-bottom: 0;
  308. }
  309. .tabs-header-right .tabs-narrow li {
  310. margin-bottom: -1px;
  311. margin-left: -1px;
  312. }
  313. .tabs-scroller-left {
  314. background: #fafafa url('images/tabs_icons.png') no-repeat 1px center;
  315. }
  316. .tabs-scroller-right {
  317. background: #fafafa url('images/tabs_icons.png') no-repeat -15px center;
  318. }
  319. .tabs li a.tabs-close {
  320. background: url('images/tabs_icons.png') no-repeat -34px center;
  321. }
  322. .tabs li a.tabs-inner:hover {
  323. background: #eee;
  324. color: #404040;
  325. filter: none;
  326. }
  327. .tabs li.tabs-selected a.tabs-inner {
  328. background-color: #ffffff;
  329. color: #404040;
  330. }
  331. .tabs li a.tabs-inner {
  332. color: #404040;
  333. background-color: #fafafa;
  334. }
  335. .tabs-header,
  336. .tabs-tool {
  337. background-color: #fafafa;
  338. }
  339. .tabs-header-plain {
  340. background: transparent;
  341. }
  342. .tabs-header,
  343. .tabs-scroller-left,
  344. .tabs-scroller-right,
  345. .tabs-tool,
  346. .tabs,
  347. .tabs-panels,
  348. .tabs li a.tabs-inner,
  349. .tabs li.tabs-selected a.tabs-inner,
  350. .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner,
  351. .tabs-header-left .tabs li.tabs-selected a.tabs-inner,
  352. .tabs-header-right .tabs li.tabs-selected a.tabs-inner {
  353. border-color: #dfdfdf;
  354. }
  355. .tabs-p-tool a:hover,
  356. .tabs li a:hover.tabs-close,
  357. .tabs-scroller-over {
  358. background-color: #eee;
  359. }
  360. .tabs li.tabs-selected a.tabs-inner {
  361. border-bottom: 1px solid #ffffff;
  362. }
  363. .tabs-header-bottom .tabs li.tabs-selected a.tabs-inner {
  364. border-top: 1px solid #ffffff;
  365. }
  366. .tabs-header-left .tabs li.tabs-selected a.tabs-inner {
  367. border-right: 1px solid #ffffff;
  368. }
  369. .tabs-header-right .tabs li.tabs-selected a.tabs-inner {
  370. border-left: 1px solid #ffffff;
  371. }
  372. .tabs-header .tabs-pill li.tabs-selected a.tabs-inner {
  373. background: #eee;
  374. color: #39c;
  375. filter: none;
  376. border-color: #dfdfdf;
  377. }