libre-charge-map/styles/_mobile.scss

104 lines
1.5 KiB
SCSS
Raw Permalink Normal View History

2025-04-19 23:46:37 +02:00
/* Style pour mobile ---------------------------------- */
@media (max-width: 700px) {
2025-04-19 23:46:37 +02:00
header h1 {
width: 100vw;
font-size: 1.5rem;
}
2025-05-01 12:38:48 +02:00
.irve-details {
.edit-button,
.panoramax-link {
right: -9rem;
top: -5rem;
}
}
#searchButton {
margin-top: 0rem;
}
2025-04-28 11:20:11 +02:00
#searchResults {
display: inline-block;
position: relative;
2025-04-28 16:17:13 +02:00
margin-top: -7.7vh;
width: 87vw;
2025-04-28 11:20:11 +02:00
height: 67%;
2025-04-28 16:17:13 +02:00
left: -4vw;
2025-04-28 11:20:11 +02:00
border-top: 1px;
}
2025-04-19 23:46:37 +02:00
#bars_power {
2025-04-20 00:32:45 +02:00
position: absolute;
2025-04-28 10:08:31 +02:00
top: 0;
width: 120%;
2025-04-19 23:46:37 +02:00
}
#toggleSidePanel {
position: fixed;
top: 0.6rem;
right: 0.6rem;
z-index: 10;
background: #a9a9a9;
padding: 0.2rem 1rem;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, .2);
border: 0;
font-size: 2rem;
}
body {
/* border: solid 3px blue; */
}
.side-panel-open .side-panel {
position: static;
transform: none;
box-shadow: 0 -2px 5px rgba(0, 0, 0, 0.2);
2025-04-20 00:32:45 +02:00
margin: 0;
2025-04-19 23:46:37 +02:00
width: 100vw;
}
.side-panel.active {
transform: none;
}
.side-panel-open #map,
#map {
margin: 0;
left: 0;
top: 0;
width: 100vw;
height: 90vh;
height: 55vh;
}
header {
position: static;
}
.filters-box {
position: static;
}
.close-results-button {
border: 0;
border-radius: 3px;
background: var(--button-border);
margin: 0;
2025-04-28 11:20:11 +02:00
2025-04-19 23:46:37 +02:00
position: relative;
2025-04-28 16:17:13 +02:00
top: -6.7vh;
2025-04-28 11:20:11 +02:00
left: -1rem;
height: 2.9rem;
z-index: 10;
2025-04-19 23:46:37 +02:00
}
2025-04-20 00:32:45 +02:00
2025-04-28 11:20:11 +02:00
#count_features_fond {
position: static;
}
2025-04-19 23:46:37 +02:00
}