libre-charge-map/styles/_mobile.scss

98 lines
1.4 KiB
SCSS
Raw 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;
}
#searchButton {
margin-top: 0rem;
}
2025-04-28 11:20:11 +02:00
#searchResults {
display: inline-block;
position: relative;
margin-top: -0.9rem;
margin-left: -1.6rem;
width: 90.4%;
height: 67%;
left: -28px;
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 11:20:11 +02:00
top: -26.8vh;
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
}