项目文件夹

文件
2026-07-13 12:24:14 +08:00

87 行
1.4 KiB
CSS

.editor-wrap {
flex: 1;
position: relative;
overflow: hidden;
display: flex;
}
.line-numbers {
padding: 2.75rem 0.5rem 1rem 0.75rem;
font-family: "JetBrains Mono", monospace;
font-size: 13px;
line-height: 1.6;
color: var(--fg4);
text-align: right;
user-select: none;
pointer-events: none;
background: var(--bg2);
min-width: 40px;
overflow: hidden;
white-space: pre;
}
.code-editor {
flex: 1;
padding: 2.75rem 1rem 1rem 0.5rem;
background: transparent;
border: none;
outline: none;
resize: none;
color: var(--fg);
font-family: "JetBrains Mono", monospace;
font-size: 13px;
line-height: 1.6;
tab-size: 2;
overflow: auto;
white-space: pre;
}
.code-editor::placeholder {
color: var(--fg4);
}
.status-bar {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0 0.75rem;
height: 28px;
font-family: "JetBrains Mono", monospace;
font-size: 11px;
color: var(--fg3);
flex-shrink: 0;
}
.status-left {
display: flex;
align-items: center;
gap: 6px;
}
.status-right {
display: flex;
align-items: center;
gap: 8px;
}
.status-actions {
display: flex;
align-items: center;
gap: 2px;
}
.status-dot {
width: 6px;
height: 6px;
border-radius: 50%;
background: var(--fg3);
flex-shrink: 0;
}
.status-dot.ok {
background: var(--green);
}
.status-dot.err {
background: var(--red);
}
.status-ok {
color: var(--green);
}
.status-err {
color: var(--red);
}