2026-02-14 18:22:42 +01:00
|
|
|
.editor {
|
|
|
|
|
background: #0f0f1a;
|
|
|
|
|
color: #e0e0e0;
|
|
|
|
|
display: flex;
|
2026-02-14 20:07:23 +01:00
|
|
|
flex-direction: column;
|
2026-02-14 18:22:42 +01:00
|
|
|
flex: 1;
|
|
|
|
|
min-width: 0;
|
2026-02-14 20:07:23 +01:00
|
|
|
overflow: hidden;
|
2026-02-14 18:22:42 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor__placeholder {
|
2026-02-14 20:07:23 +01:00
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
height: 100%;
|
2026-02-14 18:22:42 +01:00
|
|
|
text-align: center;
|
|
|
|
|
color: #555;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor__placeholder p {
|
|
|
|
|
margin: 8px 0;
|
|
|
|
|
}
|
|
|
|
|
|
2026-02-14 20:15:44 +01:00
|
|
|
/* Tab bar */
|
|
|
|
|
.editor__tab-bar {
|
|
|
|
|
display: flex;
|
|
|
|
|
background: #16162a;
|
|
|
|
|
border-bottom: 1px solid #2a2a4a;
|
|
|
|
|
overflow-x: auto;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor__tab-bar::-webkit-scrollbar {
|
|
|
|
|
height: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor__tab {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
gap: 6px;
|
|
|
|
|
padding: 6px 12px;
|
|
|
|
|
font-size: 12px;
|
|
|
|
|
color: #888;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border-right: 1px solid #2a2a4a;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
max-width: 180px;
|
|
|
|
|
flex-shrink: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor__tab:hover {
|
|
|
|
|
background: #1e1e3a;
|
|
|
|
|
color: #ccc;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor__tab--active {
|
|
|
|
|
background: #0f0f1a;
|
|
|
|
|
color: #e0e0e0;
|
|
|
|
|
border-bottom: 2px solid #4a9eff;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor__tab-title {
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor__tab-close {
|
|
|
|
|
background: none;
|
|
|
|
|
border: none;
|
|
|
|
|
color: #666;
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
font-size: 14px;
|
|
|
|
|
padding: 0 2px;
|
|
|
|
|
line-height: 1;
|
|
|
|
|
border-radius: 3px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor__tab-close:hover {
|
|
|
|
|
background: #3a3a5a;
|
|
|
|
|
color: #e0e0e0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
/* CodeMirror container */
|
2026-02-14 20:07:23 +01:00
|
|
|
.editor__cm-container {
|
|
|
|
|
flex: 1;
|
|
|
|
|
overflow: auto;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.editor__cm-container .cm-editor {
|
|
|
|
|
height: 100%;
|
2026-02-14 18:22:42 +01:00
|
|
|
}
|