ui.fancytree.css 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501
  1. /*!
  2. * Fancytree "Lion" skin.
  3. *
  4. * DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from
  5. * the LESS templates.
  6. */
  7. /*
  8. Lion colors:
  9. gray highlight bar: #D4D4D4
  10. blue highlight-bar and -border #3875D7
  11. */
  12. /*******************************************************************************
  13. * Common Styles for Fancytree Skins.
  14. *
  15. * This section is automatically generated from the `skin-common.less` template.
  16. ******************************************************************************/
  17. /*------------------------------------------------------------------------------
  18. * Helpers
  19. *----------------------------------------------------------------------------*/
  20. .ui-helper-hidden {
  21. display: none;
  22. }
  23. /*------------------------------------------------------------------------------
  24. * Container and UL / LI
  25. *----------------------------------------------------------------------------*/
  26. ul.fancytree-container {
  27. font-family: tahoma, arial, helvetica;
  28. font-size: 10pt;
  29. white-space: nowrap;
  30. padding: 3px;
  31. margin: 0;
  32. background-color: white;
  33. border: 1px dotted gray;
  34. overflow: auto;
  35. min-height: 0%;
  36. position: relative;
  37. }
  38. ul.fancytree-container ul {
  39. padding: 0 0 0 16px;
  40. margin: 0;
  41. }
  42. ul.fancytree-container li {
  43. list-style-image: none;
  44. list-style-position: outside;
  45. list-style-type: none;
  46. -moz-background-clip: border;
  47. -moz-background-inline-policy: continuous;
  48. -moz-background-origin: padding;
  49. background-attachment: scroll;
  50. background-color: transparent;
  51. background-position: 0px 0px;
  52. background-repeat: repeat-y;
  53. background-image: none;
  54. margin: 0;
  55. padding: 1px 0 0 0;
  56. }
  57. ul.fancytree-container li.fancytree-lastsib {
  58. background-image: none;
  59. }
  60. ul.fancytree-no-connector > li {
  61. background-image: none;
  62. }
  63. .ui-fancytree-disabled ul.fancytree-container {
  64. opacity: 0.5;
  65. background-color: silver;
  66. }
  67. /*------------------------------------------------------------------------------
  68. * Common icon definitions
  69. *----------------------------------------------------------------------------*/
  70. span.fancytree-empty,
  71. span.fancytree-vline,
  72. span.fancytree-expander,
  73. span.fancytree-icon,
  74. span.fancytree-checkbox,
  75. span.fancytree-radio,
  76. span.fancytree-drag-helper-img,
  77. #fancytree-drop-marker {
  78. width: 16px;
  79. height: 16px;
  80. display: inline-block;
  81. vertical-align: top;
  82. background-repeat: no-repeat;
  83. background-position: left;
  84. background-image: url("icons.gif");
  85. background-position: 0px 0px;
  86. }
  87. span.fancytree-icon,
  88. span.fancytree-checkbox,
  89. span.fancytree-radio,
  90. span.fancytree-custom-icon {
  91. margin-top: 1px;
  92. }
  93. /* Used by iconclass option */
  94. span.fancytree-custom-icon {
  95. display: inline-block;
  96. }
  97. /* Used by 'icon' node option: */
  98. img.fancytree-icon {
  99. width: 16px;
  100. height: 16px;
  101. margin-left: 3px;
  102. margin-top: 1px;
  103. vertical-align: top;
  104. border-style: none;
  105. }
  106. /*------------------------------------------------------------------------------
  107. * Expander icon
  108. *
  109. * Note: IE6 doesn't correctly evaluate multiples class names,
  110. * so we create combined class names that can be used in the CSS.
  111. *
  112. * Prefix: fancytree-exp-
  113. * 1st character: 'e': expanded, 'c': collapsed, 'n': no children
  114. * 2nd character (optional): 'd': lazy (Delayed)
  115. * 3rd character (optional): 'l': Last sibling
  116. *----------------------------------------------------------------------------*/
  117. span.fancytree-expander {
  118. cursor: pointer;
  119. }
  120. .fancytree-exp-n span.fancytree-expander,
  121. .fancytree-exp-nl span.fancytree-expander {
  122. background-image: none;
  123. cursor: default;
  124. }
  125. .fancytree-exp-n span.fancytree-expander,
  126. .fancytree-exp-n span.fancytree-expander:hover {
  127. background-position: 0px -64px;
  128. }
  129. .fancytree-exp-nl span.fancytree-expander,
  130. .fancytree-exp-nl span.fancytree-expander:hover {
  131. background-position: -16px -64px;
  132. }
  133. .fancytree-exp-c span.fancytree-expander {
  134. background-position: 0px -80px;
  135. }
  136. .fancytree-exp-c span.fancytree-expander:hover {
  137. background-position: -16px -80px;
  138. }
  139. .fancytree-exp-cl span.fancytree-expander {
  140. background-position: 0px -96px;
  141. }
  142. .fancytree-exp-cl span.fancytree-expander:hover {
  143. background-position: -16px -96px;
  144. }
  145. .fancytree-exp-cd span.fancytree-expander {
  146. background-position: -64px -80px;
  147. }
  148. .fancytree-exp-cd span.fancytree-expander:hover {
  149. background-position: -80px -80px;
  150. }
  151. .fancytree-exp-cdl span.fancytree-expander {
  152. background-position: -64px -96px;
  153. }
  154. .fancytree-exp-cdl span.fancytree-expander:hover {
  155. background-position: -80px -96px;
  156. }
  157. .fancytree-exp-e span.fancytree-expander,
  158. .fancytree-exp-ed span.fancytree-expander {
  159. background-position: -32px -80px;
  160. }
  161. .fancytree-exp-e span.fancytree-expander:hover,
  162. .fancytree-exp-ed span.fancytree-expander:hover {
  163. background-position: -48px -80px;
  164. }
  165. .fancytree-exp-el span.fancytree-expander,
  166. .fancytree-exp-edl span.fancytree-expander {
  167. background-position: -32px -96px;
  168. }
  169. .fancytree-exp-el span.fancytree-expander:hover,
  170. .fancytree-exp-edl span.fancytree-expander:hover {
  171. background-position: -48px -96px;
  172. }
  173. .fancytree-loading span.fancytree-expander,
  174. .fancytree-loading span.fancytree-expander:hover,
  175. .fancytree-statusnode-wait span.fancytree-icon,
  176. .fancytree-statusnode-wait span.fancytree-icon:hover {
  177. background-image: url("loading.gif");
  178. background-position: 0px 0px;
  179. }
  180. /* Status node icons */
  181. .fancytree-statusnode-error span.fancytree-icon {
  182. background-position: 0px -112px;
  183. }
  184. /*------------------------------------------------------------------------------
  185. * Checkbox icon
  186. *----------------------------------------------------------------------------*/
  187. span.fancytree-checkbox {
  188. margin-left: 3px;
  189. background-position: 0px -32px;
  190. }
  191. span.fancytree-checkbox:hover {
  192. background-position: -16px -32px;
  193. }
  194. .fancytree-partsel span.fancytree-checkbox {
  195. background-position: -64px -32px;
  196. }
  197. .fancytree-partsel span.fancytree-checkbox:hover {
  198. background-position: -80px -32px;
  199. }
  200. .fancytree-selected span.fancytree-checkbox {
  201. background-position: -32px -32px;
  202. }
  203. .fancytree-selected span.fancytree-checkbox:hover {
  204. background-position: -48px -32px;
  205. }
  206. /*------------------------------------------------------------------------------
  207. * Radiobutton icon
  208. * This is a customization, that may be activated by overriding the 'checkbox'
  209. * class name as 'fancytree-radio' in the tree options.
  210. *----------------------------------------------------------------------------*/
  211. .fancytree-radio span.fancytree-checkbox {
  212. background-position: 0px -48px;
  213. }
  214. .fancytree-radio span.fancytree-checkbox:hover {
  215. background-position: -16px -48px;
  216. }
  217. .fancytree-radio .fancytree-partsel span.fancytree-checkbox {
  218. background-position: -64px -48px;
  219. }
  220. .fancytree-radio .fancytree-partsel span.fancytree-checkbox:hover {
  221. background-position: -80px -48px;
  222. }
  223. .fancytree-radio .fancytree-selected span.fancytree-checkbox {
  224. background-position: -32px -48px;
  225. }
  226. .fancytree-radio .fancytree-selected span.fancytree-checkbox:hover {
  227. background-position: -48px -48px;
  228. }
  229. /*------------------------------------------------------------------------------
  230. * Node type icon
  231. * Note: IE6 doesn't correctly evaluate multiples class names,
  232. * so we create combined class names that can be used in the CSS.
  233. *
  234. * Prefix: fancytree-ico-
  235. * 1st character: 'e': expanded, 'c': collapsed
  236. * 2nd character (optional): 'f': folder
  237. *----------------------------------------------------------------------------*/
  238. span.fancytree-icon {
  239. margin-left: 3px;
  240. background-position: 0px 0px;
  241. }
  242. /* Documents */
  243. .fancytree-ico-c span.fancytree-icon:hover {
  244. background-position: -16px 0px;
  245. }
  246. .fancytree-has-children.fancytree-ico-c span.fancytree-icon {
  247. background-position: -32px 0px;
  248. }
  249. .fancytree-has-children.fancytree-ico-c span.fancytree-icon:hover {
  250. background-position: -48px 0px;
  251. }
  252. .fancytree-ico-e span.fancytree-icon {
  253. background-position: -64px 0px;
  254. }
  255. .fancytree-ico-e span.fancytree-icon:hover {
  256. background-position: -80px 0px;
  257. }
  258. /* Folders */
  259. .fancytree-ico-cf span.fancytree-icon {
  260. background-position: 0px -16px;
  261. }
  262. .fancytree-ico-cf span.fancytree-icon:hover {
  263. background-position: -16px -16px;
  264. }
  265. .fancytree-has-children.fancytree-ico-cf span.fancytree-icon {
  266. background-position: -32px -16px;
  267. }
  268. .fancytree-has-children.fancytree-ico-cf span.fancytree-icon:hover {
  269. background-position: -48px -16px;
  270. }
  271. .fancytree-ico-ef span.fancytree-icon {
  272. background-position: -64px -16px;
  273. }
  274. .fancytree-ico-ef span.fancytree-icon:hover {
  275. background-position: -80px -16px;
  276. }
  277. /*------------------------------------------------------------------------------
  278. * Node titles and highlighting
  279. *----------------------------------------------------------------------------*/
  280. span.fancytree-node {
  281. /* See #117 */
  282. display: inherit;
  283. width: 100%;
  284. }
  285. span.fancytree-title {
  286. display: inline-block;
  287. padding-left: 3px;
  288. padding-right: 3px;
  289. color: black;
  290. vertical-align: top;
  291. margin: 0px;
  292. margin-left: 3px;
  293. cursor: pointer;
  294. }
  295. span.fancytree-node.fancytree-error span.fancytree-title {
  296. color: red;
  297. }
  298. /*------------------------------------------------------------------------------
  299. * Drag'n'drop support
  300. *----------------------------------------------------------------------------*/
  301. div.fancytree-drag-helper a {
  302. border: 1px solid gray;
  303. background-color: white;
  304. padding-left: 5px;
  305. padding-right: 5px;
  306. opacity: 0.8;
  307. }
  308. div.fancytree-drag-helper.fancytree-drop-reject {
  309. border-color: red;
  310. }
  311. div.fancytree-drop-accept span.fancytree-drag-helper-img {
  312. background-position: -32px -112px;
  313. }
  314. div.fancytree-drop-reject span.fancytree-drag-helper-img {
  315. background-position: -16px -112px;
  316. }
  317. /*** Drop marker icon *********************************************************/
  318. #fancytree-drop-marker {
  319. width: 32px;
  320. position: absolute;
  321. background-position: 0px -128px;
  322. margin: 0;
  323. }
  324. #fancytree-drop-marker.fancytree-drop-after,
  325. #fancytree-drop-marker.fancytree-drop-before {
  326. width: 64px;
  327. background-position: 0px -144px;
  328. }
  329. #fancytree-drop-marker.fancytree-drop-copy {
  330. background-position: -64px -128px;
  331. }
  332. #fancytree-drop-marker.fancytree-drop-move {
  333. background-position: -32px -128px;
  334. }
  335. /*** Source node while dragging ***********************************************/
  336. span.fancytree-drag-source {
  337. background-color: #e0e0e0;
  338. }
  339. span.fancytree-drag-source span.fancytree.title {
  340. color: gray;
  341. }
  342. /*** Target node while dragging cursor is over it *****************************/
  343. span.fancytree-drop-target.fancytree-drop-accept a {
  344. background-color: #3169C6 !important;
  345. color: white !important;
  346. /* @ IE6 */
  347. text-decoration: none;
  348. }
  349. /*------------------------------------------------------------------------------
  350. * 'table' extension
  351. *----------------------------------------------------------------------------*/
  352. table.fancytree-ext-table {
  353. border-collapse: collapse;
  354. }
  355. table.fancytree-ext-table span.fancytree-node {
  356. display: inline-block;
  357. }
  358. /*------------------------------------------------------------------------------
  359. * 'columnview' extension
  360. *----------------------------------------------------------------------------*/
  361. table.fancytree-ext-columnview tbody tr td {
  362. position: relative;
  363. border: 1px solid gray;
  364. vertical-align: top;
  365. overflow: auto;
  366. }
  367. table.fancytree-ext-columnview tbody tr td > ul {
  368. padding: 0;
  369. }
  370. table.fancytree-ext-columnview tbody tr td > ul li {
  371. list-style-image: none;
  372. list-style-position: outside;
  373. list-style-type: none;
  374. -moz-background-clip: border;
  375. -moz-background-inline-policy: continuous;
  376. -moz-background-origin: padding;
  377. background-attachment: scroll;
  378. background-color: transparent;
  379. background-position: 0px 0px;
  380. background-repeat: repeat-y;
  381. background-image: none;
  382. /* no v-lines */
  383. margin: 0;
  384. padding: 1px 0 0 0;
  385. }
  386. table.fancytree-ext-columnview span.fancytree-node {
  387. position: relative;
  388. /* allow positioning of embedded spans */
  389. display: inline-block;
  390. }
  391. table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded {
  392. background-color: #CBE8F6;
  393. }
  394. table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right {
  395. position: absolute;
  396. right: 3px;
  397. background-position: 0px -80px;
  398. }
  399. table.fancytree-ext-columnview .fancytree-has-children span.fancytree-cv-right:hover {
  400. background-position: -16px -80px;
  401. }
  402. /*------------------------------------------------------------------------------
  403. * 'filter' extension
  404. *----------------------------------------------------------------------------*/
  405. .fancytree-ext-filter-dimm span.fancytree-node span.fancytree-title {
  406. color: silver;
  407. font-weight: lighter;
  408. }
  409. .fancytree-ext-filter-dimm tr.fancytree-submatch span.fancytree-title,
  410. .fancytree-ext-filter-dimm span.fancytree-node.fancytree-submatch span.fancytree-title {
  411. color: black;
  412. font-weight: normal;
  413. }
  414. .fancytree-ext-filter-dimm tr.fancytree-match span.fancytree-title,
  415. .fancytree-ext-filter-dimm span.fancytree-node.fancytree-match span.fancytree-title {
  416. color: black;
  417. font-weight: bold;
  418. }
  419. .fancytree-ext-filter-hide tr.fancytree-hide,
  420. .fancytree-ext-filter-hide span.fancytree-node.fancytree-hide {
  421. display: none;
  422. }
  423. .fancytree-ext-filter-hide tr.fancytree-submatch span.fancytree-title,
  424. .fancytree-ext-filter-hide span.fancytree-node.fancytree-submatch span.fancytree-title {
  425. color: silver;
  426. font-weight: lighter;
  427. }
  428. .fancytree-ext-filter-hide tr.fancytree-match span.fancytree-title,
  429. .fancytree-ext-filter-hide span.fancytree-node.fancytree-match span.fancytree-title {
  430. color: black;
  431. font-weight: normal;
  432. }
  433. /*------------------------------------------------------------------------------
  434. * 'wide' extension
  435. *----------------------------------------------------------------------------*/
  436. ul.fancytree-ext-wide span.fancytree-node > span {
  437. position: relative;
  438. z-index: 2;
  439. }
  440. ul.fancytree-ext-wide span.fancytree-node span.fancytree-title {
  441. position: relative;
  442. z-index: 1;
  443. width: 100%;
  444. padding-left: 503px;
  445. margin-left: -500px;
  446. }
  447. /*******************************************************************************
  448. * Styles specific to this skin.
  449. *
  450. * This section is automatically generated from the `ui-fancytree.less` template.
  451. ******************************************************************************/
  452. /*******************************************************************************
  453. * Node titles
  454. */
  455. span.fancytree-title {
  456. border: 1px solid transparent;
  457. border-radius: 0;
  458. }
  459. span.fancytree-focused span.fancytree-title {
  460. outline: 1px dotted black;
  461. }
  462. span.fancytree-selected span.fancytree-title,
  463. span.fancytree-active span.fancytree-title {
  464. background-color: #D4D4D4;
  465. }
  466. span.fancytree-selected span.fancytree-title {
  467. font-style: italic;
  468. }
  469. .fancytree-treefocus span.fancytree-selected span.fancytree-title,
  470. .fancytree-treefocus span.fancytree-active span.fancytree-title {
  471. color: white;
  472. background-color: #3875D7;
  473. }
  474. /*******************************************************************************
  475. * 'table' extension
  476. */
  477. table.fancytree-ext-table {
  478. border-collapse: collapse;
  479. }
  480. table.fancytree-ext-table tbody tr.fancytree-focused {
  481. background-color: #99DEFD;
  482. }
  483. table.fancytree-ext-table tbody tr.fancytree-active {
  484. background-color: royalblue;
  485. }
  486. table.fancytree-ext-table tbody tr.fancytree-selected {
  487. background-color: #99DEFD;
  488. }
  489. /*******************************************************************************
  490. * 'columnview' extension
  491. */
  492. table.fancytree-ext-columnview tbody tr td {
  493. border: 1px solid gray;
  494. }
  495. table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded {
  496. background-color: #ccc;
  497. }
  498. table.fancytree-ext-columnview span.fancytree-node.fancytree-active {
  499. background-color: royalblue;
  500. }