71 lines
1.3 KiB
SCSS
71 lines
1.3 KiB
SCSS
.Notification-container {
|
|
position: relative;
|
|
width: 22rem;
|
|
max-width: 100vw;
|
|
margin: 4.25rem auto 0.25rem;
|
|
z-index: var(--z-notification);
|
|
|
|
& ~ & {
|
|
margin-top: 0.25rem;
|
|
}
|
|
}
|
|
|
|
.Notification {
|
|
background-color: rgba(32, 32, 32, 0.8);
|
|
background-size: 1.5rem;
|
|
border-radius: var(--border-radius-default);
|
|
padding: 0.9375rem;
|
|
color: #fff;
|
|
margin: 0 0.5rem;
|
|
display: flex;
|
|
align-items: center;
|
|
|
|
.text-entity-link,
|
|
.text-entity-link:hover,
|
|
.text-entity-link:active {
|
|
color: #fff !important;
|
|
text-decoration: underline;
|
|
}
|
|
|
|
.content {
|
|
line-height: 1.25;
|
|
word-break: break-word;
|
|
font-size: 0.9375rem;
|
|
flex-grow: 1;
|
|
}
|
|
|
|
&.bold-link b {
|
|
color: var(--color-primary);
|
|
cursor: var(--custom-cursor, pointer);
|
|
}
|
|
|
|
.notification-title {
|
|
font-weight: var(--font-weight-medium);
|
|
}
|
|
|
|
.notification-icon {
|
|
font-size: 1.75rem;
|
|
}
|
|
|
|
.notification-emoji-icon {
|
|
--custom-emoji-size: 1.75rem;
|
|
}
|
|
|
|
.notification-icon, .notification-emoji-icon {
|
|
margin-inline-end: 0.75rem;
|
|
}
|
|
|
|
.notification-timer {
|
|
margin-inline: 0.75rem;
|
|
}
|
|
|
|
.notification-button {
|
|
color: var(--color-toast-action);
|
|
font-weight: var(--font-weight-medium);
|
|
text-transform: none;
|
|
margin-inline-start: 0.125rem;
|
|
height: 2rem;
|
|
width: auto;
|
|
}
|
|
}
|