Files
esengine/packages/editor-app/src/styles/App.css

136 lines
2.0 KiB
CSS
Raw Normal View History

2025-10-14 22:53:26 +08:00
.editor-container {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
background-color: #1e1e1e;
color: #cccccc;
}
.editor-header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 8px 16px;
background-color: #2d2d2d;
border-bottom: 1px solid #3e3e3e;
2025-10-14 23:31:09 +08:00
gap: 16px;
2025-10-14 22:53:26 +08:00
}
.editor-header h1 {
font-size: 16px;
font-weight: 600;
margin: 0;
}
2025-10-14 23:31:09 +08:00
.header-toolbar {
display: flex;
gap: 8px;
flex: 1;
}
.toolbar-btn {
padding: 6px 12px;
background-color: #0e639c;
color: #ffffff;
border: none;
border-radius: 3px;
font-size: 13px;
cursor: pointer;
transition: background-color 0.2s;
}
.toolbar-btn:hover:not(:disabled) {
background-color: #1177bb;
}
.toolbar-btn:disabled {
background-color: #3c3c3c;
color: #858585;
cursor: not-allowed;
}
2025-10-14 22:53:26 +08:00
.editor-header .status {
font-size: 12px;
color: #4ec9b0;
}
.editor-content {
display: flex;
flex: 1;
overflow: hidden;
}
.sidebar-left,
.sidebar-right {
width: 250px;
background-color: #252526;
border-right: 1px solid #3e3e3e;
2025-10-14 23:31:09 +08:00
overflow: hidden;
2025-10-14 22:53:26 +08:00
}
.sidebar-right {
border-right: none;
border-left: 1px solid #3e3e3e;
}
.sidebar-left h3,
.sidebar-right h3 {
font-size: 14px;
margin-bottom: 12px;
color: #ffffff;
}
2025-10-14 23:31:09 +08:00
.loading {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
color: #858585;
font-size: 13px;
}
2025-10-14 22:53:26 +08:00
.main-content {
display: flex;
flex-direction: column;
flex: 1;
overflow: hidden;
}
.viewport {
flex: 1;
background-color: #1e1e1e;
border-bottom: 1px solid #3e3e3e;
padding: 12px;
display: flex;
flex-direction: column;
}
.viewport h3 {
font-size: 14px;
margin-bottom: 12px;
color: #ffffff;
}
.bottom-panel {
height: 200px;
background-color: #252526;
padding: 12px;
overflow-y: auto;
}
.bottom-panel h4 {
font-size: 12px;
margin-bottom: 8px;
color: #ffffff;
}
.editor-footer {
display: flex;
justify-content: space-between;
padding: 4px 16px;
background-color: #007acc;
color: #ffffff;
font-size: 12px;
}