stylesheet.css 1.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. body {
  2. }
  3. .wrapper {
  4. display: grid;
  5. grid-template-areas:
  6. "header header"
  7. "tree settings"
  8. "tree graphs";
  9. grid-template-columns: 400px auto;
  10. grid-template-rows: auto 50px auto;
  11. width: 100%;
  12. grid-gap: 30px;
  13. }
  14. .main-head {
  15. grid-area: header;
  16. }
  17. #tree {
  18. grid-area: tree;
  19. clear: both;
  20. }
  21. #tree li {
  22. width: 100%;
  23. }
  24. #tree li.spacer {
  25. margin-top: 20px;
  26. }
  27. #tree li.spacer > label .channel {
  28. font-weight: bold;
  29. }
  30. #tree label .channel {
  31. width: 100%;
  32. }
  33. ul {
  34. list-style-type: none;
  35. padding-left: 10px;
  36. border-top: dotted 1px grey;
  37. border-left: solid 1px grey;
  38. }
  39. #tree .count {
  40. float: right;
  41. }
  42. #tree .checkbox {
  43. float: right;
  44. clear: right;
  45. }
  46. #graphs {
  47. grid-area: graphs;
  48. display: flex;
  49. flex-wrap: wrap;
  50. align-content: flex-start;
  51. align-items: stretch;
  52. }
  53. .demo-container {
  54. box-sizing: border-box;
  55. min-width: 850px;
  56. min-height: 400px;
  57. max-width: 100vw;
  58. max-height: 100vh;
  59. padding: 20px 15px 15px 15px;
  60. margin: 15px auto 30px auto;
  61. border: 1px solid #ddd;
  62. background: #fff;
  63. background: linear-gradient(#f6f6f6 0, #fff 50px);
  64. box-shadow: 0 3px 10px rgba(0,0,0,0.15);
  65. user-select: none;
  66. flex-grow: 1;
  67. }
  68. .demo-placeholder {
  69. width: 100%;
  70. height: 100%;
  71. font-size: 14px;
  72. }
  73. #settings {
  74. grid-area: settings;
  75. }