mirror of
https://github.com/discourse/discourse.git
synced 2024-12-01 04:13:44 +08:00
41 lines
665 B
SCSS
41 lines
665 B
SCSS
@keyframes slidein {
|
|
0% {
|
|
transform: translateX(0px);
|
|
}
|
|
50% {
|
|
transform: translateX(5px);
|
|
}
|
|
100% {
|
|
transform: translateX(0px);
|
|
}
|
|
}
|
|
|
|
.popup-tip {
|
|
@include form-item-sizing;
|
|
position: absolute;
|
|
left: 0;
|
|
z-index: z("composer", "dropdown") + 1;
|
|
cursor: pointer;
|
|
@media (prefers-reduced-motion: no-preference) {
|
|
animation: 0.15s slidein 3;
|
|
}
|
|
|
|
&.bad {
|
|
background: var(--danger-medium);
|
|
color: white;
|
|
box-shadow: var(--shadow-dropdown);
|
|
}
|
|
&.hide,
|
|
&.good {
|
|
display: none;
|
|
}
|
|
.d-icon {
|
|
color: var(--primary);
|
|
opacity: 0.5;
|
|
font-size: var(--font-0);
|
|
&:hover {
|
|
opacity: 1;
|
|
}
|
|
}
|
|
}
|