/** * Copyright (c) 2025 Bytedance Ltd. and/or its affiliates * SPDX-License-Identifier: MIT */ .demo-fixed-node { align-items: flex-start; background-color: #fff; border: 1px solid rgba(6, 7, 9, 0.15); border-radius: 8px; box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.04), 0 4px 12px 0 rgba(0, 0, 0, 0.02); display: flex; flex-direction: column; justify-content: center; position: relative; width: 240px; transition: all 0.3s ease; } .demo-fixed-sidebar { height: 100%; overflow-y: auto; padding: 50px 16px 12px 16px; box-sizing: border-box; background: #f7f7fa; border-right: 1px solid rgba(29, 28, 35, 0.08); } .demo-fixed-layout { display: flex; flex-direction: row; flex-grow: 1; } .demo-fixed-editor { flex-grow: 1; position: relative; height: 100%; } .demo-fixed-node-title { background-color: #93bfe2; width: 100%; border-radius: 8px 8px 0 0; padding: 4px 12px; } .demo-fixed-node-content { padding: 16px; flex-grow: 1; width: 100%; } input { color: black; background-color: white; } .demo-fixed-adder { width: 28px; height: 18px; background: rgb(187, 191, 196); display: flex; border-radius: 9px; justify-content: space-evenly; align-items: center; color: #fff; font-size: 10px; font-weight: bold; div { display: flex; justify-content: center; align-items: center; svg { width: 12px; height: 12px; } } } .demo-fixed-adder.activated { background: #82A7FC } .demo-fixed-adder.isHorizontal { transform: rotate(90deg); } .gedit-playground * { box-sizing: border-box; } .demo-fixed-container { position: absolute; left: 0; top: 0; display: flex; width: 100%; height: 100%; flex-direction: column; } .demo-fixed-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; user-select: none; }