组件属性编辑器
This commit is contained in:
@@ -90,22 +90,48 @@
|
||||
}
|
||||
|
||||
.component-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 8px;
|
||||
margin-bottom: 4px;
|
||||
margin-bottom: 8px;
|
||||
background-color: #252526;
|
||||
border: 1px solid #3c3c3c;
|
||||
border-radius: 3px;
|
||||
font-size: 13px;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.component-item:hover {
|
||||
background-color: #2a2d2e;
|
||||
border-color: #505050;
|
||||
}
|
||||
|
||||
.component-header {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 8px;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.2s;
|
||||
}
|
||||
|
||||
.component-header:hover {
|
||||
background-color: #2a2d2e;
|
||||
}
|
||||
|
||||
.component-expand-btn {
|
||||
background: none;
|
||||
border: none;
|
||||
color: #858585;
|
||||
font-size: 10px;
|
||||
cursor: pointer;
|
||||
padding: 4px;
|
||||
margin-right: 4px;
|
||||
transition: color 0.2s;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.component-expand-btn:hover {
|
||||
color: #cccccc;
|
||||
}
|
||||
|
||||
.component-icon {
|
||||
margin-right: 8px;
|
||||
font-size: 14px;
|
||||
@@ -132,6 +158,12 @@
|
||||
color: #ff5555;
|
||||
}
|
||||
|
||||
.component-properties {
|
||||
border-top: 1px solid #3c3c3c;
|
||||
background-color: #1e1e1e;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
padding: 20px;
|
||||
text-align: center;
|
||||
|
||||
Reference in New Issue
Block a user