mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-04-06 03:57:59 +08:00
[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:
parent
2914845dae
commit
f8b642f8aa
@ -6,6 +6,7 @@
|
||||
}
|
||||
|
||||
.van-icon {
|
||||
width: 1em;
|
||||
display: inline-block;
|
||||
font: normal normal normal 14px/1 "<%= fontName %>";
|
||||
font-size: inherit;
|
||||
|
@ -6,6 +6,7 @@
|
||||
}
|
||||
|
||||
.van-icon {
|
||||
width: 1em;
|
||||
display: inline-block;
|
||||
font: normal normal normal 14px/1 "vant-icon";
|
||||
font-size: inherit;
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user