t2-mapper/src/components/CopyCoordinatesButton.module.css

37 lines
651 B
CSS
Raw Normal View History

2026-03-01 09:40:17 -08:00
.Root {
composes: IconButton from "./InspectorControls.module.css";
composes: LabelledButton from "./InspectorControls.module.css";
}
.Root[data-copied="true"] {
background: rgba(0, 117, 213, 0.9);
border-color: rgba(255, 255, 255, 0.4);
}
.ClipboardCheck {
display: none;
opacity: 1;
}
.Root[data-copied="true"] .ClipboardCheck {
display: block;
animation: showClipboardCheck 220ms linear infinite;
}
.Root[data-copied="true"] .MapPin {
display: none;
}
.ButtonLabel {
composes: ButtonLabel from "./InspectorControls.module.css";
}
@keyframes showClipboardCheck {
0% {
opacity: 1;
}
100% {
opacity: 0.2;
}
}