index.scss 810 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. @import '../../styles/variables.scss';
  2. .popup-top {
  3. position: fixed;
  4. top: 0;
  5. left: 0;
  6. width: 100%;
  7. overflow-y: auto;
  8. transition: transform 0.3s;
  9. z-index: 9999;
  10. // &.round {
  11. // border-radius: 0 0 $popup-border-radius $popup-border-radius;
  12. // }
  13. }
  14. .nut-notify {
  15. box-sizing: border-box;
  16. padding: $notify-padding;
  17. color: $notify-text-color;
  18. font-size: $notify-font-size;
  19. line-height: $notify-line-height;
  20. white-space: pre-wrap;
  21. text-align: center;
  22. word-wrap: break-word;
  23. &--primary {
  24. background-color: $notify-primary-background-color;
  25. }
  26. &--success {
  27. background-color: $notify-success-background-color;
  28. }
  29. &--danger {
  30. background-color: $notify-danger-background-color;
  31. }
  32. &--warning {
  33. background-color: $notify-warning-background-color;
  34. }
  35. }