extension.wxss 627 B

12345678910111213141516171819202122232425262728293031323334
  1. #_toast {
  2. position: fixed;
  3. top: 20%;
  4. left: 0;
  5. width: 100%;
  6. height: 0;
  7. background: #ff0;
  8. z-index: 10000;
  9. padding: 0 120rpx;
  10. text-align: center;
  11. }
  12. #_toast_title {
  13. font-size: 11pt;
  14. display: inline-block;
  15. background: rgba(0, 0, 0, 0.85);
  16. color: #fff;
  17. margin: 0 auto;
  18. padding: 16rpx 32rpx;
  19. border-radius: 16rpx;
  20. max-height: 60vh;
  21. overflow-y: auto;
  22. overflow-x: hidden;
  23. text-align: left;
  24. transition: 150ms;
  25. word-break: break-all;
  26. box-shadow:0 0 25rpx 5rpx rgba(0, 0, 0, .5);
  27. }
  28. #_toast_title.hide {
  29. opacity: 0;
  30. visibility: hidden;
  31. }