discourse/app/assets/stylesheets/desktop/post-action-feedback.scss

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

25 lines
481 B
SCSS
Raw Permalink Normal View History

.post-action-feedback-alert {
position: absolute;
top: -1.5rem;
left: 50%;
transform: translateX(-50%);
color: var(--success);
padding: 0.25rem 0.5rem;
white-space: nowrap;
font-size: var(--font-down-2);
opacity: 1;
transition: opacity 0.5s ease-in-out;
2024-10-29 05:35:14 -04:00
z-index: calc(z("timeline") + 1);
&.-success {
color: var(--success);
}
&.-fail {
color: var(--danger);
}
&.slide-out {
animation: slide 1s cubic-bezier(0, 0, 0, 2) forwards;
}
}