demarches-normaliennes/app/assets/stylesheets/carte.scss

57 lines
773 B
SCSS
Raw Normal View History

2024-11-05 19:02:31 +01:00
@import 'colors';
2021-01-28 15:27:29 +01:00
.areas {
margin-bottom: 10px;
2021-01-28 15:27:29 +01:00
input {
margin-top: 5px;
}
2021-01-28 15:27:29 +01:00
}
2024-09-20 18:22:49 +02:00
.ds-ctrl button {
color: $dark-grey;
&.on,
&:hover {
background-color: rgba(0, 0, 0, 0.05);
}
}
2024-09-20 18:22:49 +02:00
.react-aria-popover {
&[data-placement='top'] {
--origin: translateY(8px);
}
2024-09-20 18:22:49 +02:00
&[data-placement='bottom'] {
--origin: translateY(-8px);
}
2024-09-20 18:22:49 +02:00
&[data-placement='right'] {
--origin: translateX(-8px);
}
2024-09-20 18:22:49 +02:00
&[data-placement='left'] {
--origin: translateX(8px);
}
2024-09-20 18:22:49 +02:00
&[data-entering] {
animation: popover-slide 200ms;
}
2024-09-20 18:22:49 +02:00
&[data-exiting] {
animation: popover-slide 200ms reverse ease-in;
}
}
2024-09-20 18:22:49 +02:00
@keyframes popover-slide {
from {
transform: var(--origin);
opacity: 0;
}
2024-09-20 18:22:49 +02:00
to {
transform: translateY(0);
opacity: 1;
}
}