yunshangxie/unpackage/dist/dev/mp-weixin/tuniao-ui/components/tn-row-notice/tn-row-notice.wxss

67 lines
1.8 KiB
Plaintext
Raw Normal View History

2023-12-25 17:56:30 +08:00
@charset "UTF-8";
/**
* 下方引入的为Tuniao UI的集成样式文件为scss预处理器其中包含了一些"tn-"开头的自定义变量
* 使用的时候请将下面的一行复制到您的uniapp项目根目录的uni.scss中即可
* Tuniao UI自定义的css类名和scss变量均以"tn-"开头,不会造成冲突,请放心使用
*/
.tn-row-notice.data-v-770a6f7a {
width: 100%;
overflow: hidden;
}
.tn-row-notice__wrap.data-v-770a6f7a {
display: flex;
flex-direction: row;
align-items: center;
justify-content: space-between;
}
.tn-row-notice__content.data-v-770a6f7a {
display: flex;
flex-direction: row;
flex-wrap: nowrap;
text-align: right;
padding-left: 100%;
-webkit-animation: tn-notice-loop-animation-data-v-770a6f7a 10s linear infinite both;
animation: tn-notice-loop-animation-data-v-770a6f7a 10s linear infinite both;
}
.tn-row-notice__content-box.data-v-770a6f7a {
flex: 1;
display: flex;
flex-direction: row;
overflow: hidden;
margin-left: 12rpx;
}
.tn-row-notice__content--text.data-v-770a6f7a {
word-break: keep-all;
white-space: nowrap;
}
.tn-row-notice__icon--left.data-v-770a6f7a {
display: inline-flex;
align-items: center;
}
.tn-row-notice__icon--right.data-v-770a6f7a {
margin-left: 12rpx;
display: inline-flex;
align-items: center;
}
@-webkit-keyframes tn-notice-loop-animation-data-v-770a6f7a {
0% {
-webkit-transform: translateX(0);
transform: translateX(0);
}
100% {
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
}
}
@keyframes tn-notice-loop-animation-data-v-770a6f7a {
0% {
-webkit-transform: translateX(0);
transform: translateX(0);
}
100% {
-webkit-transform: translateX(-100%);
transform: translateX(-100%);
}
}