discourse/app/assets/stylesheets/common/input_tip.scss

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

41 lines
665 B
SCSS
Raw Normal View History

@keyframes slidein {
0% {
transform: translateX(0px);
}
50% {
transform: translateX(5px);
}
100% {
transform: translateX(0px);
}
}
2013-09-06 03:37:07 +08:00
.popup-tip {
@include form-item-sizing;
2013-09-06 03:37:07 +08:00
position: absolute;
left: 0;
z-index: z("composer", "dropdown") + 1;
cursor: pointer;
@media (prefers-reduced-motion: no-preference) {
animation: 0.15s slidein 3;
}
2013-09-06 03:37:07 +08:00
&.bad {
background: var(--danger-medium);
2013-09-06 03:37:07 +08:00
color: white;
box-shadow: var(--shadow-dropdown);
2013-09-06 03:37:07 +08:00
}
&.hide,
&.good {
2013-09-06 03:37:07 +08:00
display: none;
}
.d-icon {
color: var(--primary);
2013-09-06 03:37:07 +08:00
opacity: 0.5;
font-size: var(--font-0);
&:hover {
opacity: 1;
}
2013-09-06 03:37:07 +08:00
}
}