task-244(admin.html观感对齐): 全局组件观感对齐(表头/行hover/输入焦点/弹窗圆角/分页色)
This commit is contained in:
@@ -138,6 +138,34 @@ button, input, textarea, select { font: inherit; }
|
||||
.global-error-stack { display: flex; flex-direction: column; gap: 10px; margin-bottom: 14px; }
|
||||
.admin-breadcrumb { margin-bottom: 14px; }
|
||||
|
||||
/* ===== module13 全局组件观感对齐(admin.html 表格/输入/分页语义) ===== */
|
||||
.el-table {
|
||||
--el-table-header-bg-color: #edf4fa;
|
||||
--el-table-header-text-color: #4e6479;
|
||||
--el-table-border-color: #e0e8ef;
|
||||
--el-table-row-hover-bg-color: #f1f7fb;
|
||||
}
|
||||
.el-table th.el-table__cell {
|
||||
background-color: #edf4fa;
|
||||
color: #4e6479;
|
||||
font-size: 12.5px;
|
||||
font-weight: 600;
|
||||
letter-spacing: .4px;
|
||||
}
|
||||
.el-table .el-table__row:hover > td.el-table__cell { background-color: #f1f7fb; }
|
||||
.el-table--striped .el-table__body tr.el-table__row--striped td.el-table__cell { background: #f9fbfd; }
|
||||
.el-input__wrapper, .el-textarea__inner { border-radius: 9px; }
|
||||
.el-input__wrapper.is-focus,
|
||||
.el-select__wrapper.is-focused { box-shadow: 0 0 0 3px rgba(95, 133, 173, 0.16); }
|
||||
.el-pagination { --el-pagination-button-color: var(--admin-text); }
|
||||
.el-dialog { border-radius: 14px; }
|
||||
.el-dialog__header { padding-bottom: 12px; }
|
||||
.el-dialog__title { font-size: 16px; font-weight: 600; color: var(--admin-text); }
|
||||
.el-dialog__body { color: var(--admin-text); }
|
||||
.el-tag { border-radius: 6px; }
|
||||
.el-button { border-radius: 9px; }
|
||||
.el-message-box { border-radius: 14px; }
|
||||
|
||||
@media (max-width: 820px) {
|
||||
.admin-sidebar { flex-basis: 64px; }
|
||||
.admin-brand-copy, .admin-menu .el-sub-menu__title span, .admin-menu .el-menu-item { display: none; }
|
||||
|
||||
Reference in New Issue
Block a user