info on burger menu with config_pages

This commit is contained in:
2026-12-01 15:58:36 +01:00
parent dc7f91e870
commit 985498581c
19 changed files with 254 additions and 6 deletions
File diff suppressed because one or more lines are too long
@@ -7,6 +7,7 @@
@use "../abstracts/variables" as *;
@use "../abstracts/fluid" as *;
@use "../abstracts/breakpoints" as *;
header[role="banner"]{
@@ -99,8 +100,11 @@ header[role="banner"]{
position:fixed;
top:$header-height-fluid;
left: 0;
width:100vw;
padding: 0 calc((100vw - $layout_width) / 2) 0 calc((100vw - $layout_width) / 2);
// border-box : les 100vw incluent le padding → contenu = $layout_width
// sur grand écran, pleine largeur (padding 0) en dessous.
box-sizing: border-box;
width: 100vw;
padding-inline: max(0px, calc((100vw - #{$layout_width}) / 2));
background-color: rgba(255,255,255,0.5);
backdrop-filter: blur(9px);
@@ -114,6 +118,31 @@ header[role="banner"]{
>div.inner-wrapper{
padding: 0 $layout_padding;
// Grid : nav + langue empilées à gauche, panneau config à droite
// (sur toute la hauteur) ; une seule colonne sur mobile, dans l'ordre
// du DOM (poids des blocs : nav, langue, config).
display: grid;
grid-template-columns: minmax(0, 1fr) minmax(16rem, 1fr);
// 3e ligne en 1fr : absorbe la hauteur du panneau config, sinon
// elle étirerait la ligne de la nav et décollerait la langue.
grid-template-rows: auto auto 1fr;
column-gap: $colsgap;
align-items: start;
>*{ grid-column: 1; }
>div#block-leshed-config-pages{
grid-column: 2;
grid-row: 1 / -1;
}
@media #{$mobile}{
grid-template-columns: minmax(0, 1fr);
grid-template-rows: none;
>div#block-leshed-config-pages{
grid-column: 1;
grid-row: auto;
}
}
}
nav#block-leshed-navigationprincipale{