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.
 
 
 
 
 
 

80 regels
1.4 KiB

  1. .tree {
  2. padding: 15px;
  3. }
  4. .tree li {
  5. list-style: none;
  6. margin: 2px 0px;
  7. }
  8. ul.tree-children {
  9. padding-left: 20px;
  10. }
  11. .tree-link {
  12. cursor: pointer;
  13. display: inline-block;
  14. padding: 1px;
  15. }
  16. .tree-link.active i {
  17. color: #5e64ff !important;
  18. }
  19. .tree-hover {
  20. background-color: #F7FAFC;
  21. min-height: 20px;
  22. border: 1px solid #d1d8dd;
  23. }
  24. .tree-node-toolbar {
  25. display: inline-block;
  26. padding: 0px 5px;
  27. margin-left: 15px;
  28. margin-bottom: -4px;
  29. margin-top: -8px;
  30. }
  31. @media (max-width: 767px) {
  32. ul.tree-children {
  33. padding-left: 10px;
  34. }
  35. }
  36. .tree,
  37. .tree-node {
  38. position: relative;
  39. }
  40. .tree.opened::before,
  41. .tree-node.opened::before,
  42. .tree:last-child::after,
  43. .tree-node:last-child::after {
  44. content: '';
  45. position: absolute;
  46. top: 16px;
  47. left: 8px;
  48. height: calc(100% - 26px);
  49. width: 1px;
  50. background: #d1d8dd;
  51. z-index: -1;
  52. }
  53. .tree:last-child::after,
  54. .tree-node:last-child::after {
  55. top: 11px;
  56. left: -13px;
  57. height: calc(100% - 15px);
  58. width: 3px;
  59. background: #fff;
  60. }
  61. .tree.opened > .tree-children > .tree-node > .tree-link::before,
  62. .tree-node.opened > .tree-children > .tree-node > .tree-link::before {
  63. content: '';
  64. position: absolute;
  65. width: 15px;
  66. height: 1px;
  67. top: 10px;
  68. left: -11px;
  69. z-index: -1;
  70. background: #d1d8dd;
  71. }
  72. .tree.opened::before {
  73. left: 23px;
  74. top: 33px;
  75. height: calc(100% - 67px);
  76. }
  77. .tree-link.active ~ .balance-area {
  78. color: #36414C !important;
  79. }