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.
 
 
 
 
 

132 lines
4.1 KiB

  1. /*!
  2. * Fancytree "material" 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. // We need to define this variable here (not in skin-common.less) to make it
  10. // work with grunt and webpack:
  11. @fancy-image-prefix: "./skin-mdi/";
  12. /*******************************************************************************
  13. * Styles specific to this skin.
  14. *
  15. * This section is automatically generated from the `ui-fancytree.less` template.
  16. ******************************************************************************/
  17. /*
  18. https://material.io/guidelines/components/data-tables.html#data-tables-structure
  19. */
  20. // local vars
  21. @fancy-cst-size: 18px;
  22. @fancy-cst-primary-color: #3f51b5; // primary app color (of indigo-pink)
  23. @fancy-cst-secondary-color: #ff4081; // secondary app color (of indigo-pink): checkbox
  24. @fancy-cst-black-87: #212121; // 87% black: table content
  25. @fancy-cst-black-54: #757575; // 54% black: column headers
  26. @fancy-cst-select-bg: #f5f5f5; // Grey 100: selected row backround
  27. @fancy-cst-hover-bg: #eeeeee; // Grey 200: hovered row backround
  28. // Override the variable after the import.
  29. // NOTE: Variables are always resolved as the last definition, even if it is
  30. // after where it is used.
  31. @fancy-use-sprites: false; // false: suppress all background images (i.e. icons)
  32. @fancy-loading-url: none;
  33. @fancy-level-indent: @fancy-cst-size; //@fancy-cst-size;
  34. @fancy-line-height: @fancy-cst-size; // height of a nodes selection bar including borders
  35. @fancy-node-v-spacing: 1px; // gap between two node borders
  36. @fancy-icon-width: @fancy-cst-size;
  37. @fancy-icon-height: @fancy-cst-size;
  38. @fancy-icon-spacing: 3px; // margin between icon/icon or icon/title
  39. @fancy-icon-ofs-top: -2px; // extra vertical offset for expander, checkbox and icon
  40. @fancy-title-ofs-top: 0px; // extra vertical offset for title
  41. @fancy-node-border-width: 1px;
  42. @fancy-node-border-radius: 0px;
  43. @fancy-node-outline-width: 1px;
  44. // @fancy-loading-url: data-uri("@{fancy-image-prefix}loading.gif");
  45. // Set to `true` to use `data-uri(...)` instead of a `url(...)` link:
  46. @fancy-inline-sprites: false;
  47. //default 10pt, which is used in a relative manner resulting in 13.3 in dokuwiki-template.
  48. @fancy-font-size: 93%; //@fancy-cst-size;
  49. @fancy-font-family: "Roboto Regular", tahoma, arial, helvetica;
  50. @fancy-font-color: @fancy-cst-black-87;
  51. @fancy-font-color-dimm: silver;
  52. @fancy-font-error-color: red;
  53. ul.fancytree-container ul
  54. {
  55. padding: 0 0 0 1em; //0.3em 0 0 1em;
  56. margin: 0;
  57. //font-size: @fancy-cst-size;
  58. //color: @fancy-cst-black-87;
  59. }
  60. ul.fancytree-container span.fancytree-icon.mdi
  61. {
  62. font-size: @fancy-cst-size;
  63. color: @fancy-cst-black-87;
  64. }
  65. // set icon color to font color as well
  66. span.fancytree-node {
  67. color: @fancy-font-color;
  68. }
  69. span.fancytree-expander {
  70. font-size: @fancy-cst-size;
  71. }
  72. /*******************************************************************************
  73. * Node titles
  74. */
  75. .fancytree-plain {
  76. span.fancytree-selected span.fancytree-title {
  77. background-color: @fancy-cst-select-bg;
  78. }
  79. span.fancytree-selected span.fancytree-title:hover,
  80. span.fancytree-active span.fancytree-title {
  81. background-color: @fancy-cst-hover-bg;
  82. }
  83. }
  84. .fancytree-container span.fancytree-checkbox {
  85. color: @fancy-cst-secondary-color;
  86. }
  87. ///*******************************************************************************
  88. // * 'table' extension
  89. // */
  90. //table.fancytree-ext-table {
  91. // border-collapse: collapse;
  92. // tbody {
  93. // tr.fancytree-focused, tr.fancytree-selected {
  94. // background-color: @fancy-cst-select-bg;
  95. // }
  96. // tr.fancytree-active, tr:hover {
  97. // background-color: @fancy-cst-hover-bg;
  98. // }
  99. // }
  100. //}
  101. //
  102. ///*******************************************************************************
  103. // * 'columnview' extension
  104. // */
  105. //
  106. //table.fancytree-ext-columnview tbody tr td {
  107. // border: 1px solid gray;
  108. //}
  109. //table.fancytree-ext-columnview span.fancytree-node.fancytree-expanded {
  110. // background-color: #ccc;
  111. //}
  112. //table.fancytree-ext-columnview span.fancytree-node.fancytree-active {
  113. // background-color: royalblue;
  114. //}