ui.fancytree.css 16 KB

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