canyin-project/yb_wm/unpackage/dist/dev/mp-weixin/components/third/uni-notice-bar.wxss
2024-11-01 16:07:54 +08:00

89 lines
2.1 KiB
Plaintext

.uni-noticebar.data-v-11fe2704 {
display: flex;
width: 100%;
box-sizing: border-box;
flex-direction: row;
align-items: center;
padding: 4px 12px;
}
.uni-noticebar-close.data-v-11fe2704 {
margin-right: 5px;
}
.uni-noticebar-icon.data-v-11fe2704 {
margin-right: 5px;
}
.uni-noticebar__content-wrapper.data-v-11fe2704 {
flex: 1;
flex-direction: column;
overflow: hidden;
}
.uni-noticebar__content-wrapper--single.data-v-11fe2704 {
line-height: 36rpx;
}
.uni-noticebar__content-wrapper--single.data-v-11fe2704,
.uni-noticebar__content-wrapper--scrollable.data-v-11fe2704 {
flex-direction: row;
}
.uni-noticebar__content-wrapper--scrollable.data-v-11fe2704 {
position: relative;
height: 36rpx;
}
.uni-noticebar__content--scrollable.data-v-11fe2704 {
flex: 1;
display: block;
overflow: hidden;
}
.uni-noticebar__content--single.data-v-11fe2704 {
display: flex;
flex: none;
width: 100%;
justify-content: center;
}
.uni-noticebar__content-text.data-v-11fe2704 {
font-size: 28rpx;
line-height: 36rpx;
word-break: break-all;
}
.uni-noticebar__content-text--single.data-v-11fe2704 {
display: block;
width: 100%;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}
.uni-noticebar__content-text--scrollable.data-v-11fe2704 {
position: absolute;
display: block;
height: 36rpx;
line-height: 36rpx;
white-space: nowrap;
padding-left: 100%;
-webkit-animation: notice-data-v-11fe2704 10s 0s linear infinite both;
animation: notice-data-v-11fe2704 10s 0s linear infinite both;
-webkit-animation-play-state: paused;
animation-play-state: paused;
}
.uni-noticebar__more.data-v-11fe2704 {
display: inline-flex;
flex-direction: row;
flex-wrap: nowrap;
align-items: center;
padding-left: 5px;
}
.uni-noticebar__more-text.data-v-11fe2704 {
font-size: 28rpx;
}
@-webkit-keyframes notice-data-v-11fe2704 {
100% {
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
}
@keyframes notice-data-v-11fe2704 {
100% {
-webkit-transform: translate3d(-100%, 0, 0);
transform: translate3d(-100%, 0, 0);
}
}