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.
 
 
 
 
 

146 lines
4.3 KiB

  1. /*!
  2. * Fancytree "win8" 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. // 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. // Set to `true` to inline icon sprite into CSS:
  31. // @fancy-inline-sprites: true;
  32. @fancy-icon-width: 16px;
  33. @fancy-icon-height: 16px;
  34. @fancy-line-height: 16px;
  35. @fancy-icon-spacing: 3px;
  36. // We need to define this variable here (not in skin-common.less) to make it
  37. // work with grunt and webpack:
  38. @fancy-image-prefix: "./skin-win8-n/";
  39. // Use 'data-uri(...)' to embed the image into CSS instead of linking to 'loading.gif':
  40. // @fancy-loading-url: data-uri("@{fancy-image-prefix}loading.gif");
  41. // Set to `true` to use `data-uri(...)` which will embed icons.gif into CSS
  42. // instead of linking to that file:
  43. // @fancy-inline-sprites: true;
  44. /*******************************************************************************
  45. * Node titles
  46. */
  47. .fancytree-plain {
  48. span.fancytree-node {
  49. border: @fancy-node-border-width solid transparent; // avoid jumping, when a border is added on hover
  50. }
  51. span.fancytree-node:hover {
  52. background-color: #E5F3FB;
  53. border-color: #70C0E7;
  54. }
  55. &.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-focused {
  56. border-color: #3399FF;
  57. // outline: 1px solid #3399FF;
  58. }
  59. span.fancytree-node.fancytree-active,
  60. span.fancytree-node.fancytree-selected { // active/selcted nodes inside inactive tree
  61. background-color: #F7F7F7;
  62. border-color: #DEDEDE;
  63. }
  64. &.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-active,
  65. &.fancytree-container.fancytree-treefocus span.fancytree-node.fancytree-selected,
  66. span.fancytree-node.fancytree-active:hover,
  67. span.fancytree-node.fancytree-selected:hover {
  68. background-color: #CBE8F6;
  69. border-color: #26A0DA;
  70. }
  71. .fancytree-node.fancytree-selected {
  72. font-style: italic;
  73. }
  74. }
  75. /*******************************************************************************
  76. * 'table' extension
  77. */
  78. table.fancytree-ext-table tbody {
  79. tr td {
  80. border: 1px solid #EDEDED;
  81. }
  82. span.fancytree-node,
  83. span.fancytree-node:hover { // undo standard tree css
  84. border: none;
  85. background: none;
  86. }
  87. // Title gets a white background, when hovered. Undo standard node formatting
  88. // span.fancytree-title:hover {
  89. // border: none; //1px solid transparent;
  90. // background: inherit;
  91. // background: transparent;
  92. // background: none;
  93. // filter: none;
  94. // }
  95. tr:hover {
  96. background-color: #E5F3FB;
  97. outline: 1px solid #70C0E7;
  98. }
  99. // tr:hover td {
  100. // outline: 1px solid #D8F0FA;
  101. // }
  102. // tr.fancytree-focused {
  103. // border-color: #3399FF;
  104. // outline: 1px dotted black;
  105. // }
  106. tr.fancytree-focused span.fancytree-title {
  107. outline: 1px dotted black;
  108. }
  109. tr.fancytree-active:hover,
  110. tr.fancytree-selected:hover {
  111. background-color: #CBE8F6;
  112. outline: 1px solid #26A0DA;
  113. }
  114. tr.fancytree-active { // dimmed, if inside inactive tree
  115. background-color: #F7F7F7;
  116. outline: 1px solid #DEDEDE;
  117. }
  118. tr.fancytree-selected { // dimmed, if inside inactive tree
  119. background-color: #F7F7F7;
  120. }
  121. }
  122. table.fancytree-ext-table.fancytree-treefocus tbody {
  123. tr.fancytree-active {
  124. background-color: #CBE8F6;
  125. outline: 1px solid #26A0DA;
  126. }
  127. tr.fancytree-selected {
  128. background-color: #CBE8F6;
  129. }
  130. }