index.less 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. @import "../styles/mixins/index.less";
  2. @import "../styles/themes/index.less";
  3. .@{wux-prefix}-notice-bar {
  4. background-color: @notice-bar-bg;
  5. height: @notice-bar-height;
  6. overflow: hidden;
  7. font-size: @notice-bar-font-size;
  8. line-height: @notice-bar-height;
  9. color: @notice-bar-color;
  10. display: flex;
  11. padding: 0 @notice-bar-icon-margin;
  12. &__icon {
  13. .square(@notice-bar-icon-size);
  14. margin-right: @notice-bar-icon-margin;
  15. }
  16. &__action {
  17. .square(@notice-bar-icon-size);
  18. margin-left: @notice-bar-icon-margin;
  19. }
  20. &__hd {
  21. display: flex;
  22. align-items: center;
  23. }
  24. &__bd {
  25. flex: 1;
  26. width: 100%;
  27. width: auto;
  28. overflow: hidden;
  29. text-overflow: ellipsis;
  30. white-space: nowrap;
  31. }
  32. &__marquee-container {
  33. overflow: hidden;
  34. }
  35. &__marquee {
  36. position: relative;
  37. transform: translate3d(0, 0, 0);
  38. white-space: nowrap;
  39. display: inline-block;
  40. }
  41. &__ft {
  42. display: flex;
  43. align-items: center;
  44. }
  45. }