Some checks failed
cache-seeder / prune (push) Has been skipped
cache-seeder / frontend (push) Failing after 3s
cache-seeder / python (push) Failing after 3s
cache-seeder / gobuild (push) Failing after 4s
cache-seeder / lint (bindata, lint-backend) (push) Failing after 3s
giteabot backport / giteabot (push) Has been skipped
giteabot / giteabot (push) Has been skipped
cache-prune / prune (push) Has been skipped
release-nightly-snapcraft / build-and-publish (ubuntu-24.04) (push) Has been cancelled
release-nightly-snapcraft / build-and-publish (ubuntu-24.04-arm) (push) Has been cancelled
release-nightly / nightly-binary (push) Has been cancelled
release-nightly / nightly-container (push) Has been cancelled
cron-renovate / cron-renovate (push) Has been skipped
122 lines
2.1 KiB
CSS
122 lines
2.1 KiB
CSS
.toastify {
|
|
color: var(--color-text);
|
|
border: 1px solid var(--color-secondary);
|
|
position: fixed;
|
|
opacity: 0;
|
|
transition: all .2s ease;
|
|
z-index: var(--z-index-toast);
|
|
border-radius: var(--border-radius);
|
|
box-shadow: 0 8px 24px var(--color-shadow);
|
|
display: flex;
|
|
max-width: 50vw;
|
|
min-width: 300px;
|
|
padding: 4px;
|
|
}
|
|
|
|
.toastify.on {
|
|
opacity: 1;
|
|
}
|
|
|
|
.toast-success {
|
|
background: var(--color-success-bg);
|
|
border-color: var(--color-success-border);
|
|
}
|
|
|
|
.toast-info {
|
|
background: var(--color-info-bg);
|
|
border-color: var(--color-info-border);
|
|
}
|
|
|
|
.toast-warning {
|
|
background: var(--color-warning-bg);
|
|
border-color: var(--color-warning-border);
|
|
}
|
|
|
|
.toast-error {
|
|
background: var(--color-error-bg);
|
|
border-color: var(--color-error-border);
|
|
}
|
|
|
|
.toast-success .toast-icon { color: var(--color-success-text); }
|
|
.toast-info .toast-icon { color: var(--color-info-text); }
|
|
.toast-warning .toast-icon { color: var(--color-warning-text); }
|
|
.toast-error .toast-icon { color: var(--color-error-text); }
|
|
|
|
.toast-body {
|
|
flex: 1;
|
|
padding: 5px 0;
|
|
overflow-wrap: anywhere;
|
|
}
|
|
|
|
.toast-body pre {
|
|
white-space: pre-wrap; /* online editor, when git hook fails, the rendered message uses "pre" */
|
|
}
|
|
|
|
.toast-close {
|
|
border-radius: var(--border-radius);
|
|
width: 30px;
|
|
height: 30px;
|
|
justify-content: center;
|
|
}
|
|
|
|
.toast-icon {
|
|
display: inline-flex;
|
|
width: 30px;
|
|
height: 30px;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.toast-duplicate-number::before {
|
|
content: "(";
|
|
}
|
|
.toast-duplicate-number {
|
|
display: inline-block;
|
|
margin-right: 5px;
|
|
user-select: none;
|
|
}
|
|
.toast-duplicate-number::after {
|
|
content: ")";
|
|
}
|
|
|
|
.toast-close:hover {
|
|
background: var(--color-hover);
|
|
}
|
|
|
|
.toast-close:active {
|
|
background: var(--color-active);
|
|
}
|
|
|
|
.toastify-right {
|
|
right: 15px;
|
|
}
|
|
|
|
.toastify-left {
|
|
left: 15px;
|
|
}
|
|
|
|
.toastify-top {
|
|
top: -150px;
|
|
}
|
|
|
|
.toastify-bottom {
|
|
bottom: -150px;
|
|
}
|
|
|
|
.toastify-center {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
left: 0;
|
|
right: 0;
|
|
}
|
|
|
|
@media (max-width: 360px) {
|
|
.toastify-right, .toastify-left {
|
|
margin-left: auto;
|
|
margin-right: auto;
|
|
left: 0;
|
|
right: 0;
|
|
max-width: fit-content;
|
|
}
|
|
}
|