index.css 918 B

123456789101112131415161718192021222324252627282930313233
  1. @import '../common/index.css';
  2. .van-notify {
  3. text-align: center;
  4. word-wrap: break-word;
  5. padding: 6px 15px;
  6. padding: var(--notify-padding, 6px 15px);
  7. font-size: 14px;
  8. font-size: var(--notify-font-size, 14px);
  9. line-height: 20px;
  10. line-height: var(--notify-line-height, 20px);
  11. }
  12. .van-notify__container {
  13. position: fixed;
  14. top: 0;
  15. box-sizing: border-box;
  16. width: 100%;
  17. }
  18. .van-notify--primary {
  19. background-color: #1989fa;
  20. background-color: var(--notify-primary-background-color, #1989fa);
  21. }
  22. .van-notify--success {
  23. background-color: #07c160;
  24. background-color: var(--notify-success-background-color, #07c160);
  25. }
  26. .van-notify--danger {
  27. background-color: #ee0a24;
  28. background-color: var(--notify-danger-background-color, #ee0a24);
  29. }
  30. .van-notify--warning {
  31. background-color: #ff976a;
  32. background-color: var(--notify-warning-background-color, #ff976a);
  33. }