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.

114 lines
1.9 KiB

  1. /*#alerts {
  2. position: fixed;
  3. top: 60px;
  4. right: 10px;
  5. width: 350px;
  6. z-index: 10;
  7. text-shadow: 1px 1px 0 rgba(0,0,0,0.1);
  8. .notification {
  9. animation: 0.5s ease slideInRight;
  10. margin-top: 5px;
  11. &.exit {
  12. animation: 0.5s ease fadeOutRight;
  13. }
  14. }
  15. h3 {
  16. font-size: 16px;
  17. font-size: 500;
  18. }
  19. }*/
  20. #alerts {
  21. position: fixed;
  22. top: 55px;
  23. right: 10px;
  24. width: 350px;
  25. z-index: 100;
  26. > ul {
  27. margin: 0;
  28. padding: 0;
  29. list-style-type: none;
  30. > li {
  31. background-color: material-color('blue-grey', '800');
  32. box-shadow: 5px 5px 0 transparentize(material-color('blue-grey', '900'), 0.7);
  33. border: 1px solid material-color('blue-grey', '500');
  34. border-left-width: 5px;
  35. margin-top: 5px;
  36. padding: 8px 12px;
  37. animation-name: slideFromRight;
  38. animation-duration: 1s;
  39. cursor: pointer;
  40. position: relative;
  41. &:hover {
  42. background-color: material-color('blue-grey', '900');
  43. }
  44. &.exit {
  45. animation-name: zoomOut;
  46. animation-duration: 1s;
  47. transform-origin: top center;
  48. }
  49. > button {
  50. background-color: transparent;
  51. border: none;
  52. color: #FFF;
  53. width: 15px;
  54. height: 15px;
  55. padding: 0;
  56. position: absolute;
  57. top: 10px;
  58. right: 10px;
  59. &:before {
  60. content: 'X';
  61. }
  62. }
  63. > strong {
  64. display: block;
  65. font-size: 13px;
  66. font-weight: 500;
  67. color: #FFF;
  68. > i {
  69. margin-right: 5px;
  70. }
  71. }
  72. > span {
  73. font-size: 12px;
  74. font-weight: 500;
  75. color: material-color('blue-grey', '100');
  76. }
  77. &.error {
  78. border-color: material-color('red', '400');
  79. background-color: material-color('red', '600');
  80. > span {
  81. color: material-color('red', '50');
  82. }
  83. }
  84. &.success {
  85. border-color: material-color('green', '400');
  86. background-color: material-color('green', '700');
  87. > span {
  88. color: material-color('green', '50');
  89. }
  90. }
  91. }
  92. }
  93. }