mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-05-11 01:38:57 +08:00
34 lines
618 B
Plaintext
34 lines
618 B
Plaintext
@import '../common/style/var.less';
|
|
|
|
.van-notify {
|
|
position: fixed;
|
|
top: 0;
|
|
box-sizing: border-box;
|
|
width: 100%;
|
|
padding: @notify-padding;
|
|
font-size: @notify-font-size;
|
|
line-height: @notify-line-height;
|
|
text-align: center;
|
|
word-break: break-all;
|
|
|
|
&__safe-top {
|
|
height: @nav-bar-height;
|
|
}
|
|
|
|
&--primary {
|
|
background-color: @notify-primary-background-color;
|
|
}
|
|
|
|
&--success {
|
|
background-color: @notify-success-background-color;
|
|
}
|
|
|
|
&--danger {
|
|
background-color: @notify-danger-background-color;
|
|
}
|
|
|
|
&--warning {
|
|
background-color: @notify-warning-background-color;
|
|
}
|
|
}
|