You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
34 lines
663 B
34 lines
663 B
@import '../style/var';
|
|
|
|
.van-notify {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
box-sizing: border-box;
|
|
padding: @notify-padding;
|
|
color: @notify-text-color;
|
|
font-size: @notify-font-size;
|
|
line-height: @notify-line-height;
|
|
|
|
// allow newline charactor
|
|
white-space: pre-wrap;
|
|
text-align: center;
|
|
word-wrap: break-word;
|
|
|
|
&--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;
|
|
}
|
|
}
|