mirror of
https://gitee.com/vant-contrib/vant.git
synced 2025-08-23 04:19:46 +08:00
* [bugfix] CouponList always show empty info * [bugfix] add click feedback of buttons in components * [Doc] add custom theme document * [new feature] Notice bar support more props * [bugfix] PullRefresh test cases * [bugfix] unused NoticeBar style * [bugfix] Swipe width calc error * [Doc] english document of all action components * [Doc] change document site path to /zanui/vant * [Doc] fix * [bugfix] uploader style error * [bugfix] tabs document demo * [new feature] Cell support vue-router target route * [bugfix] add cell test cases * update yarn.lock * [bugfix] Tabbar cann't display info when use icon slot * [Doc] update document title * [bugfix] Dialog should reset button text when showed * [new feature] CouponList add showCloseButton prop * [new feature] Swipe add 'initialSwipe' prop * [bugfix] NoticeBar text disappeared when page back * [new feature] ImagePreview support startPosition * fix: improve imagePreview test cases * [bugfix] Steps style error when has more than 4 items * [new feature] normalize size of all icons * [new feature] Stepper add plus & minus event * fix: yarn.lock * [bugfix] addressEdit icon render failed * [new feature] toast add mask option
75 lines
1.1 KiB
CSS
75 lines
1.1 KiB
CSS
@import './common/var.css';
|
|
|
|
.van-toast {
|
|
position: fixed;
|
|
top: 50%;
|
|
left: 50%;
|
|
display: flex;
|
|
color: $white;
|
|
z-index: 3001;
|
|
font-size: 12px;
|
|
line-height: 1.2;
|
|
border-radius: 5px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
flex-direction: column;
|
|
box-sizing: border-box;
|
|
transform: translate3d(-50%, -50%, 0);
|
|
background-color: rgba(39, 39, 39, .7);
|
|
|
|
&-wrapper {
|
|
transition: opacity .2s;
|
|
}
|
|
|
|
&__overlay {
|
|
position: fixed;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100%;
|
|
height: 100%;
|
|
z-index: 3000;
|
|
background-color: transparent;
|
|
|
|
&--mask {
|
|
background-color: rgba(0, 0, 0, .5);
|
|
}
|
|
}
|
|
|
|
&--text {
|
|
padding: 12px;
|
|
min-width: 220px;
|
|
}
|
|
|
|
&--default {
|
|
width: 120px;
|
|
min-height: 120px;
|
|
padding: 15px;
|
|
|
|
.van-toast__icon {
|
|
font-size: 50px;
|
|
}
|
|
|
|
.van-loading {
|
|
margin: 10px 0 5px;
|
|
}
|
|
|
|
.van-toast__text {
|
|
font-size: 14px;
|
|
padding-top: 10px;
|
|
}
|
|
}
|
|
|
|
&--top {
|
|
top: 50px;
|
|
}
|
|
|
|
&--bottom {
|
|
top: auto;
|
|
bottom: 50px;
|
|
}
|
|
}
|
|
|
|
.van-toast-fade-enter, .van-toast-fade-leave-to {
|
|
opacity: 0;
|
|
}
|