mirror of
https://github.com/sotam0316/drawNET.git
synced 2026-04-24 19:48:36 +09:00
50 lines
1007 B
CSS
50 lines
1007 B
CSS
.editor-panel {
|
|
position: absolute;
|
|
bottom: 24px;
|
|
right: 24px;
|
|
width: 480px;
|
|
min-width: 400px;
|
|
height: 200px;
|
|
z-index: 90;
|
|
overflow: hidden;
|
|
display: flex;
|
|
flex-direction: column;
|
|
transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
|
|
transform-origin: bottom right;
|
|
}
|
|
|
|
.editor-panel.collapsed {
|
|
height: 40px; /* Header only height */
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.editor-header {
|
|
padding: 12px 25px;
|
|
border-bottom: 1px solid var(--panel-border);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
}
|
|
|
|
.editor-header span {
|
|
font-size: 10px;
|
|
font-weight: 900;
|
|
color: var(--sub-text);
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
#editor {
|
|
flex: 1;
|
|
width: 100%;
|
|
padding: 20px;
|
|
background: transparent;
|
|
border: none;
|
|
resize: none;
|
|
font-family: 'JetBrains Mono', 'Fira Code', monospace;
|
|
font-size: 13px;
|
|
color: var(--text-color);
|
|
outline: none;
|
|
line-height: 1.6;
|
|
}
|