UU跑腿标准版

tab.css 5.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256
  1. /* -----------------------
  2. * tab *
  3. * ----------------------- */
  4. .l-tab-links {
  5. background: none;
  6. border: none;
  7. }
  8. .l-tab-links li {
  9. background: none;
  10. border: none;
  11. }
  12. .l-tab-loading {
  13. position: absolute;
  14. z-index: 999;
  15. top: 0;
  16. left: 0;
  17. background: white url('../images/bigloading.gif') no-repeat center 40%;
  18. width: 100%;
  19. height: 100%;
  20. _height: 800px;
  21. display: none;
  22. }
  23. .l-tab-links {
  24. position: relative;
  25. margin: 0 18px -1px;
  26. height: 29px;
  27. overflow: hidden;
  28. z-index: 1;
  29. }
  30. .l-tab-links-left, .l-tab-links-right {
  31. position: absolute;
  32. top: 2px;
  33. width: 16px;
  34. height: 28px;
  35. border: 1px solid #dedede;
  36. background: #fff;
  37. z-index: 13;
  38. overflow: hidden;
  39. cursor: pointer;
  40. }
  41. .l-tab-links-left {
  42. left: 0;
  43. border-top-left-radius: 2px;
  44. }
  45. .l-tab-links-right {
  46. right: 0;
  47. border-top-right-radius: 2px;
  48. }
  49. .l-tab-links-left span, .l-tab-links-right span {
  50. position: absolute;
  51. left: 50%;
  52. top: 50%;
  53. margin: -5px 0 0 -3.5px;
  54. width: 7px;
  55. height: 11px;
  56. background: url('../images/tab_arrow_spr.png') no-repeat 0 -16px;
  57. font-size: 0;
  58. overflow: hidden;
  59. }
  60. .l-tab-links-right span {
  61. background-position: -16px -16px;
  62. }
  63. .l-tab-links-left-over, .l-tab-links-right-over {
  64. background: #f4f4f4;
  65. }
  66. .l-tab-links-left-over i {
  67. background-position: 0 -16px;
  68. }
  69. .l-tab-links-right-over i {
  70. background-position: -16px -16px;
  71. }
  72. .l-tab-links-left-invalid {
  73. background-position: 0 0;
  74. }
  75. .l-tab-links-right-invalid {
  76. background-position: -16px 0;
  77. }
  78. .l-tab-links ul {
  79. padding: 2px 0 0 1px;
  80. list-style: none;
  81. width: 9999px;
  82. overflow: hidden;
  83. position: absolute;
  84. top: 0;
  85. left: 0;
  86. zoom: 1;
  87. }
  88. .l-tab-links li {
  89. float: left;
  90. margin: 0;
  91. padding: 0;
  92. display: inline;
  93. margin-left: -1px;
  94. height: 28px;
  95. line-height: 28px;
  96. cursor: pointer;
  97. position: relative;
  98. overflow: hidden;
  99. border: 1px solid #dedede;
  100. }
  101. .l-tab-links li:first-child {
  102. border-top-left-radius: 2px;
  103. }
  104. .l-tab-links li:last-child {
  105. border-top-right-radius: 2px;
  106. }
  107. .l-tab-links li.l-selected {
  108. height: 30px;
  109. line-height: 30px;
  110. top: -2px;
  111. z-index: 10;
  112. border: 1px solid #CCC;
  113. border-bottom: 1px solid #f4f4f4;
  114. z-index: 10;
  115. border-top-left-radius: 2px;
  116. border-top-right-radius: 2px;
  117. background: #f4f4f4;
  118. /*background: -moz-linear-gradient(top, #fcfcfc, #f4f4f4);
  119. background: -webkit-gradient(linear, 0 0, 0 100%, from(#fcfcfc), to(#f4f4f4));
  120. background: -o-linear-gradient(top, #fcfcfc, #f4f4f4);
  121. background: -ms-linear-gradient(top, #fcfcfc 0%,#f4f4f4 100%);
  122. background: linear-gradient(top, #fcfcfc, #f4f4f4);
  123. filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fcfcfc', endColorstr='#f4f4f4');*/
  124. }
  125. .l-tab-links li a {
  126. display: block;
  127. margin: 0 30px 0 10px;
  128. text-decoration: none;
  129. color: #aaa;
  130. -moz-user-select: none;
  131. -webkit-user-select: none;
  132. -ms-user-select: none;
  133. -khtml-user-select: none;
  134. user-select: none;
  135. }
  136. .l-tab-links li.l-selected a {
  137. color: #333;
  138. font-size: 14px;
  139. font-weight: bold;
  140. }
  141. .l-tab-links-item-left, .l-tab-links-item-right {
  142. display: none;
  143. }
  144. .l-tab-links-item-close {
  145. width: 12px;
  146. height: 12px;
  147. overflow: hidden;
  148. position: absolute;
  149. top: 8px;
  150. right: 5px;
  151. z-index: 12;
  152. background: url('../images/tab_close.png') no-repeat;
  153. cursor: pointer;
  154. }
  155. .l-selected .l-tab-links-item-close {
  156. background-position: 0 -12px;
  157. top: 8px;
  158. }
  159. .l-tab-links .l-tab-links-item-close-over {
  160. background-color: #ddd;
  161. background-position: 0 -12px;
  162. border-radius: 1px;
  163. color: #c5160b;
  164. }
  165. .l-tab-content {
  166. margin: 0 auto;
  167. padding: 0;
  168. border-top: 1px solid #d6d6d6;
  169. width: 100%;
  170. }
  171. .l-tab-content-item {
  172. width: 100%;
  173. overflow: hidden;
  174. position: relative;
  175. }
  176. .l-tab-content-item iframe {
  177. width: 100%;
  178. height: 100%;
  179. border: none;
  180. }
  181. .l-tab-drag-proxy {
  182. border: 1px solid #BDD1EE;
  183. position: absolute;
  184. z-index: 1001;
  185. height: 25px;
  186. line-height: 25px;
  187. padding-left: 19px;
  188. padding-right: 4px;
  189. background: white;
  190. }
  191. .l-tab-drag-proxy .l-drop-icon {
  192. position: absolute;
  193. top: 5px;
  194. left: 4px;
  195. width: 16px;
  196. height: 16px;
  197. }
  198. /* -----------------------
  199. * easytab *
  200. * ----------------------- */
  201. .l-easytab .l-easytab-header li span {
  202. background: #f4f4f4;
  203. border: 1px solid #CCC;
  204. color: #333;
  205. border-bottom: none;
  206. }
  207. .l-easytab .l-easytab-header li span.l-over {
  208. background: #f4f4f4;
  209. border: 1px solid #CCC;
  210. border-bottom: none;
  211. }
  212. .l-easytab .l-easytab-header li span.l-selected {
  213. background: none;
  214. background: white;
  215. border-top: 3px solid #CCC;
  216. color: #333;
  217. border-left: 1px solid #CCC;
  218. border-right: 1px solid #CCC;
  219. }
  220. .l-easytab .l-easytab-panelbox {
  221. border: 1px solid #CCC;
  222. }