From 115043231dbc0606436511133a31be03f8736d44 Mon Sep 17 00:00:00 2001 From: Tevin <tingquanren@163.com> Date: Mon, 18 Oct 2021 11:34:32 +0800 Subject: [PATCH] 调整按钮默认颜色 --- common/custom.scss | 52 ++++++++++++++++++++++++++++++++++++++++++++++------ 1 files changed, 46 insertions(+), 6 deletions(-) diff --git a/common/custom.scss b/common/custom.scss index 1c03821..dc045c5 100644 --- a/common/custom.scss +++ b/common/custom.scss @@ -13,15 +13,19 @@ 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; &.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-number { @@ -78,9 +82,45 @@ 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; + } + } +} + +page { + .at-tabs.at-tabs--horizontal { + .at-tabs__body { + .at-tabs-pane { + margin-right: 0; + } + } + } } \ No newline at end of file -- Gitblit v1.9.1