messages.css
Same filename in this branch
- 9 core/profiles/demo_umami/themes/umami/css/components/messages/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
Messages.
File
-
core/
themes/ olivero/ css/ components/ messages.css
View source
- /*
- * DO NOT EDIT THIS FILE.
- * See the following change record for more information,
- * https://www.drupal.org/node/3084859
- * @preserve
- */
-
- /**
- * @file
- * Messages.
- */
-
- [dir="ltr"] .messages-list {
- padding-left: 0;
- }
-
- [dir="rtl"] .messages-list {
- padding-right: 0;
- }
-
- [dir="ltr"] .messages-list {
- padding-right: 0;
- }
-
- [dir="rtl"] .messages-list {
- padding-left: 0;
- }
-
- .messages-list {
- margin-top: 1.125rem;
- margin-bottom: 1.125rem;
- padding-top: 0;
- padding-bottom: 0;
- list-style: none;
- }
-
- [dir="ltr"] .messages {
- padding-left: 1.6875rem;
- }
-
- [dir="rtl"] .messages {
- padding-right: 1.6875rem;
- }
-
- [dir="ltr"] .messages {
- padding-right: 1.6875rem;
- }
-
- [dir="rtl"] .messages {
- padding-left: 1.6875rem;
- }
-
- .messages {
- min-height: 4.25rem;
- padding-top: 1.125rem;
- padding-bottom: 1.125rem;
- color: #fff;
- outline: solid 1px transparent;
- background-color: #0d1214;
- }
-
- .messages * {
- color: inherit;
- }
-
- /* Additional specificity to override contrib modules. */
-
- .messages.messages-list__item {
- background-image: none;
- }
-
- [dir="ltr"] .messages__list {
- margin-left: 0;
- }
-
- [dir="rtl"] .messages__list {
- margin-right: 0;
- }
-
- [dir="ltr"] .messages__list {
- margin-right: 0;
- }
-
- [dir="rtl"] .messages__list {
- margin-left: 0;
- }
-
- [dir="ltr"] .messages__list {
- padding-left: 0;
- }
-
- [dir="rtl"] .messages__list {
- padding-right: 0;
- }
-
- [dir="ltr"] .messages__list {
- padding-right: 0;
- }
-
- [dir="rtl"] .messages__list {
- padding-left: 0;
- }
-
- .messages__list {
- margin-top: 0;
- margin-bottom: 0;
- padding-top: 0;
- padding-bottom: 0;
- list-style: none;
- }
-
- .messages:not(.hidden) ~ .messages {
- margin-top: 1.125rem;
- }
-
- .messages__item + .messages__item {
- margin-top: 0.5625rem;
- }
-
- .messages__container {
- display: flex;
- }
-
- [dir="ltr"] .messages__header {
- margin-right: 1.125rem;
- }
-
- [dir="rtl"] .messages__header {
- margin-left: 1.125rem;
- }
-
- .messages__header {
- flex-shrink: 0;
- }
-
- [dir="ltr"] .messages__header.no-icon {
- margin-right: 0;
- }
-
- [dir="rtl"] .messages__header.no-icon {
- margin-left: 0;
- }
-
- .messages__content {
- overflow: auto; /* Ensure large code blocks can be scrolled to. */
- flex: 1;
- padding-top: 0.1875rem;
- }
-
- [dir="ltr"] .messages__button {
- margin-left: 1.125rem;
- }
-
- [dir="rtl"] .messages__button {
- margin-right: 1.125rem;
- }
-
- .messages__button {
- flex-shrink: 0;
- padding-top: 0.1875rem;
- }
-
- [dir="ltr"] .messages__close {
- padding-left: 0;
- }
-
- [dir="rtl"] .messages__close {
- padding-right: 0;
- }
-
- [dir="ltr"] .messages__close {
- padding-right: 0;
- }
-
- [dir="rtl"] .messages__close {
- padding-left: 0;
- }
-
- .messages__close {
- position: relative;
- width: 1.5625rem;
- height: 1.5625rem;
- padding-top: 0;
- padding-bottom: 0;
- cursor: pointer;
- vertical-align: top;
- border: 0;
- background: none;
- -webkit-appearance: none;
- appearance: none;
- }
-
- .messages__close:before,
- .messages__close:after {
- position: absolute;
- top: 50%;
- left: 50%;
- display: block;
- width: 2.0625rem;
- height: 0;
- content: "";
- border-top: solid 2px #7e96a7;
- }
-
- .messages__close:before {
- transform: translate(-50%, -50%) rotate(45deg);
- }
-
- .messages__close:after {
- transform: translate(-50%, -50%) rotate(-45deg);
- }
-
- .messages__close:hover::before,
- .messages__close:hover::after {
- border-color: #fff;
- }
-
- .messages__close:focus {
- outline: 2px solid #53b0eb;
- outline-offset: 2px;
- }
-
- .messages__icon svg {
- vertical-align: top;
- }
-
- .messages--error .messages__icon svg {
- fill: #e33f1e;
- }
-
- .messages--warning .messages__icon svg {
- fill: #fdca40;
- }
-
- .messages--status .messages__icon svg {
- fill: #3fa21c;
- }
-
- .messages--info .messages__icon svg {
- fill: #53b0eb;
- }
-
- .messages a {
- color: #fff;
- }
-
- .messages pre {
- margin: 0;
- }
-
- [dir="ltr"] .js-form-managed-file .messages {
- border-left: solid 0.375rem #e33f1e;
- }
-
- [dir="rtl"] .js-form-managed-file .messages {
- border-right: solid 0.375rem #e33f1e;
- }
-
- .js-form-managed-file .messages {
- margin-bottom: 1.125rem;
- }
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.