mirror of
https://github.com/discourse/discourse.git
synced 2024-11-24 13:06:40 +08:00
baa7c4cec7
(to test try using discourse-ai which displays feedback on mobile) --------- Co-authored-by: chapoi <101828855+chapoi@users.noreply.github.com>
25 lines
479 B
SCSS
25 lines
479 B
SCSS
.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;
|
|
z-index: z("modal", "popover");
|
|
&.-success {
|
|
color: var(--success);
|
|
}
|
|
|
|
&.-fail {
|
|
color: var(--danger);
|
|
}
|
|
|
|
&.slide-out {
|
|
animation: slide 1s cubic-bezier(0, 0, 0, 2) forwards;
|
|
}
|
|
}
|