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

81 lines
1.1 KiB
CSS
Raw Normal View History

2025-10-15 00:15:12 +08:00
.property-inspector {
padding: 8px;
}
.property-field {
display: flex;
flex-direction: column;
margin-bottom: 12px;
}
.property-field-checkbox {
flex-direction: row;
align-items: center;
gap: 8px;
}
.property-label {
font-size: 12px;
font-weight: 500;
color: #e0e0e0;
margin-bottom: 4px;
}
.property-field-checkbox .property-label {
margin-bottom: 0;
flex: 1;
}
.property-input {
background: #2a2a2a;
border: 1px solid #444;
border-radius: 4px;
padding: 6px 8px;
color: #e0e0e0;
font-size: 13px;
font-family: inherit;
}
.property-input:focus {
outline: none;
border-color: #4a9eff;
background: #333;
}
.property-input:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.property-checkbox {
width: 18px;
height: 18px;
cursor: pointer;
}
.property-checkbox:disabled {
opacity: 0.5;
cursor: not-allowed;
}
.property-color {
height: 36px;
padding: 2px;
cursor: pointer;
}
.property-vector {
display: flex;
gap: 6px;
}
.property-vector-input {
flex: 1;
min-width: 0;
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
opacity: 1;
}