index.wxss 514 B

12345678910111213141516171819202122232425262728
  1. .wux-toast {
  2. position: fixed;
  3. z-index: 5000;
  4. top: 50%;
  5. left: 50%;
  6. background: rgba(40,40,40,.75);
  7. font-size: 28rpx;
  8. line-height: 1.5;
  9. text-align: center;
  10. border-radius: 8rpx;
  11. color: #fff;
  12. transform: translate3d(-50%,-50%,0)
  13. }
  14. .wux-toast__content {
  15. min-width: 236rpx;
  16. padding: 18rpx 30rpx;
  17. box-sizing: border-box
  18. }
  19. .wux-toast__content--has-icon {
  20. padding: 30rpx
  21. }
  22. .wux-toast__content--has-icon .wux-toast__text {
  23. margin-top: 12rpx
  24. }
  25. .wux-toast__icon {
  26. margin: 0;
  27. display: block
  28. }