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

107 lines
2.0 KiB
CSS
Raw Normal View History

2025-10-15 17:15:05 +08:00
.editor-loading {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
width: 100%;
height: 100%;
background-color: var(--color-bg-base);
color: var(--color-text-secondary);
}
.editor-loading h2 {
font-size: var(--font-size-lg);
font-weight: var(--font-weight-medium);
margin-top: var(--spacing-md);
}
2025-10-14 22:53:26 +08:00
.editor-container {
display: flex;
flex-direction: column;
width: 100%;
height: 100%;
2025-10-15 17:15:05 +08:00
background-color: var(--color-bg-base);
color: var(--color-text-primary);
2025-10-14 22:53:26 +08:00
}
2025-10-15 17:15:05 +08:00
.editor-content {
display: flex;
flex: 1;
2025-10-14 22:53:26 +08:00
overflow: hidden;
cursor: default;
/* Leave space for StatusBar */
padding-bottom: 24px;
2025-10-14 22:53:26 +08:00
}
.viewport {
display: flex;
flex-direction: column;
2025-10-15 17:15:05 +08:00
height: 100%;
background-color: var(--color-bg-base);
padding: 0;
2025-10-14 22:53:26 +08:00
}
.viewport h3 {
2025-10-15 17:15:05 +08:00
font-size: var(--font-size-md);
font-weight: var(--font-weight-semibold);
color: var(--color-text-primary);
margin: 0 0 var(--spacing-md) 0;
2025-10-14 22:53:26 +08:00
}
2025-10-15 17:15:05 +08:00
.viewport p {
color: var(--color-text-secondary);
font-size: var(--font-size-base);
2025-10-14 22:53:26 +08:00
}
.editor-footer {
display: flex;
2025-10-15 17:15:05 +08:00
align-items: center;
2025-10-14 22:53:26 +08:00
justify-content: space-between;
2025-10-15 17:15:05 +08:00
height: var(--layout-footer-height);
padding: 0 8px;
2025-10-15 17:15:05 +08:00
background-color: var(--color-primary);
color: var(--color-text-inverse);
font-size: var(--font-size-xs);
flex-shrink: 0;
}
.editor-footer span {
display: flex;
align-items: center;
gap: var(--spacing-sm);
2025-10-14 22:53:26 +08:00
}
2025-10-15 18:29:48 +08:00
.loading-overlay {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
background-color: rgba(30, 30, 30, 0.95);
display: flex;
align-items: center;
justify-content: center;
z-index: var(--z-index-overlay);
2025-10-15 18:29:48 +08:00
backdrop-filter: blur(4px);
}
.loading-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 16px;
padding: 32px 48px;
background-color: #252526;
border: 1px solid #3e3e42;
border-radius: 4px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}
.loading-message {
font-size: 14px;
color: #cccccc;
margin: 0;
white-space: nowrap;
}