global.css 8.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396
  1. .tree {
  2. margin: auto;
  3. padding: 0 0 0 9px;
  4. overflow-x: hidden;
  5. overflow-y: auto;
  6. position: relative;
  7. }
  8. .tree:before {
  9. display: inline-block;
  10. content: "";
  11. position: absolute;
  12. top: -20px;
  13. bottom: 16px;
  14. left: 0;
  15. z-index: 1;
  16. border: 1px dotted #67b2dd;
  17. border-width: 0 0 0 1px;
  18. }
  19. .tree .tree-branch-name,
  20. .tree .tree-item-name {
  21. cursor: pointer;
  22. }
  23. .tree .tree-branch {
  24. width: auto;
  25. min-height: 20px;
  26. cursor: pointer;
  27. }
  28. .tree .tree-branch .tree-branch-header {
  29. position: relative;
  30. height: 20px;
  31. line-height: 20px;
  32. }
  33. .tree .tree-branch .tree-branch-header:hover {
  34. background-color: #F0F7FC;
  35. }
  36. .tree .tree-branch .tree-branch-header .tree-branch-name,
  37. .tree .tree-item .tree-item-name {
  38. display: inline;
  39. z-index: 2;
  40. }
  41. .tree .tree-branch .tree-branch-header > .tree-branch-name > .ace-icon:first-child,
  42. .tree .tree-item > .tree-item-name > .ace-icon:first-child {
  43. display: inline-block;
  44. position: relative;
  45. z-index: 2;
  46. top: -1px;
  47. }
  48. .tree .tree-branch .tree-branch-header > .tree-branch-name > .ace-icon.selectable {
  49. color: #F9E8CE;
  50. width: 13px;
  51. height: 13px;
  52. line-height: 13px;
  53. font-size: 11px;
  54. text-align: center;
  55. border-radius: 3px;
  56. -webkit-box-sizing: content-box;
  57. -moz-box-sizing: content-box;
  58. box-sizing: content-box;
  59. background-color: #FAFAFA;
  60. border: 1px solid #CCC;
  61. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  62. top: -1px;
  63. display: inline-block;
  64. position: relative;
  65. margin-left: 3px;
  66. }
  67. .tree .tree-selected .tree-branch-header > .tree-branch-name > .ace-icon.selectable {
  68. background-color: #F9A021;
  69. border-color: #F9A021;
  70. color: #FFF;
  71. }
  72. .tree .tree-branch > .tree-branch-header > .tree-branch-name > .tree-label {
  73. margin-left: 2px;
  74. }
  75. .tree .tree-branch > .tree-branch-header > .tree-branch-name > .ace-icon:first-child {
  76. margin: -2px 0 0 -2px;
  77. }
  78. .tree .tree-branch:last-child:after {
  79. display: inline-block;
  80. content: "";
  81. position: absolute;
  82. z-index: 1;
  83. top: 15px;
  84. bottom: 0;
  85. left: -15px;
  86. border-left: 1px solid #FFF;
  87. }
  88. .tree .tree-branch .tree-branch-children {
  89. margin: 0 0 0 23px;
  90. padding: 0;
  91. position: relative;
  92. }
  93. .tree .tree-branch .tree-branch-children:before {
  94. display: inline-block;
  95. content: "";
  96. position: absolute;
  97. z-index: 1;
  98. top: -14px;
  99. bottom: 16px;
  100. left: -14px;
  101. border: 1px dotted #67b2dd;
  102. border-width: 0 0 0 1px;
  103. }
  104. .tree .tree-item {
  105. position: relative;
  106. height: 20px;
  107. line-height: 20px;
  108. cursor: pointer;
  109. }
  110. .tree .tree-item:hover {
  111. background-color: #F0F7FC;
  112. }
  113. .tree .tree-item > .tree-item-name > .ace-icon:first-child {
  114. margin-right: 3px;
  115. }
  116. .tree .tree-item > .tree-item-name > .tree-label > .ace-icon:first-child {
  117. margin-left: 3px;
  118. margin-right: 3px;
  119. }
  120. .tree .tree-item > .ace-icon:first-child {
  121. margin-top: -1px;
  122. }
  123. .tree .tree-branch,
  124. .tree .tree-item {
  125. position: relative;
  126. list-style: none;
  127. }
  128. .tree .tree-branch:before,
  129. .tree .tree-item:before {
  130. display: inline-block;
  131. content: "";
  132. position: absolute;
  133. top: 14px;
  134. left: -13px;
  135. width: 18px;
  136. height: 0;
  137. border-top: 1px dotted #67b2dd;
  138. z-index: 1;
  139. }
  140. .tree .tree-selected {
  141. background-color: rgba(98, 168, 209, 0.1);
  142. color: #6398B0;
  143. }
  144. .tree .tree-selected:hover {
  145. background-color: rgba(98, 168, 209, 0.1);
  146. }
  147. .tree .tree-item,
  148. .tree .tree-branch {
  149. border: 1px solid #FFF;
  150. }
  151. .tree .tree-branch .tree-branch-header {
  152. border-radius: 0;
  153. }
  154. .tree .tree-item,
  155. .tree .tree-branch .tree-branch-header {
  156. margin: 0;
  157. padding: 5px;
  158. color: #4D6878;
  159. -webkit-box-sizing: content-box;
  160. -moz-box-sizing: content-box;
  161. box-sizing: content-box;
  162. }
  163. .tree .tree-item > .tree-item-name > .ace-icon:first-child {
  164. color: #F9E8CE;
  165. width: 13px;
  166. height: 13px;
  167. line-height: 13px;
  168. font-size: 11px;
  169. text-align: center;
  170. border-radius: 3px;
  171. -webkit-box-sizing: content-box;
  172. -moz-box-sizing: content-box;
  173. box-sizing: content-box;
  174. background-color: #FAFAFA;
  175. border: 1px solid #CCC;
  176. box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  177. }
  178. .tree .tree-selected > .tree-item-name > .ace-icon:first-child {
  179. background-color: #F9A021;
  180. border-color: #F9A021;
  181. color: #FFF;
  182. }
  183. .tree .tree-plus.ace-icon:first-child,
  184. .tree .tree-minus.ace-icon:first-child {
  185. display: inline-block;
  186. font-style: normal;
  187. border: 1px solid #DDD;
  188. vertical-align: middle;
  189. height: 11px;
  190. width: 11px;
  191. -webkit-box-sizing: content-box;
  192. -moz-box-sizing: content-box;
  193. box-sizing: content-box;
  194. text-align: center;
  195. border: 1px solid #8BAEBF;
  196. line-height: 10px;
  197. background-color: #FFF;
  198. position: relative;
  199. z-index: 2;
  200. }
  201. .tree .tree-plus.ace-icon:first-child:before,
  202. .tree .tree-minus.ace-icon:first-child:before {
  203. content: "";
  204. display: block;
  205. width: 7px;
  206. height: 0;
  207. border-top: 1px solid #4D6878;
  208. position: absolute;
  209. top: 5px;
  210. left: 2px;
  211. }
  212. .tree .tree-plus.ace-icon:first-child:after {
  213. content: "";
  214. display: block;
  215. height: 7px;
  216. width: 0;
  217. border-left: 1px solid #4D6878;
  218. position: absolute;
  219. top: 2px;
  220. left: 5px;
  221. }
  222. .tree .tree-unselectable .tree-item > .tree-item-name > .tree-label > .ace-icon:first-child {
  223. color: #5084A0;
  224. width: 13px;
  225. height: 13px;
  226. line-height: 13px;
  227. font-size: 10px;
  228. text-align: center;
  229. border-radius: 0;
  230. background-color: transparent;
  231. border: none;
  232. box-shadow: none;
  233. }
  234. .tree .ace-icon[class*="-down"] {
  235. transform: rotate(-45deg);
  236. }
  237. .tree .ace-icon[class*="-download"] {
  238. transform: none;
  239. }
  240. .tree .fa-spin {
  241. height: auto;
  242. }
  243. .tree .tree-loading {
  244. margin-left: 36px;
  245. }
  246. .tree img {
  247. display: inline;
  248. veritcal-align: middle;
  249. }
  250. .ztree li{
  251. line-height:30px!important;
  252. outline: 0;
  253. list-style: none;
  254. text-decoration: none;
  255. }
  256. .ztree:before{
  257. display: inline-block;
  258. content: "";
  259. top: 0;
  260. bottom: 0px;
  261. left: 0px;
  262. z-index: 1;
  263. border: 1px dotted #67B2DD;
  264. border-width: 0 0 0 1px;
  265. }
  266. .ztree ul{
  267. position: relative!important;
  268. margin: 0;
  269. padding-left: 10px;
  270. margin-left: 6px;
  271. top: -6px;
  272. padding-top: 10px;
  273. padding-bottom: 10px;
  274. }
  275. .ztree li{
  276. position:relative!important;
  277. padding-left: 4px;
  278. margin-top:1px;
  279. }
  280. .ztree ul:before,.ztree li:before{
  281. position:absolute!important;
  282. }
  283. .ztree{
  284. padding:0;
  285. }
  286. span.icon-folder {
  287. margin-left: 7px;
  288. position: absolute!important;
  289. top: 10px;
  290. }
  291. /* 复选框样式 */
  292. .ztree .chk.fa.fa-check{
  293. background-color: #F9A021;
  294. border-color: #F9A021;
  295. color: #FFF;
  296. }
  297. .ico_close,.a_docu{
  298. margin-right: 6px;
  299. font-size: 14px;
  300. top: 2px;
  301. position: relative;
  302. }
  303. /* 折叠时文件夹的颜色 */
  304. .ftclose{
  305. color:#FF892A!important;
  306. }
  307. /* 打开时文件夹的颜色 */
  308. .ftopen{
  309. color:brown!important;
  310. }
  311. /* 最后一项开头图标标识颜色 */
  312. .a_docu{
  313. color:#478FCA!important;
  314. }
  315. /* 最后一项开头图标默认颜色 */
  316. .a_docu_default {
  317. color: #404B55 !important;
  318. }
  319. .node_name{
  320. position: relative;
  321. top: 1px;
  322. color: #000;
  323. }
  324. .node_name input{
  325. height:18px;
  326. }
  327. .ztree li:before{
  328. display: inline-block;
  329. content: "";
  330. top: 16px;
  331. left: -2px;
  332. width: 26px;
  333. height: 0;
  334. border-top: 1px dotted #67B2DD;
  335. z-index: 1;
  336. }
  337. .ztree ul:before{
  338. display: inline-block;
  339. content: "";
  340. top: -9px;
  341. bottom: 24px;
  342. left: 7px;
  343. z-index: 1;
  344. border: 1px dotted #67B2DD;
  345. border-width: 0 0 0 1px;
  346. }
  347. .ztree li a{
  348. cursor: pointer;
  349. }
  350. .activeLiClick{
  351. background:rgba(98,168,209,.1);
  352. }
  353. .activeLiMouse{
  354. background:rgba(98,168,209,.1);
  355. }
  356. .curSelectedNode{
  357. background:rgba(98,168,209,.1);
  358. }
  359. .ztree li span.button.add {
  360. margin-left: 2px;
  361. margin-right: -1px;
  362. background-position: -144px 0;
  363. vertical-align: top;
  364. }
  365. .ztree .chk{
  366. color: #F9E8CE;
  367. width: 13px;
  368. height: 13px;
  369. line-height: 13px;
  370. font-size: 11px;
  371. border-radius: 3px;
  372. -webkit-box-sizing: content-box;
  373. -moz-box-sizing: content-box;
  374. box-sizing: content-box;
  375. background-color: #FAFAFA;
  376. border: 1px solid #CCC;
  377. box-shadow: 0 1px 2px rgba(0,0,0,.05);
  378. margin:0 6px 0 25px;
  379. text-align: center;
  380. }
  381. .ztree .chk.focus{
  382. border:solid 1px #ff7c34;
  383. }
  384. .ztree .chk.fa-check {
  385. background-color: #F9A021;
  386. border-color: #F9A021;
  387. color: #FFF;
  388. }
  389. .ztree li a span:first-child{
  390. position: relative;
  391. top: 2px;
  392. margin-right: 2px;
  393. margin-left: 25px;
  394. width:18px;
  395. }