You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

134 lines
4.0 KiB

  1. /*!
  2. * Fancytree "XP" skin.
  3. *
  4. * DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from
  5. * the LESS templates.
  6. */
  7. // Import common styles
  8. @import "skin-common.less";
  9. /*******************************************************************************
  10. * Styles specific to this skin.
  11. *
  12. * This section is automatically generated from the `ui-fancytree.less` template.
  13. ******************************************************************************/
  14. // Override the variable after the import.
  15. // NOTE: Variables are always resolved as the last definition, even if it is
  16. // after where it is used.
  17. @fancy-use-sprites: true; // false: suppress all background images (i.e. icons)
  18. @fancy-icon-width: 16px;
  19. @fancy-icon-height: 16px;
  20. @fancy-icon-spacing: 3px;
  21. @fancy-node-border-width: 0;
  22. @fancy-node-v-spacing: 0px; // gap between two node borders
  23. // We need to define this variable here (not in skin-common.less) to make it
  24. // work with grunt and webpack:
  25. @fancy-image-prefix: "./skin-xp/";
  26. // Use 'data-uri(...)' to embed the image into CSS instead of linking to 'loading.gif':
  27. // @fancy-loading-url: data-uri("@{fancy-image-prefix}loading.gif");
  28. // Set to `true` to use `data-uri(...)` which will embed icons.gif into CSS
  29. // instead of linking to that file:
  30. // @fancy-inline-sprites: true;
  31. //default 10pt, which is used in a relative manner resulting in 13.3 in dokuwiki-template.
  32. @fancy-font-size: 93%;
  33. /*******************************************************************************
  34. * Tree container
  35. */
  36. ul.fancytree-container {
  37. li {
  38. // background-image: url("vline.gif");
  39. // Use 'data-uri(...)' to embed the image into CSS instead of linking to 'loading.gif':
  40. /* CHANGE: replace data-uri() with url() */
  41. background-image: url("@{fancy-image-prefix}vline.gif");
  42. background-position: 0 1px;
  43. }
  44. &.fancytree-rtl {
  45. li {
  46. background-position: right 1px;
  47. background-image: url("@{fancy-image-prefix}vline-rtl.gif");
  48. }
  49. .fancytree-exp-n span.fancytree-expander {
  50. background-image: url("@{fancy-image-prefix}icons-rtl.gif");
  51. .useSprite(0, 4);
  52. }
  53. .fancytree-exp-nl span.fancytree-expander {
  54. background-image: url("@{fancy-image-prefix}icons-rtl.gif");
  55. .useSprite(1, 4);
  56. }
  57. }
  58. // Suppress lines for last child node
  59. li.fancytree-lastsib {
  60. background-image: none;
  61. }
  62. }
  63. // Suppress lines if level is fixed expanded (option minExpandLevel)
  64. ul.fancytree-no-connector > li {
  65. background-image: none;
  66. }
  67. // XP theme always displays connectors (not only when .fancytree-connectors is set)
  68. .fancytree-exp-n span.fancytree-expander,
  69. .fancytree-exp-nl span.fancytree-expander {
  70. .setBgImageUrl("icons.gif");
  71. // margin-top: 0;
  72. }
  73. .fancytree-exp-n span.fancytree-expander, // End-node, not last sibling
  74. .fancytree-exp-n span.fancytree-expander:hover {
  75. .useSprite(0, 4);
  76. }
  77. .fancytree-exp-nl span.fancytree-expander, // End-node, last sibling
  78. .fancytree-exp-nl span.fancytree-expander:hover {
  79. .useSprite(1, 4);
  80. }
  81. /*******************************************************************************
  82. * Node titles
  83. */
  84. span.fancytree-title {
  85. border: @fancy-node-border-width solid transparent; // avoid jumping, when a border is added on hover
  86. }
  87. span.fancytree-title:hover {
  88. background-color: #F2F7FD; // light blue
  89. border-color: #B8D6FB; // darker light blue
  90. }
  91. span.fancytree-focused span.fancytree-title {
  92. outline: 1px dotted black;
  93. background-color: #EFEBDE; // gray
  94. }
  95. .fancytree-folder span.fancytree-title {
  96. font-weight: bold;
  97. }
  98. .fancytree-selected span.fancytree-title {
  99. color: green;
  100. font-style: italic;
  101. }
  102. .fancytree-active span.fancytree-title {
  103. background-color: #3169C6 !important;
  104. color: white !important; // @ IE6
  105. }
  106. ///*******************************************************************************
  107. // * 'table' extension
  108. // */
  109. //table.fancytree-ext-table {
  110. // border-collapse: collapse;
  111. // tbody tr.fancytree-focused {
  112. // background-color: #99DEFD;
  113. // }
  114. // tbody tr.fancytree-active {
  115. // background-color: royalblue;
  116. // }
  117. // tbody tr.fancytree-selected {
  118. // background-color: #99FDDE;
  119. // }
  120. //}