mirror of
https://gitee.com/vant-contrib/vant-weapp.git
synced 2025-04-06 03:58:05 +08:00
60 lines
858 B
Plaintext
60 lines
858 B
Plaintext
.van-notice-bar {
|
|
display: flex;
|
|
height: 40px;
|
|
padding: 0 15px;
|
|
font-size: 14px;
|
|
line-height: 24px;
|
|
align-items: center;
|
|
|
|
&--withicon {
|
|
position: relative;
|
|
padding-right: 40px;
|
|
}
|
|
|
|
&--wrapable {
|
|
height: auto;
|
|
padding: 8px 15px;
|
|
|
|
.van-notice-bar {
|
|
&__wrap {
|
|
height: auto;
|
|
}
|
|
|
|
&__content {
|
|
position: relative;
|
|
white-space: normal;
|
|
}
|
|
}
|
|
}
|
|
|
|
&__left-icon {
|
|
display: flex;
|
|
margin-right: 4px;
|
|
vertical-align: middle;
|
|
align-items: center;
|
|
}
|
|
|
|
&__right-icon {
|
|
position: absolute;
|
|
top: 10px;
|
|
right: 15px;
|
|
font-size: 16px;
|
|
}
|
|
|
|
&__wrap {
|
|
position: relative;
|
|
height: 24px;
|
|
overflow: hidden;
|
|
flex: 1;
|
|
}
|
|
|
|
&__content {
|
|
position: absolute;
|
|
white-space: nowrap;
|
|
|
|
&.van-ellipsis {
|
|
max-width: 100%;
|
|
}
|
|
}
|
|
}
|