| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118 |
- /**
- * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
- * SPDX-License-Identifier: MIT
- */
- .demo-free-node {
- display: flex;
- min-width: 300px;
- min-height: 100px;
- flex-direction: column;
- align-items: flex-start;
- box-sizing: border-box;
- border-radius: 8px;
- border: 1px solid var(--light-usage-border-color-border, rgba(28, 31, 35, 0.08));
- background: #fff;
- box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.1);
- }
- .demo-node-content {
- padding: 8px 12px;
- flex-grow: 1;
- width: 100%;
- }
- .demo-node-title {
- font-weight: 500;
- font-size: 14px;
- width: 100%;
- margin: 4px 0px 12px 0px;
- }
- .demo-free-node-content {
- padding: 4px 12px;
- flex-grow: 1;
- width: 100%;
- }
- .demo-free-node::before {
- content: '';
- position: absolute;
- top: 0;
- right: 0;
- bottom: 0;
- left: 0;
- z-index: -1;
- background-color: white;
- border-radius: 7px;
- }
- .demo-free-node:hover:before {
- -webkit-filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.1));
- filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.1));
- }
- .demo-free-node.activated:before,
- .demo-free-node.selected:before {
- outline: 2px solid var(--light-usage-primary-color-primary, #4d53e8);
- -webkit-filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.1));
- filter: drop-shadow(0 0 1px rgba(0, 0, 0, 0.3)) drop-shadow(0 4px 14px rgba(0, 0, 0, 0.1));
- }
- .demo-free-sidebar {
- height: 100%;
- overflow-y: auto;
- padding: 12px 16px 0;
- box-sizing: border-box;
- background: #f7f7fa;
- border-right: 1px solid rgba(29, 28, 35, 0.08);
- }
- .demo-free-right-top-panel {
- position: fixed;
- right: 10px;
- top: 70px;
- width: 300px;
- z-index: 999;
- }
- .demo-free-card {
- width: 140px;
- height: 60px;
- display: flex;
- align-items: center;
- justify-content: center;
- font-size: 20px;
- background: #fff;
- border-radius: 8px;
- box-shadow: 0 6px 8px 0 rgba(28, 31, 35, 0.03);
- cursor: -webkit-grab;
- cursor: grab;
- line-height: 16px;
- margin-bottom: 12px;
- overflow: hidden;
- padding: 16px;
- position: relative;
- color: black;
- }
- .demo-free-layout {
- display: flex;
- flex-direction: row;
- flex-grow: 1;
- }
- .demo-free-editor {
- flex-grow: 1;
- position: relative;
- height: 100%;
- }
- .demo-free-container {
- position: absolute;
- left: 0;
- top: 0;
- display: flex;
- width: 100%;
- height: 100%;
- flex-direction: column;
- }
|