tabs.css 8.2 KB

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