[improvement] Badge: info style (#718)

This commit is contained in:
neverland 2018-10-09 14:28:02 +08:00 committed by GitHub
parent 2e2879a6e3
commit 18befcb15d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
7 changed files with 12 additions and 12 deletions

View File

@ -8,7 +8,7 @@
<demo-block title="样式定制">
<van-progress custom-class="progress" pivot-text="橙色" color="#f2826a" percentage="25" />
<van-progress custom-class="progress" pivot-text="红色" color="#f3594b" percentage="50" />
<van-progress custom-class="progress" pivot-text="红色" color="#f44" percentage="50" />
<van-progress
custom-class="progress"
percentage="75"

View File

@ -13,6 +13,6 @@
steps="{{ steps }}"
active="{{ active }}"
direction="vertical"
active-color="#f60"
active-color="#f44"
/>
</demo-block>

View File

@ -38,11 +38,11 @@
&__info {
position: absolute;
top: 2px;
top: 4px;
right: 2px;
color: @white;
font-size: 10px;
font-weight: normal;
font-size: 12px;
font-weight: 500;
transform: scale(0.8);
text-align: center;
box-sizing: border-box;

View File

@ -19,10 +19,10 @@
&__message {
padding: 25px;
font-size: 14px;
line-height: 1.5;
&--has-title {
font-size: 14px;
padding-top: 12px;
color: @gray-darker;
}

View File

@ -18,11 +18,11 @@
color: #fff;
left: 100%;
top: -.5em;
font-size: .5em;
padding: 0 .3em;
font-size: .6em;
padding: 0 .25em;
text-align: center;
min-width: 1.2em;
line-height: 1.2;
min-width: 1.4em;
line-height: 1.4;
position: absolute;
border-radius: .6em;
box-sizing: border-box;

View File

@ -38,7 +38,7 @@
<van-progress
pivot-text="红色"
color="#f3594b"
color="#f44"
percentage="50"
/>

View File

@ -53,7 +53,7 @@ Page({
steps="{{ steps }}"
active="{{ active }}"
direction="vertical"
active-color="#f60"
active-color="#f44"
/>
```