实体存储和管理服务
This commit is contained in:
@@ -14,6 +14,7 @@
|
||||
padding: 8px 16px;
|
||||
background-color: #2d2d2d;
|
||||
border-bottom: 1px solid #3e3e3e;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.editor-header h1 {
|
||||
@@ -22,6 +23,33 @@
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
.editor-header .status {
|
||||
font-size: 12px;
|
||||
color: #4ec9b0;
|
||||
@@ -38,8 +66,7 @@
|
||||
width: 250px;
|
||||
background-color: #252526;
|
||||
border-right: 1px solid #3e3e3e;
|
||||
padding: 12px;
|
||||
overflow-y: auto;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.sidebar-right {
|
||||
@@ -54,6 +81,15 @@
|
||||
color: #ffffff;
|
||||
}
|
||||
|
||||
.loading {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100%;
|
||||
color: #858585;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.main-content {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
99
packages/editor-app/src/styles/EntityInspector.css
Normal file
99
packages/editor-app/src/styles/EntityInspector.css
Normal file
@@ -0,0 +1,99 @@
|
||||
.entity-inspector {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
background-color: #1e1e1e;
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.inspector-header {
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid #3c3c3c;
|
||||
background-color: #252526;
|
||||
}
|
||||
|
||||
.inspector-header h3 {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.inspector-content {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 12px;
|
||||
}
|
||||
|
||||
.inspector-section {
|
||||
margin-bottom: 16px;
|
||||
}
|
||||
|
||||
.section-header {
|
||||
font-size: 12px;
|
||||
font-weight: 600;
|
||||
color: #858585;
|
||||
text-transform: uppercase;
|
||||
letter-spacing: 0.5px;
|
||||
margin-bottom: 8px;
|
||||
padding: 4px 0;
|
||||
border-bottom: 1px solid #3c3c3c;
|
||||
}
|
||||
|
||||
.section-content {
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.info-row {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
padding: 6px 0;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.info-label {
|
||||
color: #858585;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
.info-value {
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.component-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.component-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 8px;
|
||||
margin-bottom: 4px;
|
||||
background-color: #252526;
|
||||
border: 1px solid #3c3c3c;
|
||||
border-radius: 3px;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.component-item:hover {
|
||||
background-color: #2a2d2e;
|
||||
border-color: #505050;
|
||||
}
|
||||
|
||||
.component-icon {
|
||||
margin-right: 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.component-name {
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
color: #858585;
|
||||
font-size: 13px;
|
||||
}
|
||||
70
packages/editor-app/src/styles/SceneHierarchy.css
Normal file
70
packages/editor-app/src/styles/SceneHierarchy.css
Normal file
@@ -0,0 +1,70 @@
|
||||
.scene-hierarchy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
height: 100%;
|
||||
background-color: #1e1e1e;
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.hierarchy-header {
|
||||
padding: 10px;
|
||||
border-bottom: 1px solid #3c3c3c;
|
||||
background-color: #252526;
|
||||
}
|
||||
|
||||
.hierarchy-header h3 {
|
||||
margin: 0;
|
||||
font-size: 14px;
|
||||
font-weight: 600;
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.hierarchy-content {
|
||||
flex: 1;
|
||||
overflow-y: auto;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
color: #858585;
|
||||
font-size: 13px;
|
||||
}
|
||||
|
||||
.entity-list {
|
||||
list-style: none;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.entity-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 6px 12px;
|
||||
cursor: pointer;
|
||||
user-select: none;
|
||||
transition: background-color 0.1s;
|
||||
}
|
||||
|
||||
.entity-item:hover {
|
||||
background-color: #2a2d2e;
|
||||
}
|
||||
|
||||
.entity-item.selected {
|
||||
background-color: #094771;
|
||||
}
|
||||
|
||||
.entity-item.selected:hover {
|
||||
background-color: #0e639c;
|
||||
}
|
||||
|
||||
.entity-icon {
|
||||
margin-right: 8px;
|
||||
font-size: 14px;
|
||||
}
|
||||
|
||||
.entity-name {
|
||||
font-size: 13px;
|
||||
color: #cccccc;
|
||||
}
|
||||
Reference in New Issue
Block a user