zTreeStyle.css 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357
  1. /*-------------------------------------
  2. zTree Style
  3. version: 3.4
  4. author: Hunter.z
  5. email: hunter.z@263.net
  6. website: http://code.google.com/p/jquerytree/
  7. -------------------------------------*/
  8. .ztree * { margin:0;padding:0; font-size:14px;
  9. }
  10. .ztree {
  11. margin:0;
  12. padding:0px;
  13. clear:left;
  14. font-family: "瀵邦喛钂嬮梿鍛寸拨";color:#000;
  15. height: 100%;
  16. }
  17. .ztree li{position:relative;padding-top: 5px;margin:0;list-style:none;line-height:14px;text-align:left;white-space:nowrap;outline:0;border-top:1px solid #f3f3f3;}
  18. .ztree li ul{ margin:0; padding:0 0 0 18px}
  19. /*.ztree li ul.line{background:url(./img/line_conn.gif) 0 0 repeat-y;
  20. background: #f6f6f7;
  21. border-top: 1px solid #ccc;
  22. border-bottom: 1px solid #ccc;
  23. -moz-box-shadow: -5px 5px 5px #999 inset; For Firefox3.6+
  24. -webkit-box-shadow:-5px 5px 5px #999 inset; For Chrome5+, Safari5+
  25. box-shadow: 1px 5px 7px #999 inset; For Latest Opera
  26. }*/
  27. /*.ztree li ul.line li{background:url(./img/line_conn.gif) 0 0 repeat-y;
  28. border-bottom:1px solid #f3f3f3;
  29. border-top:0px;
  30. }*/
  31. .ztree li a {
  32. display: block;
  33. height: 38px;
  34. line-height: 36px;
  35. margin: 0;
  36. padding: 0 16px 0 7px;
  37. -webkit-text-shadow: none!important;
  38. text-shadow: none!important;
  39. font-size: 13px;
  40. text-decoration: none;
  41. color: #737373;
  42. z-index: 123;
  43. cursor:pointer;
  44. }
  45. .ztree li a:hover {border-color: #f3f3f3;
  46. background-color: #fbfbfb;color:#333;}
  47. .ztree li a.curSelectedNode {
  48. background:#f3fdff;
  49. border-left:5px solid #378eef;
  50. color:#000;
  51. }
  52. #leftTree li a.curSelectedNode span.button {
  53. filter: brightness(50%);
  54. }
  55. .ztree li a.curSelectedNode_Edit {padding-top:0px; background-color:#FFE6B0; color:black; height:16px; border:1px #FFB951 solid; opacity:0.8;}
  56. .ztree li a.tmpTargetNode_inner {padding-top:0px; background-color:#316AC5; color:white; height:16px; border:1px #316AC5 solid;
  57. opacity:0.8; filter:alpha(opacity=80)}
  58. .ztree li a.tmpTargetNode_prev {}
  59. .ztree li a.tmpTargetNode_next {}
  60. .ztree li a input.rename {height:14px; width:80px; padding:0; margin:0;
  61. font-size:12px; border:1px #7EC4CC solid; *border:0px}
  62. .ztree li span {line-height:36px; margin-right:2px}
  63. .ztree li span.button {line-height:0; margin:0; width:16px; height:16px; display: inline-block; vertical-align:middle;
  64. border:0 none; cursor: pointer;outline:none;
  65. background-color:transparent; background-repeat:no-repeat; background-attachment: scroll;
  66. /*background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")*/}
  67. .ztree li span.button.chk {width:13px; height:13px; margin:0 3px 0 0; cursor: auto}
  68. .ztree li span.button.chk.checkbox_false_full {background-position:0 0}
  69. .ztree li span.button.chk.checkbox_false_full_focus {background-position:0 -14px}
  70. .ztree li span.button.chk.checkbox_false_part {background-position:0 -28px}
  71. .ztree li span.button.chk.checkbox_false_part_focus {background-position:0 -42px}
  72. .ztree li span.button.chk.checkbox_false_disable {background-position:0 -56px}
  73. .ztree li span.button.chk.checkbox_true_full {background-position:-14px 0}
  74. .ztree li span.button.chk.checkbox_true_full_focus {background-position:-14px -14px}
  75. .ztree li span.button.chk.checkbox_true_part {background-position:-14px -28px}
  76. .ztree li span.button.chk.checkbox_true_part_focus {background-position:-14px -42px}
  77. .ztree li span.button.chk.checkbox_true_disable {background-position:-14px -56px}
  78. .ztree li span.button.chk.radio_false_full {background-position:-28px 0}
  79. .ztree li span.button.chk.radio_false_full_focus {background-position:-28px -14px}
  80. .ztree li span.button.chk.radio_false_part {background-position:-28px -28px}
  81. .ztree li span.button.chk.radio_false_part_focus {background-position:-28px -42px}
  82. .ztree li span.button.chk.radio_false_disable {background-position:-28px -56px}
  83. .ztree li span.button.chk.radio_true_full {background-position:-42px 0}
  84. .ztree li span.button.chk.radio_true_full_focus {background-position:-42px -14px}
  85. .ztree li span.button.chk.radio_true_part {background-position:-42px -28px}
  86. .ztree li span.button.chk.radio_true_part_focus {background-position:-42px -42px}
  87. .ztree li span.button.chk.radio_true_disable {background-position:-42px -56px}
  88. .ztree li span.button.switch {
  89. position: relative;
  90. z-index: 100;
  91. display: block;
  92. position: absolute;
  93. width: 20%;
  94. height: 43px;
  95. background: url(/xtbg//styles/default/images/resicon/xiala.png) 0 0 no-repeat;
  96. font-size: 13px;
  97. line-height: 10px;
  98. right: 0px;
  99. top: 0px;
  100. margin: 0;
  101. text-align: center;
  102. padding: 0;
  103. -webkit-text-shadow: none;
  104. text-shadow: none;
  105. color: #666;
  106. -webkit-transition: all 300ms ease-in-out;
  107. -moz-transition: all 300ms ease-in-out;
  108. -o-transition: all 300ms ease-in-out;
  109. transition: all 300ms ease-in-out;
  110. font-family: 'FontAwesome';
  111. font-style: normal;
  112. font-weight: normal;
  113. }
  114. .ztree li span.button.switch:before{
  115. /* content: "飫�"; */
  116. }
  117. }
  118. .ztree li span.button.switch {width:18px; height:18px;position: relative;
  119. z-index: 100;}
  120. .ztree li span.button.root_open{background-position: 15px 15px;}
  121. .ztree li span.button.root_close{
  122. /* background-position: 15px 15px; */
  123. background-position: 9px 15px;
  124. moz-transform: rotate(180deg);
  125. -webkit-transform: rotate(180deg);
  126. transform: rotate(180deg);
  127. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  128. }
  129. .ztree li span.button.roots_open{background-position: 22px 12px;}
  130. .ztree li span.button.roots_close{background-position: 11px 12px;-moz-transform: rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);--------------------- 浣滆�咃細鐭虫鐑熸枟鐨勯浘 鏉ユ簮锛欳SDN 鍘熸枃锛歨ttps://blog.csdn.net/eric520zenobia/article/details/24869161 鐗堟潈澹版槑锛氭湰鏂囦负鍗氫富鍘熷垱鏂囩珷锛岃浆杞借闄勪笂鍗氭枃閾炬帴锛�;}
  131. .ztree li span.button.center_open{background-position: 21px 12px;-moz-transform: rotate(180deg);/* -webkit-transform:rotate(180deg); *//* transform:rotate(180deg); */filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);--------------------- 浣滆�咃細鐭虫鐑熸枟鐨勯浘 鏉ユ簮锛欳SDN 鍘熸枃锛歨ttps://blog.csdn.net/eric520zenobia/article/details/24869161 鐗堟潈澹版槑锛氭湰鏂囦负鍗氫富鍘熷垱鏂囩珷锛岃浆杞借闄勪笂鍗氭枃閾炬帴锛�;}
  132. .ztree li span.button.center_close{background-position: 8px 12px;-moz-transform: rotate(180deg);-webkit-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);--------------------- 浣滆�咃細鐭虫鐑熸枟鐨勯浘 鏉ユ簮锛欳SDN 鍘熸枃锛歨ttps://blog.csdn.net/eric520zenobia/article/details/24869161 鐗堟潈澹版槑锛氭湰鏂囦负鍗氫富鍘熷垱鏂囩珷锛岃浆杞借闄勪笂鍗氭枃閾炬帴锛�;}
  133. .ztree li span.button.bottom_open{background-position:5px 15px}
  134. .ztree li span.button.bottom_close{background-position: 5px 15px;}
  135. .ztree li span.button.noline_open{background-position:5px 15px}
  136. .ztree li span.button.noline_close{background-position:-74px -72px}
  137. .ztree li span.button.root_docu{ background:none;}
  138. .ztree li span.button.roots_docu{background-position:-56px 0}
  139. .ztree li span.button.center_docu{background-position:-56px -18px}
  140. .ztree li span.button.bottom_docu{background-position:-56px -36px}
  141. .ztree li span.button.noline_docu{ background:none;}
  142. .ztree li span.button.ico_open{margin-right:2px; background-position:-110px -16px; vertical-align:middle; *vertical-align:middle}
  143. .ztree li span.button.ico_close{margin-right:2px; background-position:-110px 0; vertical-align:middle; *vertical-align:middle}
  144. .ztree li span.button.ico_docu{margin-right:2px; background-position:-110px -32px; vertical-align:middle; *vertical-align:middle}
  145. .ztree li span.button.edit {margin-right:2px; background-position:-110px -48px; vertical-align:middle; *vertical-align:middle}
  146. .ztree li span.button.remove {margin-right:2px; background-position:-110px -64px; vertical-align:middle; *vertical-align:middle}
  147. .ztree li span.button.ico_loading{margin-right:2px; background:url(./img/loading.gif) no-repeat scroll 0 0 transparent; vertical-align:middle; *vertical-align:middle}
  148. ul.tmpTargetzTree {background-color:#FFE6B0; opacity:0.8; filter:alpha(opacity=80)}
  149. span.tmpzTreeMove_arrow {width:16px; height:16px; display: inline-block; padding:0; margin:2px 0 0 1px; border:0 none; position:absolute;
  150. background-color:transparent; background-repeat:no-repeat; background-attachment: scroll;
  151. background-position:-110px -80px; background-image:url("./img/zTreeStandard.png"); *background-image:url("./img/zTreeStandard.gif")}
  152. ul.ztree.zTreeDragUL {margin:0; padding:0; position:absolute; width:auto; height:auto;overflow:hidden; background-color:#cfcfcf; border:1px #00B83F dotted; opacity:0.8; filter:alpha(opacity=80)}
  153. .zTreeMask {z-index:10000; background-color:#cfcfcf; opacity:0.0; filter:alpha(opacity=0); position:absolute}
  154. /* level style*/
  155. /*.ztree li span.button.level0 {
  156. display:none;
  157. }
  158. .ztree li ul.level0 {
  159. padding:0;
  160. background:none;
  161. }*/
  162. #leftTree li a:hover{
  163. background:#f3fdff;
  164. border-left:5px solid #fb6e52;
  165. padding-left:5px;
  166. }
  167. #leftTree li a:hover span.button{
  168. filter:brightness(50%);
  169. }
  170. .ztree>li:last-child{
  171. margin-bottom:40px;
  172. }
  173. //婊氬姩鏉�
  174. #accordion1 #leftTree{
  175. }
  176. #leftTree::-webkit-scrollbar {/*婊氬姩鏉℃暣浣撴牱寮�*/
  177. width: 10px; /*楂樺鍒嗗埆瀵瑰簲妯珫婊氬姩鏉$殑灏哄*/
  178. height: 1px;
  179. }
  180. #leftTree::-webkit-scrollbar-thumb{/*婊氬姩鏉¢噷闈㈠皬鏂瑰潡*/
  181. border-radius: 10px;
  182. background:#cacaca;
  183. }
  184. #leftTree::-webkit-scrollbar-track {/*婊氬姩鏉¢噷闈㈣建閬�*/
  185. -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  186. /*border-radius: 10px;*/
  187. background: #EDEDED;
  188. }
  189. #orgTree::-webkit-scrollbar {/*婊氬姩鏉℃暣浣撴牱寮�*/
  190. width: 10px; /*楂樺鍒嗗埆瀵瑰簲妯珫婊氬姩鏉$殑灏哄*/
  191. height: 1px;
  192. }
  193. #orgTree::-webkit-scrollbar-thumb {/*婊氬姩鏉¢噷闈㈠皬鏂瑰潡*/
  194. border-radius: 10px;
  195. background:#cacaca;
  196. }
  197. #orgTree::-webkit-scrollbar-track {/*婊氬姩鏉¢噷闈㈣建閬�*/
  198. -webkit-box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
  199. /*border-radius: 10px;*/
  200. background: #EDEDED;
  201. }
  202. #tree_tr .ztree li span.button.center_close {
  203. background-position: 11px 12px;
  204. -moz-transform: rotate(180deg);
  205. -webkit-transform: rotate(180deg);
  206. transform: rotate(180deg);
  207. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  208. }
  209. #tree_tr .ztree li span.button.center_open {
  210. background-position: 9px 12px;
  211. -moz-transform: rotate(180deg);
  212. /* -webkit-transform: rotate(180deg); */
  213. /* transform: rotate(180deg); */
  214. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  215. }
  216. #tree_tr .ztree li span.button.root_open {
  217. background-position: 15px 15px;
  218. }
  219. #resourcesTree1 .ztree li span.button.root_open {
  220. background-position: 14px 15px;
  221. }
  222. #resourcesTree1 .ztree li span.button.center_open {
  223. background-position: 29px 12px;
  224. -moz-transform: rotate(180deg);
  225. /* -webkit-transform: rotate(180deg); */
  226. /* transform: rotate(180deg); */
  227. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  228. }
  229. #resourcesTree1 .ztree li span.button.center_close {
  230. background-position: 11px 12px;
  231. -moz-transform: rotate(180deg);
  232. -webkit-transform: rotate(180deg);
  233. transform: rotate(180deg);
  234. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  235. }
  236. #resourcesTree1 .ztree li span.button.bottom_close {
  237. background-position: 34px 15px;
  238. -moz-transform: rotate(180deg);
  239. -webkit-transform: rotate(180deg);
  240. transform: rotate(180deg);
  241. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  242. }
  243. #resourcesTree1 .ztree li span.button.bottom_open {
  244. background-position: 31px 15px;
  245. }
  246. #resourcesTree1 .ztree li span.button.bottom_close {
  247. background-position: 11px 15px;
  248. -moz-transform: rotate(180deg);
  249. -webkit-transform: rotate(180deg);
  250. transform: rotate(180deg);
  251. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  252. }
  253. #resourcesTree1 .ztree li span.button.bottom_open {
  254. background-position: 26px 15px;
  255. }
  256. #accordion1 .ztree li span.button.bottom_close {
  257. background-position: 9px 15px;
  258. -moz-transform: rotate(180deg);
  259. -webkit-transform: rotate(180deg);
  260. transform: rotate(180deg);
  261. filter: progid:DXImageTransform.Microsoft.BasicImage(rotation=2);
  262. }
  263. #accordion1 .ztree li span.button.bottom_open {
  264. background-position: 18px 15px;
  265. }
  266. @media screen and (max-width: 900px) {
  267. .ztree,.ztree li,.ztree li a ,.ztree ul{
  268. width:100%;
  269. }
  270. .ztree li span.button.root_open {
  271. background-position: 7px 17px;
  272. }
  273. .ztree li span.button.switch{
  274. left:0px;
  275. }
  276. .ztree li span.button.bottom_close {
  277. background-position: 8px 15px;
  278. }
  279. .ztree li span.button.bottom_open {
  280. background-position: 8px 15px;
  281. }
  282. .ztree li span.button.center_open {
  283. background-position: 10px 16px;
  284. }
  285. .ztree li span.button.root_open {
  286. background-position: 7px 17px;
  287. }
  288. .ztree li span.button.root_close {
  289. background-position: 7px 17px;
  290. }
  291. .ztree li span.button.center_close {
  292. background-position: 15px 12px;
  293. }
  294. .ztree li span.button.roots_open {
  295. background-position: 9px 15px;
  296. }
  297. .ztree li span.button.roots_close {
  298. background-position: 9px 15px;
  299. }
  300. }