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.
 
 
 
 
 

186 lines
5.5 KiB

  1. /*!
  2. * Fancytree "bootstrap" skin (highlighting the node span instead of title-only).
  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. // local vars
  15. // @fancy-my-icon-size: 16px;
  16. // Override the variable after the import.
  17. // NOTE: Variables are always resolved as the last definition, even if it is
  18. // after where it is used.
  19. @fancy-use-sprites: false; // false: suppress all background images (i.e. icons)
  20. @fancy-loading-url: none;
  21. @fancy-icon-width: 1em;
  22. @fancy-icon-height: 1em;
  23. @fancy-line-height: 1em;
  24. @fancy-icon-spacing: 0.5em;
  25. // Use 'data-uri(...)' to embed the image into CSS instead of linking to 'loading.gif':
  26. // @fancy-loading-url: data-uri("@{fancy-image-prefix}loading.gif");
  27. // Set to `true` to use `data-uri(...)` which will embed icons.gif into CSS
  28. // instead of linking to that file:
  29. // @fancy-inline-sprites: true;
  30. // We need to define this variable here (not in skin-common.less) to make it
  31. // work with grunt and webpack:
  32. @fancy-image-prefix: "./skin-bootstrap-n/";
  33. //default 10pt, which is used in a relative manner resulting in 13.3 in dokuwiki-template.
  34. @fancy-font-size: 93%; //@fancy-cst-size;
  35. ul.fancytree-container ul {
  36. padding: 0 0 0 1.5em;
  37. margin: 0;
  38. }
  39. /* Prevent focus frame */
  40. .fancytree-container:focus {
  41. outline: none;
  42. }
  43. // Error status node
  44. .fancytree-container span.fancytree-statusnode-error span.fancytree-expander {
  45. color: @fancy-font-error-color;
  46. }
  47. /////
  48. // Original bootstrap colors (http://getbootstrap.com/css/#responsive-utilities)
  49. @gray-darker: lighten(#000, 13.5%); // #222
  50. @gray-dark: lighten(#000, 20%); // #333
  51. @gray: lighten(#000, 33.5%); // #555
  52. @gray-light: lighten(#000, 60%); // #999
  53. @gray-lighter: lighten(#000, 93.5%); // #eee
  54. @brand-primary: #428bca; // blue
  55. @brand-success: #5cb85c; // green
  56. @brand-info: #5bc0de; // light blue
  57. @brand-warning: #f0ad4e; // orange
  58. @brand-danger: #d9534f; // red
  59. @border-radius-base: 4px;
  60. @border-radius-large: 6px;
  61. @border-radius-small: 3px;
  62. /////////////
  63. span.fancytree-node {
  64. border: @fancy-node-border-width solid transparent; // avoid jumping, when a border is added on hover
  65. border-radius: @border-radius-small;
  66. padding-left: 8px;
  67. color: @fancy-font-color; //set icon color to font color as well
  68. }
  69. span.fancytree-title {
  70. border-radius: @border-radius-small;
  71. }
  72. // Inactive tree:
  73. span.fancytree-node.fancytree-selected { // selected nodes inside inactive tree
  74. background-color: lighten(@brand-success, 10%);
  75. border-color: lighten(@brand-success, 10%);
  76. span.fancytree-title {
  77. background-color: lighten(@brand-success, 10%); // green title, even when active
  78. }
  79. }
  80. span.fancytree-node.fancytree-active { // active nodes inside inactive tree
  81. background-color: lighten(@brand-primary, 10%);
  82. }
  83. // Active tree:
  84. .fancytree-container.fancytree-treefocus {
  85. span.fancytree-node:hover {
  86. background-color: lighten(@brand-primary, 42%);
  87. }
  88. span.fancytree-node.fancytree-focused {
  89. border-color: @brand-primary;
  90. }
  91. span.fancytree-node.fancytree-selected {
  92. background-color: @brand-success;
  93. span.fancytree-title {
  94. background-color: @brand-success; // green title, even when active
  95. }
  96. }
  97. span.fancytree-node.fancytree-active {
  98. background-color: @brand-primary;
  99. border-color: @brand-primary;
  100. }
  101. }
  102. ///*******************************************************************************
  103. // * 'table' extension
  104. // */
  105. //table.fancytree-ext-table tbody {
  106. // tr td {
  107. // border: 1px solid @gray-lighter;
  108. // }
  109. // // span.fancytree-node,
  110. // // span.fancytree-node:hover { // undo standard tree css
  111. // // border: none;
  112. // // background: none;
  113. // // }
  114. // // // Title get's a white background, when hovered. Undo standard node formatting
  115. // // span.fancytree-title:hover {
  116. // // border: none;
  117. // // background: inherit;
  118. // // background: transparent;
  119. // // background: none;
  120. // // filter: none;
  121. // // }
  122. // // dimmed, if inside inactive tree
  123. // tr.fancytree-selected {
  124. // background-color: lighten(@brand-success, 10%);
  125. // span.fancytree-node {
  126. // background-color: lighten(@brand-success, 10%);
  127. // }
  128. // span.fancytree-title {
  129. // background-color: lighten(@brand-success, 10%); // green title, even when active
  130. // }
  131. // }
  132. // tr.fancytree-active { // dimmed, if inside inactive tree
  133. // background-color: lighten(@brand-primary, 10%);
  134. // span.fancytree-node {
  135. // background-color: lighten(@brand-primary, 10%);
  136. // }
  137. // }
  138. //}
  139. //
  140. //table.fancytree-ext-table.fancytree-treefocus tbody {
  141. // tr:hover {
  142. // background-color: lighten(@brand-primary, 42%);
  143. // // outline: 1px solid @brand-primary;
  144. // }
  145. // tr.fancytree-focused span.fancytree-title {
  146. // outline: 1px dotted @brand-primary;
  147. // }
  148. // tr.fancytree-active:hover,
  149. // tr.fancytree-selected:hover {
  150. // // background-color: #CBE8F6;
  151. // // outline: 1px solid #26A0DA;
  152. // }
  153. // tr.fancytree-selected {
  154. // background-color: @brand-success;
  155. // span.fancytree-node {
  156. // background-color: @brand-success;
  157. // }
  158. // span.fancytree-title {
  159. // background-color: @brand-success; // green title, even when active
  160. // }
  161. // }
  162. // tr.fancytree-active {
  163. // background-color: @brand-primary;
  164. // span.fancytree-node {
  165. // background-color: @brand-primary;
  166. // }
  167. // }
  168. //}