From 0987b2c97e6eccd15122235f17f155a7a8b2ae7a Mon Sep 17 00:00:00 2001 From: Wx-2025 <351320169@qq.com> Date: Sat, 8 Nov 2025 23:24:18 +0800 Subject: [PATCH] Update WorldEditor.css --- WorldEditor/WorldEditor.css | 43 +++++++++++++++++++++++++++++++++++++ 1 file changed, 43 insertions(+) diff --git a/WorldEditor/WorldEditor.css b/WorldEditor/WorldEditor.css index c999d30..2bbec63 100644 --- a/WorldEditor/WorldEditor.css +++ b/WorldEditor/WorldEditor.css @@ -37,6 +37,14 @@ cursor: pointer; font-size: 12px; 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 { @@ -75,6 +83,15 @@ 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 { flex: 1; padding: 20px; @@ -400,6 +417,12 @@ .world-editor-btn.small-btn { padding: 4px 8px; font-size: 11px; + color: white; + background-color: #4a90e2; +} + +.world-editor-btn.small-btn:hover { + background-color: #357abd; } #world-editor-container .world-editor-selector h3 { @@ -414,6 +437,26 @@ 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 ====== */ /* 1. 重置 fieldset 的默认样式,使其表现为标准的 flex 容器 */