[improvement] Icon spinner color inherit (#331)

* fix: Tabbar icon line-height

* [new feature] progress add showPivot prop

* [new feature] TabItem support vue-router

* [new feature] update document header style

* [Doc] add toast english ducoment

* [bugfix] Search box-sizing wrong

* [Doc] update vant-demo respo

* [Doc] translate theme & demo pages

* [Doc] add Internationalization document

* [bugfix] remove unnecessary props

* [fix] optimize clickoutside

* [new feature] optimize find-parent

* [new feature]: change document title accordinng to language

* [new feature] Pagination code review

* [improvement] adjust icon-font unicode

* [improvement] Icon spinner color inherit

* [improvement] icon default width
This commit is contained in:
neverland 2017-11-20 17:36:55 +08:00 committed by GitHub
parent 2914845dae
commit f8b642f8aa
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 4 deletions

View File

@ -6,6 +6,7 @@
}
.van-icon {
width: 1em;
display: inline-block;
font: normal normal normal 14px/1 "<%= fontName %>";
font-size: inherit;

View File

@ -6,6 +6,7 @@
}
.van-icon {
width: 1em;
display: inline-block;
font: normal normal normal 14px/1 "vant-icon";
font-size: inherit;

View File

@ -60,6 +60,7 @@
}
&--spinner {
color: $gray;
animation-timing-function: steps(12);
i {
@ -76,14 +77,12 @@
display: block;
margin: 0 auto;
border-radius: 40%;
background-color: $gray;
background-color: currentColor;
}
}
&.van-loading__spinner--white {
i::before {
background-color: #fff;
}
color: #fff;
}
}
}