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.
 
 
 
 
 

159 lines
4.8 KiB

  1. /*!
  2. * Fancytree "Win8" 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. // Borders have NO radius and NO gradients are used!
  15. // both:
  16. // unselected background: white
  17. // hover bar (unselected, inactive): #E5F3FB (border: #70C0E7) 'very light blue'
  18. // active node: #CBE8F6 (border: #26A0DA) 'light blue'
  19. // active node with hover: wie active node
  20. // Tree view:
  21. // active node, tree inactive: #F7F7F7 (border: #DEDEDE) 'light gray, selected, but tree not active'
  22. // List view:
  23. // selected bar: --> active bar
  24. // focus bar: transparent(white) + border 1px solid #3399FF ()
  25. // table left/right border: #EDEDED 'light gray'
  26. // Override the variable after the import.
  27. // NOTE: Variables are always resolved as the last definition, even if it is
  28. // after where it is used.
  29. @fancy-use-sprites: true; // false: suppress all background images (i.e. icons)
  30. @fancy-line-height: 20px; // height of a nodes selection bar including borders
  31. @fancy-node-v-spacing: 0px; // gap between two node borders
  32. @fancy-icon-width: 16px;
  33. @fancy-icon-height: 16px;
  34. @fancy-icon-spacing: 3px; // margin between icon/icon or icon/title
  35. @fancy-icon-ofs-top: 2px; // extra vertical offset for expander, checkbox and icon
  36. @fancy-title-ofs-top: 0px; // extra vertical offset for title
  37. @fancy-node-border-width: 1px;
  38. @fancy-node-border-radius: 0px;
  39. @fancy-node-outline-width: 1px;
  40. // @fancy-icon-width: 16px;
  41. // @fancy-icon-height: 16px;
  42. // @fancy-line-height: 16px;
  43. // @fancy-icon-spacing: 3px;
  44. // We need to define this variable here (not in skin-common.less) to make it
  45. // work with grunt and webpack:
  46. @fancy-image-prefix: "./skin-win8/";
  47. // Use 'data-uri(...)' to embed the image into CSS instead of linking to 'loading.gif':
  48. // @fancy-loading-url: data-uri("@{fancy-image-prefix}loading.gif");
  49. // Set to `true` to use `data-uri(...)` which will embed icons.gif into CSS
  50. // instead of linking to that file:
  51. // @fancy-inline-sprites: true;
  52. //default 10pt, which is used in a relative manner resulting in 13.3 in dokuwiki-template.
  53. @fancy-font-size: 93%;
  54. /*******************************************************************************
  55. * Node titles
  56. */
  57. .fancytree-plain {
  58. span.fancytree-title {
  59. border: @fancy-node-border-width solid transparent; // avoid jumping, when a border is added on hover
  60. }
  61. &.fancytree-container.fancytree-treefocus span.fancytree-focused span.fancytree-title {
  62. border-color: #3399ff;
  63. }
  64. span.fancytree-active span.fancytree-title,
  65. span.fancytree-selected span.fancytree-title { // active/selcted nodes inside inactive tree
  66. background-color: #f7f7f7;
  67. border-color: #dedede;
  68. }
  69. span.fancytree-node span.fancytree-selected span.fancytree-title {
  70. font-style: italic;
  71. }
  72. span.fancytree-node:hover span.fancytree-title {
  73. background-color: #eff9fe; // hover is always colored, even if tree is unfocused
  74. border-color: #70c0e7;
  75. }
  76. &.fancytree-container.fancytree-treefocus {
  77. span.fancytree-active span.fancytree-title,
  78. span.fancytree-selected span.fancytree-title {
  79. background-color: #cbe8f6;
  80. border-color: #26a0da;
  81. }
  82. }
  83. }
  84. /*******************************************************************************
  85. * 'table' extension
  86. */
  87. table.fancytree-ext-table tbody {
  88. tr td {
  89. border: 1px solid #EDEDED;
  90. }
  91. span.fancytree-node,
  92. span.fancytree-node:hover { // undo standard tree css
  93. border: none;
  94. background: none;
  95. }
  96. // Title gets a white background, when hovered. Undo standard node formatting
  97. // span.fancytree-title:hover {
  98. // border: none; //1px solid transparent;
  99. // background: inherit;
  100. // background: transparent;
  101. // background: none;
  102. // filter: none;
  103. // }
  104. tr:hover {
  105. background-color: #E5F3FB;
  106. outline: 1px solid #70C0E7;
  107. }
  108. // tr:hover td {
  109. // outline: 1px solid #D8F0FA;
  110. // }
  111. // tr.fancytree-focused {
  112. // border-color: #3399FF;
  113. // outline: 1px dotted black;
  114. // }
  115. tr.fancytree-focused span.fancytree-title {
  116. outline: 1px dotted black;
  117. }
  118. tr.fancytree-active:hover,
  119. tr.fancytree-selected:hover {
  120. background-color: #CBE8F6;
  121. outline: 1px solid #26A0DA;
  122. }
  123. tr.fancytree-active { // dimmed, if inside inactive tree
  124. background-color: #F7F7F7;
  125. outline: 1px solid #DEDEDE;
  126. }
  127. tr.fancytree-selected { // dimmed, if inside inactive tree
  128. background-color: #F7F7F7;
  129. }
  130. }
  131. table.fancytree-ext-table.fancytree-treefocus tbody {
  132. tr.fancytree-active {
  133. background-color: #CBE8F6;
  134. outline: 1px solid #26A0DA;
  135. }
  136. tr.fancytree-selected {
  137. background-color: #CBE8F6;
  138. }
  139. }