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.
278 lines
4.4 KiB
278 lines
4.4 KiB
/* |
|
* DO NOT EDIT THIS FILE. |
|
* See the following change record for more information, |
|
* https://www.drupal.org/node/3084859 |
|
* @preserve |
|
*/ |
|
|
|
/** |
|
* @file |
|
* Messages. |
|
*/ |
|
|
|
/* |
|
* Media query breakpoints. |
|
* Processed by postcss/postcss-custom-media. |
|
*/ |
|
|
|
/* Navigation related breakpoints */ |
|
|
|
/* Grid related breakpoints */ |
|
|
|
/* Grid shifts from 6 to 14 columns. */ |
|
|
|
/* Width of the entire grid maxes out. */ |
|
|
|
[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: var(--sp1); |
|
margin-bottom: var(--sp1); |
|
padding-top: 0; |
|
padding-bottom: 0; |
|
list-style: none; |
|
} |
|
|
|
[dir="ltr"] .messages { |
|
padding-left: var(--sp1-5); |
|
} |
|
|
|
[dir="rtl"] .messages { |
|
padding-right: var(--sp1-5); |
|
} |
|
|
|
[dir="ltr"] .messages { |
|
padding-right: var(--sp1-5); |
|
} |
|
|
|
[dir="rtl"] .messages { |
|
padding-left: var(--sp1-5); |
|
} |
|
|
|
.messages { |
|
min-height: calc(2rem + var(--sp1)*2); |
|
padding-top: var(--sp1); |
|
padding-bottom: var(--sp1); |
|
color: var(--color--white); |
|
outline: solid 1px transparent; |
|
background-color: var(--color--gray-5) |
|
} |
|
|
|
.messages * { |
|
color: inherit; |
|
} |
|
|
|
.messages { |
|
|
|
/* 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: var(--sp1); |
|
} |
|
|
|
.messages__item + .messages__item { |
|
margin-top: var(--sp0-5); |
|
} |
|
|
|
.messages__container { |
|
display: flex; |
|
} |
|
|
|
[dir="ltr"] .messages__header { |
|
margin-right: var(--sp1); |
|
} |
|
|
|
[dir="rtl"] .messages__header { |
|
margin-left: var(--sp1); |
|
} |
|
|
|
.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: var(--sp1); |
|
} |
|
|
|
[dir="rtl"] .messages__button { |
|
margin-right: var(--sp1); |
|
} |
|
|
|
.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; |
|
-moz-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 var(--color--gray-60); |
|
} |
|
|
|
.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: var(--color--white); |
|
} |
|
|
|
.messages__close:focus { |
|
outline: 2px solid var(--color--primary-60); |
|
outline-offset: 2px; |
|
} |
|
|
|
.messages__icon svg { |
|
vertical-align: top; |
|
} |
|
|
|
.messages--error .messages__icon svg { |
|
fill: var(--color--red); |
|
} |
|
|
|
.messages--warning .messages__icon svg { |
|
fill: var(--color--gold); |
|
} |
|
|
|
.messages--status .messages__icon svg { |
|
fill: var(--color--green); |
|
} |
|
|
|
.messages--info .messages__icon svg { |
|
fill: var(--color--primary-60); |
|
} |
|
|
|
.messages a { |
|
color: var(--color--white); |
|
} |
|
|
|
.messages pre { |
|
margin: 0; |
|
} |
|
|
|
[dir="ltr"] .js-form-managed-file .messages { |
|
border-left: solid 6px var(--color--red); |
|
} |
|
|
|
[dir="rtl"] .js-form-managed-file .messages { |
|
border-right: solid 6px var(--color--red); |
|
} |
|
|
|
.js-form-managed-file .messages { |
|
margin-bottom: var(--sp1); |
|
}
|
|
|