index.less 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  1. @import "../styles/mixins/index.less";
  2. @import "../styles/themes/index.less";
  3. .@{wux-prefix}-notification {
  4. position: absolute;
  5. top: -2rem;
  6. right: 0;
  7. left: 0;
  8. z-index: @z-index-notification;
  9. width: 100%;
  10. min-height: 4rem;
  11. padding-top: 2rem;
  12. font-size: .8rem;
  13. color: @text-color-inverse;
  14. background-color: @notification-bg;
  15. &__content {
  16. display: flex;
  17. padding: .3rem .6rem 1rem .6rem;
  18. align-items: flex-start;
  19. }
  20. &__hd {
  21. width: 1rem;
  22. height: 1rem;
  23. }
  24. &__image {
  25. width: 100%;
  26. height: 100%;
  27. }
  28. &__bd {
  29. width: 100%;
  30. margin: 0 .4rem;
  31. }
  32. &__title {
  33. font-weight: bold;
  34. }
  35. &__text {
  36. line-height: 1;
  37. }
  38. &__ft {
  39. position: absolute;
  40. bottom: .2rem;
  41. left: 50%;
  42. width: 2rem;
  43. height: .3rem;
  44. background: white;
  45. border-radius: .15rem;
  46. opacity: .5;
  47. transform: translate3d(-50%, 0, 0);
  48. }
  49. }