mirror of
https://github.com/crmeb/CRMEB.git
synced 2026-10-29 05:50:50 +00:00
refactor(admin): 页面标题头描述样式迁移为全局工具类
This commit is contained in:
parent
3b89626d64
commit
3f29afb4d4
@ -51,24 +51,7 @@ function goBack() {
|
||||
.header-title {
|
||||
justify-content: space-between;
|
||||
}
|
||||
/* 标题行:返回钮 + 标题 + 描述,基线对齐(描述字号小于标题,用 baseline 不用 flex-end) */
|
||||
.header-main {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
min-width: 0;
|
||||
gap: 16px;
|
||||
}
|
||||
.header-description {
|
||||
color: var(--prev-color-text-secondary);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
.header-description-icon {
|
||||
font-size: 14px;
|
||||
color: var(--prev-color-primary);
|
||||
vertical-align: -2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
/* .header-main / .header-description / .header-description-icon 全局定义见 styles/style.scss */
|
||||
.after-line {
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
|
||||
@ -669,6 +669,28 @@ body {
|
||||
color: #303133;
|
||||
}
|
||||
|
||||
/* 页面标题头「标题行」:返回钮 + 标题 + 描述,基线对齐(描述字号小于标题,用 baseline 不用 flex-end) */
|
||||
.header-main {
|
||||
display: flex;
|
||||
align-items: baseline;
|
||||
min-width: 0;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
/* 页面标题头说明文字:与标题同一行、紧跟标题之后,前置主色 info 图标 */
|
||||
.header-description {
|
||||
color: var(--prev-color-text-secondary);
|
||||
font-size: 12px;
|
||||
line-height: 18px;
|
||||
}
|
||||
|
||||
.header-description-icon {
|
||||
font-size: 14px;
|
||||
color: var(--prev-color-primary);
|
||||
vertical-align: -2px;
|
||||
margin-right: 2px;
|
||||
}
|
||||
|
||||
.statics-header-title {
|
||||
font-size: 14px;
|
||||
color: #303133;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user