zfsstyles.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  1. :root {
  2. --light-bg-color: rgb(237 238 242);
  3. font-family: sans-serif;
  4. }
  5. /*
  6. *
  7. * Object Tree
  8. *
  9. */
  10. .zft-caption {
  11. padding: 1px;
  12. font-size: 1rem;
  13. font-weight: 500;
  14. background-color: rgb(237 238 242);
  15. display: flex;
  16. align-items: center;
  17. justify-content: space-between;
  18. border-bottom-style: solid;
  19. border-bottom-width: 1px;
  20. }
  21. .zft-caption-lbl {
  22. flex-grow: 1;
  23. text-align: center;
  24. }
  25. /* Object tree caption button */
  26. .zft-icon-btn {
  27. padding: 1px 10px;
  28. font-size: 1.2rem;
  29. cursor: pointer;
  30. }
  31. .zft-hidden {
  32. display: none;
  33. }
  34. ul.zft-tree-nested {
  35. list-style-type: none;
  36. font-size: 10pt;
  37. padding-left: 2em;
  38. }
  39. li.zft-collapsed ul.zft-tree-nested {
  40. display: none
  41. }
  42. .zft-tree-item-caption {
  43. user-select: none;
  44. padding-right: 2em;
  45. padding-left: 0.5em;
  46. }
  47. li.zft-selected > .zft-tree-item-caption {
  48. background-color: blue;
  49. color: white;
  50. }
  51. .zft-tree-item-caption::before {
  52. color: black;
  53. display: inline-block;
  54. margin-right: 4px;
  55. }
  56. li.xzft-collapsed > span.zft-tree-item-caption::before {
  57. content: "\27A4";
  58. }
  59. li.xzft-expanded > span.zft-tree-item-caption::before {
  60. content: "\2B9F";
  61. }
  62. li.zft-collapsed::before {
  63. content: "\27A4";
  64. }
  65. li.zft-expanded::before {
  66. content: "\2B9F";
  67. }