You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

49 lines
963 B

  1. .alert {
  2. background-color: #FFF;
  3. border-right: 3px solid mc('grey', '500');
  4. position: fixed;
  5. top: 60px;
  6. margin-left: 10px;
  7. right: 10px;
  8. max-width: 500px;
  9. z-index: 1000;
  10. display: flex;
  11. box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
  12. animation-duration: .6s;
  13. &-icon {
  14. width: 50px;
  15. height: 50px;
  16. background-color: mc('grey', '500');
  17. color: #FFF;
  18. display: flex;
  19. align-items: center;
  20. justify-content: center;
  21. font-size: 24px;
  22. }
  23. &-msg {
  24. padding: 0 15px;
  25. display: flex;
  26. align-items: center;
  27. justify-content: flex-start;
  28. border-top: 1px solid mc('grey', '200');
  29. font-size: 14px;
  30. font-weight: 500;
  31. }
  32. @each $color, $colorvalue in $material-colors {
  33. &.is-#{$color} {
  34. border-right-color: mc($color, '500');
  35. .alert-icon {
  36. background-color: mc($color, '500');
  37. }
  38. .alert-msg {
  39. color: mc($color, '900');
  40. }
  41. }
  42. }
  43. }