增加字体大小设置
This commit is contained in:
+15
-9
@@ -7,6 +7,12 @@ page {
|
||||
font-size: $font-size-base;
|
||||
color: $text-primary;
|
||||
line-height: 1.5;
|
||||
|
||||
/*
|
||||
* 使用 rem 方案后,不需要设置固定的 font-size
|
||||
* 所有元素使用 rem 单位,会自动相对于根字体大小计算
|
||||
* 根字体大小由 JavaScript 动态设置(document.documentElement.style.fontSize)
|
||||
*/
|
||||
}
|
||||
|
||||
/* 清除默认样式 */
|
||||
@@ -92,7 +98,7 @@ button {
|
||||
|
||||
.back-btn {
|
||||
margin-right: 8px;
|
||||
font-size: 20px;
|
||||
font-size: $font-size-xl;
|
||||
padding: 4px;
|
||||
}
|
||||
|
||||
@@ -542,7 +548,7 @@ button {
|
||||
flex-shrink: 0;
|
||||
|
||||
.iconfont {
|
||||
font-size: 22px;
|
||||
font-size: $font-size-xl;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -574,7 +580,7 @@ button {
|
||||
|
||||
.ledger-arrow {
|
||||
color: #cccccc;
|
||||
font-size: 16px;
|
||||
font-size: $font-size-md;
|
||||
}
|
||||
|
||||
/* 设置页面 */
|
||||
@@ -601,7 +607,7 @@ button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 24px;
|
||||
font-size: $font-size-xl;
|
||||
}
|
||||
|
||||
.settings-name {
|
||||
@@ -643,7 +649,7 @@ button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 16px;
|
||||
font-size: $font-size-lg;
|
||||
background: #f0f0f0;
|
||||
margin-right: $spacing-base;
|
||||
flex-shrink: 0;
|
||||
@@ -674,7 +680,7 @@ button {
|
||||
|
||||
.s-arrow {
|
||||
color: #cccccc;
|
||||
font-size: 14px;
|
||||
font-size: $font-size-md;
|
||||
}
|
||||
|
||||
.version-info {
|
||||
@@ -708,7 +714,7 @@ button {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
font-size: 18px;
|
||||
font-size: $font-size-lg;
|
||||
background: #f0f0f0;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
@@ -732,7 +738,7 @@ button {
|
||||
|
||||
.sub-menu-arrow {
|
||||
color: #cccccc;
|
||||
font-size: 14px;
|
||||
font-size: $font-size-md;
|
||||
}
|
||||
|
||||
/* 设备管理 */
|
||||
@@ -756,7 +762,7 @@ button {
|
||||
}
|
||||
|
||||
.device-icon {
|
||||
font-size: 18px;
|
||||
font-size: $font-size-lg;
|
||||
}
|
||||
|
||||
.device-title {
|
||||
|
||||
Reference in New Issue
Block a user