2023-12-07 20:45:49 -05:00
|
|
|
@keyframes slide {
|
|
|
|
0% {
|
|
|
|
}
|
|
|
|
100% {
|
|
|
|
transform: translateY(100%) translateX(-50%);
|
|
|
|
opacity: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-28 23:59:43 -05:00
|
|
|
.post-action-feedback-alert {
|
2023-12-07 20:45:49 -05:00
|
|
|
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;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@keyframes draw {
|
|
|
|
to {
|
|
|
|
stroke-dashoffset: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2023-12-28 23:59:43 -05:00
|
|
|
.post-menu-area {
|
|
|
|
.post-action-feedback-button {
|
2023-12-07 20:45:49 -05:00
|
|
|
position: relative;
|
|
|
|
height: 100%;
|
|
|
|
|
|
|
|
&.is-copied,
|
|
|
|
&.is-copied:hover {
|
|
|
|
.d-icon-d-post-share {
|
|
|
|
color: var(--success);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2023-12-28 23:59:43 -05:00
|
|
|
.post-action-feedback-svg {
|
2023-12-07 20:45:49 -05:00
|
|
|
position: absolute;
|
|
|
|
bottom: 0;
|
|
|
|
right: 0;
|
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
display: block;
|
2023-12-28 23:59:43 -05:00
|
|
|
stroke: var(--success);
|
2023-12-07 20:45:49 -05:00
|
|
|
opacity: 0;
|
|
|
|
transition: opacity 0.5s ease-in-out;
|
|
|
|
|
|
|
|
&.is-visible {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
path {
|
|
|
|
stroke: var(--success);
|
|
|
|
stroke-width: 4;
|
|
|
|
stroke-dasharray: 100;
|
|
|
|
stroke-dashoffset: 100;
|
|
|
|
animation: draw 1s forwards;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|