|
|
@@ -569,3 +569,105 @@
|
|
|
display: block;
|
|
|
min-height: 0;
|
|
|
}
|
|
|
+
|
|
|
+/* ============================================================
|
|
|
+ 8. 密度四期:控件本体 32px 档 + 标题区 / 查询区紧凑化
|
|
|
+ 说明:全局无作用域,覆盖 portal 到 body 的弹窗按钮 / 下拉 / 日期面板;
|
|
|
+ 纯尺寸与间距收口,颜色 / 字体族 / 圆角一律沿用 --adm-* 令牌,
|
|
|
+ 第 6 节弹性填充链与第 7 节非表格页滚动修复逐字保留,未在此改写。
|
|
|
+ ============================================================ */
|
|
|
+
|
|
|
+/* ---- 8.A 控件本体:32 / 28 / 24 三档 ---- */
|
|
|
+.el-button { height: 32px; padding: 0 15px; font-size: 13px; line-height: 1; }
|
|
|
+.el-button--small { height: 28px; padding: 0 12px; font-size: 12px; }
|
|
|
+.el-button--mini { height: 24px; padding: 0 10px; font-size: 12px; }
|
|
|
+
|
|
|
+.el-input__inner { height: 32px; line-height: 32px; font-size: 13px; }
|
|
|
+.el-input--small .el-input__inner { height: 28px; line-height: 28px; font-size: 12px; }
|
|
|
+.el-input--mini .el-input__inner { height: 24px; line-height: 24px; font-size: 12px; }
|
|
|
+.el-textarea__inner { font-size: 13px; }
|
|
|
+.el-select .el-input__inner { height: 32px; line-height: 32px; font-size: 13px; }
|
|
|
+
|
|
|
+/* 图标垂直居中:line-height 随输入档位同步 */
|
|
|
+.el-input__icon,
|
|
|
+.el-select__caret,
|
|
|
+.el-input__prefix,
|
|
|
+.el-input__suffix { line-height: 32px; }
|
|
|
+.el-input--small .el-input__icon,
|
|
|
+.el-input--small .el-select__caret,
|
|
|
+.el-input--small .el-input__prefix,
|
|
|
+.el-input--small .el-input__suffix { line-height: 28px; }
|
|
|
+.el-input--mini .el-input__icon,
|
|
|
+.el-input--mini .el-select__caret,
|
|
|
+.el-input--mini .el-input__prefix,
|
|
|
+.el-input--mini .el-input__suffix { line-height: 24px; }
|
|
|
+
|
|
|
+/* 联动控件压到 32px 档(日期 / 区间 / 级联 / 数字 / 自动补全) */
|
|
|
+.el-date-editor .el-input__inner,
|
|
|
+.el-date-editor--daterange.el-input__inner,
|
|
|
+.el-cascader .el-input__inner,
|
|
|
+.el-input-number .el-input__inner,
|
|
|
+.el-autocomplete .el-input__inner { height: 32px; line-height: 32px; font-size: 13px; }
|
|
|
+.el-date-editor--daterange,
|
|
|
+.el-cascader,
|
|
|
+.el-input-number,
|
|
|
+.el-autocomplete { line-height: 32px; }
|
|
|
+
|
|
|
+/* 分页:按钮与页码 28px(is-background active 主色沿用第 2 节,不改写) */
|
|
|
+.el-pagination button { height: 28px; line-height: 28px; padding: 0 6px; }
|
|
|
+.el-pagination .el-pager li { height: 28px; line-height: 28px; }
|
|
|
+
|
|
|
+/* ---- 8.B 页面标题区紧凑化(font-weight:600 沿用第 3 节,不改写) ---- */
|
|
|
+.admin-page-header { margin-bottom: 12px; }
|
|
|
+.admin-page-title { font-size: 16px; line-height: 1.3; }
|
|
|
+.admin-page-subtitle { margin-left: 8px; }
|
|
|
+.admin-page-actions { gap: 6px; }
|
|
|
+
|
|
|
+/* ---- 8.C 查询筛选区紧凑化 ----
|
|
|
+ review/* 等页 scoped 规则编译为 .filter-bar[data-v-*] (0,2,0),
|
|
|
+ 重复类名 .main-wrapper .filter-bar.filter-bar (0,3,0) 稳胜之;
|
|
|
+ flex / flex-wrap / align-items 由既有规则承担,本节不改写布局语义,
|
|
|
+ 也不触碰 .filter-bar 内 .el-select / .el-input 的宽度 token。 */
|
|
|
+.main-wrapper .filter-bar.filter-bar {
|
|
|
+ gap: 8px;
|
|
|
+ padding: 8px 0;
|
|
|
+ margin-bottom: 8px;
|
|
|
+ background: transparent;
|
|
|
+ box-shadow: none;
|
|
|
+ border-radius: 0;
|
|
|
+ border-bottom: 1px solid var(--adm-border-split);
|
|
|
+}
|
|
|
+.main-wrapper .filter-bar .el-form-item { margin-bottom: 0; }
|
|
|
+
|
|
|
+/* ---- 8.D 卡片头内距收口 ----
|
|
|
+ 第 2 节全局与第 3 节 .main-wrapper 作用域的 20px 24px 统一由本节覆盖;
|
|
|
+ 卡片 body 内距保持 20px 不动(第 7 节功能逻辑,禁止触碰)。 */
|
|
|
+.el-card__header { padding: 12px 16px; }
|
|
|
+
|
|
|
+
|
|
|
+/* ============================================================
|
|
|
+ 8.E 合入前修复补充(三处硬缺陷;纯追加,§1-§7 与 §8.A-D 逐字未动)
|
|
|
+ 背景:design-critic 审查链路三次 RPC 超时未产出结论,由主理人本机按实证接管。
|
|
|
+ ============================================================ */
|
|
|
+
|
|
|
+/* 8.E.1 文字按钮回归修复(P0)
|
|
|
+ theme-chalk: .el-button--text{padding-left:0;padding-right:0} (0,1,0);
|
|
|
+ §8.A .el-button{height:32px;padding:0 15px} (0,1,0) 后加载胜,101 处 type="text"
|
|
|
+ (48 文件) 会被撑成 32px 高 + 30px 内距透明盒。本条 (0,2,0) 稳胜并置于末尾。 */
|
|
|
+.el-button.el-button--text { height: auto; padding: 0; line-height: inherit; font-size: 13px; }
|
|
|
+
|
|
|
+/* 8.E.2 标题区 / 卡片头提权(P0)
|
|
|
+ Families.vue L801-803 / FamilyWorkbench.vue L372-374 / AssessmentProducts.vue L208
|
|
|
+ 的 scoped 规则 (0,2,0) 压过 §8.B (0,1,0);TeacherDashboard.vue L293 /deep/ 编译后 (0,3,0)。
|
|
|
+ 重复类名提到 (0,3,0) / (0,4,0) 稳胜,禁 !important、禁改 .vue。 */
|
|
|
+.main-wrapper .admin-page-header.admin-page-header { margin-bottom: 12px; }
|
|
|
+.main-wrapper .admin-page-title.admin-page-title { font-size: 16px; line-height: 1.3; }
|
|
|
+.main-wrapper .admin-page-subtitle.admin-page-subtitle { margin-left: 8px; }
|
|
|
+.main-wrapper .admin-page-actions.admin-page-actions { gap: 6px; }
|
|
|
+.main-wrapper .el-card__header.el-card__header.el-card__header { padding: 12px 16px; }
|
|
|
+
|
|
|
+/* 8.E.3 mini 档日期区间保持 28px(P1)
|
|
|
+ §8.A .el-date-editor--daterange.el-input__inner (0,2,0) 会压过 Element mini (0,2,0);
|
|
|
+ 本条同权重且后加载,令 mini 档维持 28px。 */
|
|
|
+.el-range-editor--mini.el-input__inner,
|
|
|
+.el-range-editor--mini .el-input__inner { height: 28px; line-height: 28px; }
|