uni-notice-bar.wxss 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140
  1. @charset "UTF-8";
  2. /* 页面左右间距 */
  3. /* 文字尺寸 */
  4. /*文字颜色*/
  5. /* 边框颜色 */
  6. /*颜色*/
  7. /* 图片加载中颜色 */
  8. /* 行为相关颜色 */
  9. /* 功能栏字体大小 */
  10. /*功能栏左侧小图标*/
  11. /* 页面左右间距 */
  12. /* 文字尺寸 */
  13. /*文字颜色*/
  14. /* 边框颜色 */
  15. /*颜色*/
  16. /* 图片加载中颜色 */
  17. /* 行为相关颜色 */
  18. /* 功能栏字体大小 */
  19. /*功能栏左侧小图标*/
  20. .uni-noticebar.data-v-24a05de4 {
  21. display: -webkit-box;
  22. display: -webkit-flex;
  23. display: flex;
  24. width: 100%;
  25. -webkit-box-sizing: border-box;
  26. box-sizing: border-box;
  27. -webkit-box-orient: horizontal;
  28. -webkit-box-direction: normal;
  29. -webkit-flex-direction: row;
  30. flex-direction: row;
  31. -webkit-box-align: center;
  32. -webkit-align-items: center;
  33. align-items: center;
  34. padding: 6px 12px;
  35. margin-bottom: 10px;
  36. }
  37. .uni-noticebar-close.data-v-24a05de4 {
  38. margin-right: 5px;
  39. }
  40. .uni-noticebar-icon.data-v-24a05de4 {
  41. margin-right: 5px;
  42. }
  43. .uni-noticebar__content-wrapper.data-v-24a05de4 {
  44. -webkit-box-flex: 1;
  45. -webkit-flex: 1;
  46. flex: 1;
  47. -webkit-box-orient: vertical;
  48. -webkit-box-direction: normal;
  49. -webkit-flex-direction: column;
  50. flex-direction: column;
  51. overflow: hidden;
  52. }
  53. .uni-noticebar__content-wrapper--single.data-v-24a05de4 {
  54. line-height: 18px;
  55. }
  56. .uni-noticebar__content-wrapper--single.data-v-24a05de4,
  57. .uni-noticebar__content-wrapper--scrollable.data-v-24a05de4 {
  58. -webkit-box-orient: horizontal;
  59. -webkit-box-direction: normal;
  60. -webkit-flex-direction: row;
  61. flex-direction: row;
  62. }
  63. .uni-noticebar__content-wrapper--scrollable.data-v-24a05de4 {
  64. position: relative;
  65. height: 18px;
  66. }
  67. .uni-noticebar__content--scrollable.data-v-24a05de4 {
  68. -webkit-box-flex: 1;
  69. -webkit-flex: 1;
  70. flex: 1;
  71. display: block;
  72. overflow: hidden;
  73. }
  74. .uni-noticebar__content--single.data-v-24a05de4 {
  75. display: -webkit-box;
  76. display: -webkit-flex;
  77. display: flex;
  78. -webkit-box-flex: 0;
  79. -webkit-flex: none;
  80. flex: none;
  81. width: 100%;
  82. -webkit-box-pack: center;
  83. -webkit-justify-content: center;
  84. justify-content: center;
  85. }
  86. .uni-noticebar__content-text.data-v-24a05de4 {
  87. font-size: 14px;
  88. line-height: 18px;
  89. word-break: break-all;
  90. }
  91. .uni-noticebar__content-text--single.data-v-24a05de4 {
  92. display: block;
  93. width: 100%;
  94. white-space: nowrap;
  95. overflow: hidden;
  96. text-overflow: ellipsis;
  97. }
  98. .uni-noticebar__content-text--scrollable.data-v-24a05de4 {
  99. position: absolute;
  100. display: block;
  101. height: 18px;
  102. line-height: 18px;
  103. white-space: nowrap;
  104. padding-left: 100%;
  105. -webkit-animation: notice-data-v-24a05de4 10s 0s linear infinite both;
  106. animation: notice-data-v-24a05de4 10s 0s linear infinite both;
  107. -webkit-animation-play-state: paused;
  108. animation-play-state: paused;
  109. }
  110. .uni-noticebar__more.data-v-24a05de4 {
  111. display: -webkit-inline-box;
  112. display: -webkit-inline-flex;
  113. display: inline-flex;
  114. -webkit-box-orient: horizontal;
  115. -webkit-box-direction: normal;
  116. -webkit-flex-direction: row;
  117. flex-direction: row;
  118. -webkit-flex-wrap: nowrap;
  119. flex-wrap: nowrap;
  120. -webkit-box-align: center;
  121. -webkit-align-items: center;
  122. align-items: center;
  123. padding-left: 5px;
  124. }
  125. .uni-noticebar__more-text.data-v-24a05de4 {
  126. font-size: 14px;
  127. }
  128. @-webkit-keyframes notice-data-v-24a05de4 {
  129. 100% {
  130. -webkit-transform: translate3d(-100%, 0, 0);
  131. transform: translate3d(-100%, 0, 0);
  132. }
  133. }
  134. @keyframes notice-data-v-24a05de4 {
  135. 100% {
  136. -webkit-transform: translate3d(-100%, 0, 0);
  137. transform: translate3d(-100%, 0, 0);
  138. }
  139. }