_messages.scss 1.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. @import "globals";
  2. /* MESSAGES & ERRORS */
  3. ul.messagelist {
  4. padding: 0;
  5. margin: 0;
  6. li {
  7. display: block;
  8. margin: 0 20px 10px 20px;
  9. border-radius: 6px;
  10. padding: 10px;
  11. @include for-phone {
  12. margin-left: 10px;
  13. margin-right: 10px;
  14. }
  15. &.success {
  16. background: $success-color;
  17. color: $success-text-color;
  18. }
  19. &.warning, &.error {
  20. background: $warning-color;
  21. color: $warning-text-color;
  22. }
  23. &.info, &.debug {
  24. background: $info-color;
  25. color: $info-text-color;
  26. }
  27. }
  28. }
  29. .errornote {
  30. display: block;
  31. margin: 0 0 10px 0;
  32. border-radius: 6px;
  33. padding: 10px;
  34. background: $warning-color;
  35. color: $warning-text-color;
  36. }
  37. ul.errorlist {
  38. margin: 0 0 4px;
  39. padding: 0;
  40. color: #ba2121;
  41. background: #fff;
  42. li {
  43. font-size: 13px;
  44. display: block;
  45. margin-bottom: 4px;
  46. &:first-child {
  47. margin-top: 0;
  48. }
  49. a {
  50. color: inherit;
  51. text-decoration: underline;
  52. }
  53. }
  54. td & {
  55. margin: 0;
  56. padding: 0;
  57. li {
  58. margin: 0;
  59. }
  60. }
  61. }
  62. .form-row.errors {
  63. ul.errorlist li {
  64. padding-left: 0;
  65. }
  66. }
  67. div.system-message {
  68. margin: 0 20px 10px 20px;
  69. border-radius: 6px;
  70. padding: 10px;
  71. background: $warning-color;
  72. color: $warning-text-color;
  73. @include for-phone {
  74. margin-left: 10px;
  75. margin-right: 10px;
  76. }
  77. p.system-message-title {
  78. margin: 0;
  79. &:before {
  80. @include font-icon;
  81. content: $icon-cross;
  82. vertical-align: middle;
  83. margin-right: 4px;
  84. color: $warning-text-color;
  85. }
  86. }
  87. }
  88. .description {
  89. font-size: 12px;
  90. margin: 0;
  91. padding: 6px 0 0 0;
  92. }