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.

48 lines
942 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. }
  22. &-msg {
  23. padding: 0 15px;
  24. display: flex;
  25. align-items: center;
  26. justify-content: flex-start;
  27. border-top: 1px solid mc('grey', '200');
  28. font-size: 14px;
  29. font-weight: 500;
  30. }
  31. @each $color, $colorvalue in $material-colors {
  32. &.is-#{$color} {
  33. border-right-color: mc($color, '500');
  34. .alert-icon {
  35. background-color: mc($color, '500');
  36. }
  37. .alert-msg {
  38. color: mc($color, '900');
  39. }
  40. }
  41. }
  42. }