fix: 完善剧本完成状态限制并优化表单对齐与配色

This commit is contained in:
GouJ
2026-09-01 22:37:51 +08:00
parent a24326b85d
commit 370e7bb4a6
19 changed files with 340 additions and 67 deletions
+29 -11
View File
@@ -7,6 +7,8 @@
--app-subtle: #f7f7f7;
--app-control: #f0f0f0;
--app-control-hover: #e5e5e5;
--app-field: #ffffff;
--app-field-hover: #ffffff;
--app-border: #e5e5e5;
--app-inverse: #ffffff;
--app-accent: #07c160;
@@ -31,6 +33,8 @@
--app-subtle: #232323;
--app-control: #2b2b2b;
--app-control-hover: #353535;
--app-field: #2b2b2b;
--app-field-hover: #353535;
--app-disabled-bg: #303030;
--app-disabled-text: #808080;
--app-border: #333333;
@@ -186,9 +190,10 @@ body {
.project-header .n-page-header__main,
.project-header .n-page-header__title {
min-width: 0;
overflow: hidden;
}
.project-title {
max-width: min(58vw, 980px);
max-width: 100%;
font-size: 16px;
font-weight: 600;
}
@@ -212,6 +217,17 @@ body {
min-height: 0;
overflow: hidden;
}
/* 标题移除额外按钮后让名称使用剩余空间;未完成项目的引导仍留在内容区。 */
.project-header .n-page-header-wrapper {
min-width: 0;
}
.project-access-gate {
height: 100%;
}
.app-dialog {
--app-field: var(--app-control);
--app-field-hover: var(--app-control-hover);
}
.workspace-page {
position: relative;
height: 100%;
@@ -303,6 +319,16 @@ body {
gap: 16px;
margin-block: 20px;
}
/* 与 34px 中号输入框共用一行;不再通过 pb-2 / pb-3 手动垫高复选框。 */
.n-checkbox.control-row-checkbox {
align-self: end;
align-items: center;
min-height: 34px;
padding-block: 0;
}
.control-row-checkbox .n-checkbox-box-wrapper {
align-self: center;
}
.workspace-tools-body .storyboard-coverage {
margin-block: 20px;
}
@@ -466,6 +492,8 @@ body {
}
/* 目录统一为固定标题/筛选区和独立滚动列表;不再依赖按钮的默认行高与内边距。 */
.directory-panel {
--app-field: var(--app-surface);
--app-field-hover: var(--app-surface);
display: flex;
flex-direction: column;
min-width: 0;
@@ -1202,9 +1230,6 @@ body {
z-index: 3000;
}
@media (max-width: 1000px) {
.project-title {
max-width: 44vw;
}
.production-controls {
grid-template-columns: minmax(130px, 1fr) 90px;
}
@@ -1228,15 +1253,8 @@ body {
padding: 8px 12px;
}
.project-title {
max-width: 37vw;
font-size: 14px;
}
.project-header .n-page-header__extra {
margin-left: 6px;
}
.project-header .n-tag {
display: none;
}
.workspace-heading {
padding: 12px;
}