messages.css
Same filename in this branch
- 9 core/themes/olivero/css/components/messages.css
- 9 core/themes/seven/css/components/messages.css
- 9 core/themes/seven/css/classy/components/messages.css
- 9 core/themes/claro/css/components/messages.css
- 9 core/themes/bartik/css/components/messages.css
- 9 core/themes/bartik/css/classy/components/messages.css
- 9 core/themes/starterkit_theme/css/components/messages.css
- 9 core/themes/classy/css/components/messages.css
Same filename in other branches
- 8.9.x core/profiles/demo_umami/themes/umami/css/components/messages/messages.css
- 8.9.x core/themes/seven/css/components/messages.css
- 8.9.x core/themes/seven/css/classy/components/messages.css
- 8.9.x core/themes/claro/css/components/messages.css
- 8.9.x core/themes/bartik/css/components/messages.css
- 8.9.x core/themes/bartik/css/classy/components/messages.css
- 8.9.x core/themes/classy/css/components/messages.css
- 10 core/profiles/demo_umami/themes/umami/css/components/messages/messages.css
- 10 core/misc/dialog/off-canvas/css/messages.css
- 10 core/themes/olivero/css/components/messages.css
- 10 core/themes/claro/css/components/messages.css
- 10 core/themes/starterkit_theme/css/components/messages.css
- 11.x core/profiles/demo_umami/themes/umami/css/components/messages/messages.css
- 11.x core/misc/dialog/off-canvas/css/messages.css
- 11.x core/themes/olivero/css/components/messages.css
- 11.x core/themes/claro/css/components/messages.css
- 11.x core/themes/starterkit_theme/css/components/messages.css
Styles for system messages.
File
-
core/
profiles/ demo_umami/ themes/ umami/ css/ components/ messages/ messages.css
View source
- /**
- * @file
- * Styles for system messages.
- */
-
- .messages {
- margin-bottom: 1em;
- padding: 20px;
- word-wrap: break-word;
- color: inherit;
- overflow-wrap: break-word;
- }
- [dir="rtl"] .messages {
- text-align: right;
- background-position: right 10px top 17px;
- }
- .messages + .messages {
- margin-top: 1.538em;
- }
- .messages__content {
- padding-left: 24px; /* LTR */
- background: no-repeat 0 center; /* LTR */
- }
- [dir=rtl] .messages__content {
- padding-right: 24px;
- padding-left: 0;
- background-position: right;
- }
- .messages--status {
- border: 1px solid #cbdebc;
- background-color: #e6eee0;
- }
- .messages--status .messages__content {
- background-image: url(/core/misc/icons/73b355/check.svg);
- }
- .messages--warning {
- border: 1px solid #fae2a4;
- background-color: #fcf1d4;
- }
- .messages--warning .messages__content {
- background-image: url(/core/misc/icons/e29700/warning.svg);
- }
- .messages--error {
- border: 1px solid #f8c8d5;
- background-color: #f9e6eb;
- }
- .messages--error .messages__content {
- background-image: url(/core/misc/icons/e32700/error.svg);
- }
- .messages--error .error {
- color: inherit;
- }
- .messages a {
- color: #cc2a00;
- }
- .messages__list {
- margin: 0;
- padding: 0;
- list-style: none;
- }
- .messages__item + .messages__item {
- margin-top: 0.769em;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.