index.css 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .demo-free-node {
  2. display: flex;
  3. min-width: 300px;
  4. min-height: 100px;
  5. flex-direction: column;
  6. align-items: flex-start;
  7. box-sizing: border-box;
  8. border-radius: 8px;
  9. border: 1px solid var(--light-usage-border-color-border, rgba(28, 31, 35, 0.08));
  10. background: #fff;
  11. box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
  12. }
  13. .demo-node-content {
  14. padding: 8px 12px;
  15. flex-grow: 1;
  16. width: 100%;
  17. }
  18. .demo-node-title {
  19. font-weight: 500;
  20. font-size: 14px;
  21. width: 100%;
  22. margin: 4px 0px 12px 0px;
  23. }
  24. .demo-free-node-content {
  25. padding: 4px 12px;
  26. flex-grow: 1;
  27. width: 100%;
  28. }
  29. .demo-free-node::before {
  30. content: '';
  31. position: absolute;
  32. top: 0;
  33. right: 0;
  34. bottom: 0;
  35. left: 0;
  36. z-index: -1;
  37. background-color: white;
  38. border-radius: 7px;
  39. }
  40. .demo-free-node:hover:before {
  41. -webkit-filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.1));
  42. filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.1));
  43. }
  44. .demo-free-node.activated:before,
  45. .demo-free-node.selected:before {
  46. outline: 2px solid var(--light-usage-primary-color-primary, #4d53e8);
  47. -webkit-filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.1));
  48. filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.1));
  49. }
  50. .demo-free-sidebar {
  51. height: 100%;
  52. overflow-y: auto;
  53. padding: 12px 16px 0;
  54. box-sizing: border-box;
  55. background: #f7f7fa;
  56. border-right: 1px solid rgba(29, 28, 35, 0.08);
  57. }
  58. .demo-free-right-top-panel {
  59. position: fixed;
  60. right: 10px;
  61. top: 70px;
  62. width: 300px;
  63. z-index: 999;
  64. }
  65. .demo-free-card {
  66. width: 140px;
  67. height: 60px;
  68. display: flex;
  69. align-items: center;
  70. justify-content: center;
  71. font-size: 20px;
  72. background: #fff;
  73. border-radius: 8px;
  74. box-shadow: 0 6px 8px 0 rgba(28, 31, 35, 0.03);
  75. cursor: -webkit-grab;
  76. cursor: grab;
  77. line-height: 16px;
  78. margin-bottom: 12px;
  79. overflow: hidden;
  80. padding: 16px;
  81. position: relative;
  82. color: black;
  83. }
  84. .demo-free-layout {
  85. display: flex;
  86. flex-direction: row;
  87. flex-grow: 1;
  88. }
  89. .demo-free-editor {
  90. flex-grow: 1;
  91. position: relative;
  92. height: 100%;
  93. }
  94. .demo-free-container {
  95. position: absolute;
  96. left: 0;
  97. top: 0;
  98. display: flex;
  99. width: 100%;
  100. height: 100%;
  101. flex-direction: column;
  102. }