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.
 
 
 
 
 

158 lines
5.0 KiB

  1. /*!
  2. * Fancytree "Win7" skin.
  3. *
  4. * DON'T EDIT THE CSS FILE DIRECTLY, since it is automatically generated from
  5. * the LESS templates.
  6. */
  7. // Fancytree Win7 styles
  8. // both:
  9. // unselected background: #FCFCFC 'nearly white', no border
  10. //
  11. // hover bar (unselected, inactive): #fcfdfe..#EFF9FE (border: #b8d6fb) 'very light blue'
  12. // background: #f8fcfe; //
  13. // background: -moz-linear-gradient(top, #f8fcfe 0%, #eff9fe 100%);
  14. // active node: #F6FBFD..#D5EFFC (border: #719acb) 'light blue'
  15. // background: #f6fbfd;
  16. // background: -moz-linear-gradient(top, #f6fbfd 0%, #d5effc 100%);
  17. // active node with hover: #F2F9FD..#C4E8FA (border: #B6E6FB)
  18. // background: #f2f9fd;
  19. // background: -moz-linear-gradient(top, #f2f9fd 0%, #c4e8fa 100%);
  20. // Tree view:
  21. // active node, tree inactive: #FAFAFB..#E5E5E5 (border: #D9D9D9) 'light gray, selected, but tree not active'
  22. // background: #fafafb;
  23. // background: -moz-linear-gradient(top, #fafafb 0%, #e5e5e5 100%);
  24. // List view:
  25. // selected bar: --> active bar
  26. // focus bar: active + border 1px dotted #090402 (inside the blue border)
  27. // table left/right border: #EDEDED 'light gray'
  28. // Import common styles
  29. @import "skin-common.less";
  30. /*******************************************************************************
  31. * Styles specific to this skin.
  32. *
  33. * This section is automatically generated from the `ui-fancytree.less` template.
  34. ******************************************************************************/
  35. // Override the variable after the import.
  36. // NOTE: Variables are always resolved as the last definition, even if it is
  37. // after where it is used.
  38. @fancy-use-sprites: true; // false: suppress all background images (i.e. icons)
  39. @fancy-line-height: 20px; // height of a nodes selection bar including borders
  40. @fancy-node-v-spacing: 1px; // gap between two node borders
  41. @fancy-icon-width: 16px;
  42. @fancy-icon-height: 16px;
  43. @fancy-icon-spacing: 3px; // margin between icon/icon or icon/title
  44. @fancy-icon-ofs-top: 2px; // extra vertical offset for expander, checkbox and icon
  45. @fancy-title-ofs-top: 0px; // extra vertical offset for title
  46. @fancy-node-border-width: 1px;
  47. @fancy-node-border-radius: 3px;
  48. @fancy-node-outline-width: 1px;
  49. // We need to define this variable here (not in skin-common.less) to make it
  50. // work with grunt and webpack:
  51. @fancy-image-prefix: "./skin-win7/";
  52. // Use 'data-uri(...)' to embed the image into CSS instead of linking to 'loading.gif':
  53. // @fancy-loading-url: data-uri("@{fancy-image-prefix}loading.gif");
  54. // Set to `true` to use `data-uri(...)` which will embed icons.gif into CSS
  55. // instead of linking to that file:
  56. // @fancy-inline-sprites: true;
  57. //default 10pt, which is used in a relative manner resulting in 13.3 in dokuwiki-template.
  58. @fancy-font-size: 93%;
  59. ul.fancytree-container {
  60. }
  61. /*******************************************************************************
  62. * Node titles
  63. */
  64. span.fancytree-title {
  65. }
  66. // active nodes inside an UN-focused tree are gray instead of blue
  67. span.fancytree-active .fancytree-title,
  68. span.fancytree-selected .fancytree-title {
  69. .spanStyleMixin(inherit, #e5e5e5, #d9d9d9, #fafafb, #e5e5e5);
  70. }
  71. span.fancytree-selected .fancytree-title {
  72. font-style: italic;
  73. }
  74. // Markers inside an active tree
  75. .fancytree-treefocus {
  76. span.fancytree-active .fancytree-title,
  77. span.fancytree-selected .fancytree-title {
  78. .spanStyleMixin(inherit, #f6fbfd, #99defd, #f6fbfd, #d5effc);
  79. }
  80. span.fancytree-focused span.fancytree-title {
  81. border: @fancy-node-border-width solid #719acb;
  82. }
  83. }
  84. // Hover is always colored (even if tree is inactive)
  85. span.fancytree-title:hover {
  86. .spanStyleMixin(inherit, #f8fcfe, #d8f0fa, #f8fcfe, #eff9fe);
  87. }
  88. span.fancytree-active .fancytree-title:hover,
  89. span.fancytree-selected .fancytree-title:hover {
  90. .spanStyleMixin(inherit, #f2f9fd, #719acb, #f2f9fd, #c4e8fa);
  91. }
  92. /*******************************************************************************
  93. * 'table' extension
  94. */
  95. table.fancytree-ext-table tbody {
  96. tr td {
  97. border: 1px solid #ededed;
  98. }
  99. tr:hover {
  100. .spanStyleMixin(inherit, #f8fcfe, inherit, #f8fcfe, #eff9fe);
  101. outline: 1px solid #d8f0fa;
  102. }
  103. // tr:hover td {
  104. // outline: 1px solid #D8F0FA;
  105. // }
  106. tr.fancytree-focused {
  107. // background-color: #99DEFD;
  108. outline: 1px dotted #090402;
  109. }
  110. span.fancytree-focused span.fancytree-title {
  111. outline: solid dotted black;
  112. }
  113. // Title gets a white background, when hovered. Undo standard node formatting
  114. span.fancytree-title:hover {
  115. border: 1px solid transparent;
  116. background: inherit;
  117. background: transparent;
  118. background: none;
  119. filter: none;
  120. }
  121. tr.fancytree-active:hover,
  122. tr.fancytree-selected:hover {
  123. .spanStyleMixin(inherit, #f2f9fd, inherit, #f2f9fd, #c4e8fa);
  124. outline: 1px solid #B6E6FB;
  125. }
  126. tr.fancytree-active,
  127. tr.fancytree-selected {
  128. .spanStyleMixin(inherit, #f6fbfd, inherit, #f6fbfd, #d5effc);
  129. outline: 1px solid #99DEFD;
  130. }
  131. // tr.fancytree-selected .fancytree-title {
  132. // font-style: italic;
  133. // }
  134. }