From 040e2ccd2a26efd3b0bf65ddb400f9803ed52360 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Tue, 16 Nov 2021 19:09:01 +0800 Subject: [PATCH] 所有表单控件、弹窗,基础字体大小,加大到36px --- common/custom.scss | 102 +++++++++++++++++++++++++++++++++++++++++++------- 1 files changed, 87 insertions(+), 15 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index e96fcb2..e0b9e8e 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -7,28 +7,46 @@ .taro_page, page { - font-size: 30px; + font-size: 36px; color: #333; textarea { font-size: inherit; font-family: -apple-system-font, Helvetica Neue, sans-serif; } - .at-nav-bar { - .at-nav-bar__title { - font-size: 42px; - } - } .at-button { display: inline-block; + font-size: 36px; + &.at-button--small { + line-height: 56px; + } &.at-button--full { display: flex; + } + &.at-button--primary { + color: #FFF; + border: 1PX solid #2093df; + background: #2093df; + &.btn-danger { + border: 1PX solid #FF5722; + background: #FF5722; + } + } + } + .at-input { + .at-input__title { + font-size: 36px; + } + .at-input__input { + .weui-input { + font-size: 36px; + } } } .at-input-number { .weui-input { height: 100%; border: none; - font-size: 30px; + font-size: 36px; } } .at-float-layout { @@ -41,12 +59,15 @@ width: 100%; height: 84px; box-sizing: border-box; + .layout-header__title { + font-size: 38px; + } } .layout-body { width: 100%; height: calc(100% - 84px); max-height: 100%; - font-size: 30px; + font-size: 36px; box-sizing: border-box; &:first-child { height: 100%; @@ -61,12 +82,6 @@ .at-list { position: unset; } - .weui-picker { - font-size: 30px; - .weui-picker__hd { - font-size: 30px; - } - } .at-tabs.at-tabs--horizontal { height: 100%; .at-tabs__header { @@ -78,8 +93,48 @@ font-size: 0; .at-tabs-pane { height: 100%; - margin-right: 2%; font-size: 30px; + } + } + } + .at-radio { + .at-radio__option { + padding-left: 0; + } + .at-radio__option-wrap { + padding-left: 32px; + } + .at-radio__icon { + visibility: visible; + &.at-radio__icon--checked { + .at-icon { + background: #2093df; + border-color: #2093df; + } + } + .at-icon { + color: #fff; + border: #bbb 1px solid; + border-radius: 50%; + padding: 5px; + } + } + &::before, + &::after { + display: none; + } + } + .at-modal { + .at-modal__header { + font-size: 40px; + } + .at-modal__footer { + .at-modal__action>taro-button-core, + .at-modal__action button { + font-size: 36px; + &:last-child { + color: #2093df; + } } } } @@ -93,4 +148,21 @@ } } } +} + +.taro__toast, +.taro__modal { + word-break: break-word; +} + +.weui-picker__overlay { + .weui-picker { + font-size: 32px; + .weui-picker__hd { + font-size: 36px; + .weui-picker__action:last-child { + color: #2093df; + } + } + } } \ No newline at end of file -- Gitblit v1.9.1