D10 theme for Island Scholar v2 Clone of "vre2024"
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.

91 lines
1.7 KiB

3 weeks ago
.messages {
/*min-height: calc(var(--messages-icon-size) + 2 * var(--sp1));*/
padding-block: 1rem;
padding-inline-start: 1rem;
padding-inline-end: 1rem;
color: #fff;
outline: solid 1px transparent;
background-color: #ccc;
border-radius: 4px;
}
.messages * {
color: inherit;
}
.messages.messages-list__item {
background-image: none;
}
.messages__list {
margin-block: 0;
margin-inline-start: 0;
margin-inline-end: 0;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 0;
list-style: none;
}
.messages:not(.hidden) ~ .messages {
margin-block-start: 1rem;
}
.messages__item + .messages__item {
margin-block-start: 1rem;
}
.messages__container {
display: flex;
}
.messages__header {
flex-shrink: 0;
margin-inline-end: 1rem;
}
.messages__header.no-icon {
margin-inline-end: 0;
}
.messages__content {
overflow: auto; /* Ensure large code blocks can be scrolled to. */
flex: 1;
padding-block-start: 0.1875rem;
}
.messages__button {
flex-shrink: 0;
margin-inline-start: 1rem;
padding-block-start: 0.1875rem;
}
.messages__close {
position: relative;
width: 1.5625rem;
height: 1.5625rem;
padding-block: 0;
padding-inline-start: 0;
padding-inline-end: 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 #333;
}
.messages--error {
background: var(--upei-red);
}
.messages--warning {
background: var(--upei-yellow);
}
.messages--status,
.messages--info {
background: var(--upei-green);
}