system.messages.css

Styles for system messages.

File

modules/system/system.messages.css

View source
  1. /**
  2. * @file
  3. * Styles for system messages.
  4. */
  5. div.messages {
  6. background-position: 8px 8px; /* LTR */
  7. background-repeat: no-repeat;
  8. border: 1px solid;
  9. margin: 6px 0;
  10. padding: 10px 10px 10px 50px; /* LTR */
  11. }
  12. div.status {
  13. background-image: url(../../misc/message-24-ok.png);
  14. border-color: #be7;
  15. }
  16. div.status,
  17. .ok {
  18. color: #234600;
  19. }
  20. div.status,
  21. table tr.ok {
  22. background-color: #f8fff0;
  23. }
  24. div.warning {
  25. background-image: url(../../misc/message-24-warning.png);
  26. border-color: #ed5;
  27. }
  28. div.warning,
  29. .warning {
  30. color: #840;
  31. }
  32. div.warning,
  33. table tr.warning {
  34. background-color: #fffce5;
  35. }
  36. div.error {
  37. background-image: url(../../misc/message-24-error.png);
  38. border-color: #ed541d;
  39. }
  40. div.error,
  41. .error {
  42. color: #8c2e0b;
  43. }
  44. div.error,
  45. table tr.error {
  46. background-color: #fef5f1;
  47. }
  48. div.error p.error {
  49. color: #333;
  50. }
  51. div.messages ul {
  52. margin: 0 0 0 1em; /* LTR */
  53. padding: 0;
  54. }
  55. div.messages ul li {
  56. list-style-image: none;
  57. }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.