Update WorldEditor.css

This commit is contained in:
2025-11-08 23:24:18 +08:00
committed by GitHub
parent 662bc90740
commit 0987b2c97e

View File

@@ -37,6 +37,14 @@
cursor: pointer; cursor: pointer;
font-size: 12px; font-size: 12px;
transition: background-color 0.3s; transition: background-color 0.3s;
color: white;
font-weight: 500;
white-space: nowrap;
}
#world-editor-container .world-editor-btn:disabled {
opacity: 0.5;
cursor: not-allowed;
} }
#world-editor-container .world-editor-btn-primary { #world-editor-container .world-editor-btn-primary {
@@ -75,6 +83,15 @@
background-color: #e68900; background-color: #e68900;
} }
#world-editor-container .world-editor-btn-info {
background-color: #17a2b8;
color: white;
}
#world-editor-container .world-editor-btn-info:hover {
background-color: #138496;
}
#world-editor-container .world-editor-content { #world-editor-container .world-editor-content {
flex: 1; flex: 1;
padding: 20px; padding: 20px;
@@ -400,6 +417,12 @@
.world-editor-btn.small-btn { .world-editor-btn.small-btn {
padding: 4px 8px; padding: 4px 8px;
font-size: 11px; font-size: 11px;
color: white;
background-color: #4a90e2;
}
.world-editor-btn.small-btn:hover {
background-color: #357abd;
} }
#world-editor-container .world-editor-selector h3 { #world-editor-container .world-editor-selector h3 {
@@ -414,6 +437,26 @@
align-items: center; align-items: center;
} }
#world-editor-container .world-editor-selector button {
color: white;
font-weight: 500;
background-color: #4a90e2;
}
#world-editor-container .world-editor-selector button:hover {
background-color: #357abd;
}
/* 确保返回列表按钮有颜色 */
#world-editor-back-to-list-btn {
color: white !important;
background-color: #4a90e2 !important;
}
#world-editor-back-to-list-btn:hover {
background-color: #357abd !important;
}
/* ====== 布局修正 v2针对 fieldset ====== */ /* ====== 布局修正 v2针对 fieldset ====== */
/* 1. 重置 fieldset 的默认样式,使其表现为标准的 flex 容器 */ /* 1. 重置 fieldset 的默认样式,使其表现为标准的 flex 容器 */