awesome.css 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387
  1. /*-------------------------------------
  2. zTree Style using fontawesome instead of images
  3. version: 1.1
  4. author: Mike King
  5. email: mikkelking @ hotmail . com
  6. website: http://code.google.com/p/jquerytree/
  7. -------------------------------------*/
  8. /* Definitions ----------------------*/
  9. /* End of Definitions ---------------*/
  10. /* Imports -------------------------*/
  11. /* End of Imports ------------------*/
  12. .ztree * {
  13. padding: 0;
  14. margin: 0;
  15. font-size: 12px;
  16. font-family: Verdana, Arial, Helvetica, AppleGothic, sans-serif;
  17. background-color: #af0000;
  18. }
  19. .ztree {
  20. margin: 0;
  21. padding: 5px;
  22. color: #ffffff;
  23. background-color: #af0000;
  24. }
  25. .ztree li {
  26. padding: 0;
  27. margin: 0;
  28. list-style: none;
  29. line-height: 17px;
  30. text-align: left;
  31. white-space: nowrap;
  32. outline: 0;
  33. }
  34. .ztree li ul {
  35. margin: 0px;
  36. padding: 0 0 0 18px;
  37. }
  38. .ztree li a {
  39. padding-right: 3px;
  40. margin: 0;
  41. cursor: pointer;
  42. height: 17px;
  43. color: #ffffff;
  44. background-color: transparent;
  45. text-decoration: none;
  46. vertical-align: top;
  47. display: inline-block;
  48. }
  49. .ztree li a input.rename {
  50. height: 14px;
  51. width: 80px;
  52. padding: 0;
  53. margin: 0;
  54. color: #af0000;
  55. background-color: #ffffff;
  56. font-size: 12px;
  57. border: 1px #585956 solid;
  58. *border: 0px;
  59. }
  60. .ztree li a:hover {
  61. text-decoration: underline;
  62. }
  63. .ztree li a.curSelectedNode {
  64. padding-top: 0px;
  65. background-color: #af4040;
  66. color: #ffff00;
  67. height: 17px;
  68. opacity: 0.8;
  69. }
  70. .ztree li a.curSelectedNode_Edit {
  71. padding-top: 0px;
  72. background-color: transparent;
  73. color: #ffff00;
  74. height: 17px;
  75. border: 1px #666 solid;
  76. opacity: 0.8;
  77. }
  78. .ztree li a.tmpTargetNode_inner {
  79. padding-top: 0px;
  80. background-color: #aaa;
  81. color: #ffff00;
  82. height: 17px;
  83. border: 1px #666 solid;
  84. opacity: 0.8;
  85. filter: alpha(opacity=80);
  86. }
  87. .ztree li span {
  88. line-height: 17px;
  89. margin-right: 2px;
  90. background-color: transparent;
  91. }
  92. .ztree li span.button {
  93. line-height: 0;
  94. margin: 0;
  95. padding: 0;
  96. width: 15px;
  97. height: 17px;
  98. display: inline-block;
  99. vertical-align: top;
  100. border: 0px solid;
  101. cursor: pointer;
  102. outline: none;
  103. background-color: transparent;
  104. background-repeat: no-repeat;
  105. background-attachment: scroll;
  106. }
  107. .ztree li span.button::before {
  108. color: #ffffff;
  109. font-family: FontAwesome;
  110. padding-top: 10px;
  111. }
  112. .ztree li span.button.chk {
  113. margin: 0px;
  114. cursor: auto;
  115. width: 12px;
  116. display: inline-block;
  117. padding-top: 10px;
  118. padding-left: 2px;
  119. }
  120. .ztree li span.button.chk.checkbox_false_full::before {
  121. content: "\f096";
  122. }
  123. .ztree li span.button.chk.checkbox_false_full_focus::before {
  124. content: "\f096";
  125. color: #ffff00;
  126. }
  127. .ztree li span.button.chk.checkbox_false_part::before {
  128. content: "\f096";
  129. color: #aaaaaa;
  130. }
  131. .ztree li span.button.chk.checkbox_false_part_focus::before {
  132. content: "\f096";
  133. color: #cad96c;
  134. }
  135. .ztree li span.button.chk.checkbox_false_disable::before {
  136. content: "\f096";
  137. color: #808080;
  138. }
  139. .ztree li span.button.chk.checkbox_true_full::before {
  140. content: "\f046";
  141. }
  142. .ztree li span.button.chk.checkbox_true_full_focus::before {
  143. content: "\f046";
  144. }
  145. .ztree li span.button.chk.checkbox_true_part::before {
  146. content: "\f14a";
  147. }
  148. .ztree li span.button.chk.checkbox_true_part_focus::before {
  149. content: "\f14a";
  150. color: #ffff00;
  151. }
  152. .ztree li span.button.chk.checkbox_true_full_focus::before {
  153. content: "\f046";
  154. color: #ffff00;
  155. }
  156. .ztree li span.button.chk.checkbox_true_part::before {
  157. content: "\f046";
  158. color: #aaaaaa;
  159. }
  160. .ztree li span.button.chk.checkbox_true_part_focus::before {
  161. content: "\f046";
  162. color: #cad96c;
  163. }
  164. .ztree li span.button.chk.checkbox_true_disable::before {
  165. content: "\f046";
  166. color: #808080;
  167. }
  168. .ztree li span.button.chk.radio_false_full::before {
  169. content: "\f10c";
  170. }
  171. .ztree li span.button.chk.radio_false_full_focus::before {
  172. content: "\f10c";
  173. color: #ffff00;
  174. }
  175. .ztree li span.button.chk.radio_false_part::before {
  176. content: "\f10c";
  177. color: #aaaaaa;
  178. }
  179. .ztree li span.button.chk.radio_false_part_focus::before {
  180. content: "\f10c";
  181. color: #ffff00;
  182. }
  183. .ztree li span.button.chk.radio_false_disable::before {
  184. content: "\f1db";
  185. color: #808080;
  186. }
  187. .ztree li span.button.chk.radio_true_full::before {
  188. content: "\f192";
  189. }
  190. .ztree li span.button.chk.radio_true_full_focus::before {
  191. content: "\f192";
  192. color: #ffff00;
  193. }
  194. .ztree li span.button.chk.radio_true_part::before {
  195. content: "\f192";
  196. color: #aaaaaa;
  197. }
  198. .ztree li span.button.chk.radio_true_part_focus::before {
  199. content: "\f192";
  200. color: #aaaaaa;
  201. }
  202. .ztree li span.button.chk.radio_true_disable::before {
  203. content: "\f1db";
  204. color: #808080;
  205. }
  206. .ztree li span.button.switch {
  207. width: 15px;
  208. height: 17px;
  209. }
  210. .ztree li span.button.root_open::before {
  211. content: "\f078";
  212. padding-top: 10px;
  213. padding-left: 2px;
  214. display: inline-block;
  215. }
  216. .ztree li span.button.root_close::before {
  217. content: "\f115";
  218. padding-top: 10px;
  219. padding-left: 2px;
  220. display: inline-block;
  221. }
  222. .ztree li span.button.roots_open::before {
  223. content: "\f078";
  224. padding-top: 10px;
  225. padding-left: 2px;
  226. display: inline-block;
  227. }
  228. .ztree li span.button.roots_close::before {
  229. content: "\f054";
  230. padding-top: 10px;
  231. padding-left: 2px;
  232. display: inline-block;
  233. }
  234. .ztree li span.button.center_open::before {
  235. content: "\f078";
  236. padding-top: 10px;
  237. padding-left: 2px;
  238. display: inline-block;
  239. }
  240. .ztree li span.button.center_close::before {
  241. content: "\f054";
  242. padding-top: 10px;
  243. padding-left: 2px;
  244. display: inline-block;
  245. }
  246. .ztree li span.button.bottom_open::before {
  247. content: "\f078";
  248. padding-top: 10px;
  249. padding-left: 2px;
  250. display: inline-block;
  251. }
  252. .ztree li span.button.bottom_close::before {
  253. content: "\f054";
  254. padding-top: 10px;
  255. padding-left: 2px;
  256. display: inline-block;
  257. }
  258. .ztree li span.button.root_docu {
  259. background: none;
  260. }
  261. .ztree li span.button.roots_docu::before {
  262. content: "\f022";
  263. padding-left: 2px;
  264. display: inline-block;
  265. color: #ffffff;
  266. }
  267. .ztree li span.button.center_docu::before {
  268. padding-top: 10px;
  269. padding-left: 2px;
  270. display: inline-block;
  271. color: #ffffff;
  272. }
  273. .ztree li span.button.bottom_docu::before {
  274. padding-top: 10px;
  275. padding-left: 2px;
  276. display: inline-block;
  277. color: #ffffff;
  278. }
  279. .ztree li span.button.noline_docu {
  280. background: none;
  281. }
  282. .ztree li span.button.ico_open::before {
  283. content: "\f115";
  284. font-family: FontAwesome;
  285. padding-top: 10px;
  286. padding-left: 2px;
  287. display: inline-block;
  288. color: #ffffff;
  289. }
  290. .ztree li span.button.ico_close::before {
  291. content: "\f114";
  292. font-family: FontAwesome;
  293. padding-top: 10px;
  294. padding-left: 2px;
  295. display: inline-block;
  296. color: #ffffff;
  297. }
  298. .ztree li span.button.ico_docu::before {
  299. content: "\f022";
  300. font-family: FontAwesome;
  301. padding-top: 10px;
  302. padding-left: 2px;
  303. display: inline-block;
  304. color: #ffffff;
  305. }
  306. .ztree li span.button.edit {
  307. margin-left: 4px;
  308. margin-right: -1px;
  309. vertical-align: top;
  310. *vertical-align: middle;
  311. padding-top: 10px;
  312. }
  313. .ztree li span.button.edit::before {
  314. content: "\f044";
  315. font-family: FontAwesome;
  316. }
  317. .ztree li span.button.remove {
  318. margin-left: 4px;
  319. margin-right: -1px;
  320. vertical-align: top;
  321. *vertical-align: middle;
  322. padding-top: 10px;
  323. }
  324. .ztree li span.button.remove::before {
  325. content: "\f1f8";
  326. font-family: FontAwesome;
  327. }
  328. .ztree li span.button.add {
  329. margin-left: 4px;
  330. margin-right: -1px;
  331. vertical-align: top;
  332. *vertical-align: middle;
  333. padding-top: 10px;
  334. }
  335. .ztree li span.button.add::before {
  336. content: "\f067";
  337. font-family: FontAwesome;
  338. }
  339. .ztree li span.button.ico_loading {
  340. margin-right: 2px;
  341. background: url(./img/loading.gif) no-repeat scroll 0 0 transparent;
  342. vertical-align: top;
  343. *vertical-align: middle;
  344. }
  345. ul.tmpTargetzTree {
  346. background-color: #FFE6B0;
  347. opacity: 0.8;
  348. filter: alpha(opacity=80);
  349. }
  350. span.tmpzTreeMove_arrow {
  351. width: 16px;
  352. height: 17px;
  353. display: inline-block;
  354. padding: 0;
  355. margin: 2px 0 0 1px;
  356. border: 0 none;
  357. position: absolute;
  358. background-color: transparent;
  359. background-attachment: scroll;
  360. }
  361. span.tmpzTreeMove_arrow::before {
  362. content: "\f04b";
  363. font-family: FontAwesome;
  364. color: #ffff00;
  365. }
  366. ul.ztree.zTreeDragUL {
  367. margin: 0;
  368. padding: 0;
  369. position: absolute;
  370. width: auto;
  371. height: auto;
  372. overflow: hidden;
  373. background-color: #cfcfcf;
  374. border: 1px #ffff00 dotted;
  375. opacity: 0.8;
  376. filter: alpha(opacity=80);
  377. }
  378. .ztreeMask {
  379. z-index: 10000;
  380. background-color: #cfcfcf;
  381. opacity: 0.0;
  382. filter: alpha(opacity=0);
  383. position: absolute;
  384. }