drupal-quartiersdedemain/web/modules/custom/q2d_mod/assets/css/carte-interactive-qdd.scss

79 lines
1.5 KiB
SCSS
Raw Normal View History

2024-10-01 21:57:47 +02:00
@font-face {
font-family: 'gilroy-semibold';
src: url('fonts/Gilroy/gilroy-semibold-webfont.woff') format('woff');
}
#sites-map-container {
2024-10-04 14:21:09 +02:00
background-color: #cecfcc;
2024-10-01 21:57:47 +02:00
text-align: center;
2024-10-04 15:02:19 +02:00
position: relative;
2024-10-08 12:49:39 +02:00
height: 600px;
width: auto;
2024-10-01 21:57:47 +02:00
}
/* #sites-map-container .circle {
fill: black;
stroke: white;
stroke-width: 0.7;
} */
2024-10-08 11:47:01 +02:00
#sites-map-container circle.circle:hover{
// fill: #f7002b!important;
}
2024-10-01 21:57:47 +02:00
/* Changer la couleur au survol (hover) */
#sites-map-container .site-link:hover{
cursor: pointer;
}
2024-10-07 14:55:03 +02:00
2024-10-01 21:57:47 +02:00
/* Styles du popup (caché par défaut) */
#sites-map-container #popup {
font-family: 'gilroy-semibold';
display: none;
2024-10-04 15:02:19 +02:00
position: absolute;
// left: 50%;
// top: -20%;
// transform: translate(-50%, -50%);
2024-10-01 21:57:47 +02:00
z-index: 1000;
2024-10-07 14:55:03 +02:00
text-align: left;
padding-left: 1rem;
2024-10-01 21:57:47 +02:00
}
2024-10-07 14:55:03 +02:00
2024-10-01 21:57:47 +02:00
#sites-map-container strong{
color: #f7002b;
font-family: 'gilroy-semibold';
}
#sites-map-container a{
2024-10-04 14:49:05 +02:00
display: none;
/* display: inline-flex; */
2024-10-01 21:57:47 +02:00
align-items: center;
color: white;
background: black;
text-transform: uppercase;
font-size: 0.8rem;
padding-left: 0.5rem;
text-decoration: none;
margin-top: 0.7rem;
height: 1.3rem;
}
#sites-map-container a:after{
display: inline-flex;
content: url("../img/noun-arrow-to-right.svg");
padding-right: 0.2rem;
padding-left: 0.2rem;
}
2024-10-04 15:02:19 +02:00
#popup-content{
width: 300px;
}
2024-10-07 14:55:03 +02:00
// .popup {
// transition: opacity 0.3s ease, transform 0.3s ease;
// opacity: 0;
// transform: translateY(10px);
// }
// .popup.show {
// opacity: 1;
// transform: translateY(0);
// }