[Résolu] FF 71 et barre de menus
Publié : 04 déc. 2019, 09:50
Bonjour,
Afin de placer la barre d'onglets sous la barre d'adresse, j'utilise (comme bon nombre d'entre nous) un code CSS fourni par Freddy.
Hélas ... la V71 place la barre de menus sous la barre d'adresse, au lieu de la laisser sous la barre de titre

Voici le code fourni par Freddy :
Si une âme charitable championne du CSS pouvait m'aider (et aider la communauté) à retrouver la configuration suivante :
1/ Barre de titre
2/ Barre de menus
3/ Barre d'adresse
4/ barre d'onglets
Merci
!
Afin de placer la barre d'onglets sous la barre d'adresse, j'utilise (comme bon nombre d'entre nous) un code CSS fourni par Freddy.
Hélas ... la V71 place la barre de menus sous la barre d'adresse, au lieu de la laisser sous la barre de titre


Voici le code fourni par Freddy :
Code : Tout sélectionner
/******* à partir de Fx65 *******/
/*===================== barre MENU en haut =======================*/
/*!!!!! barre de titre désactivée !!!!!*/
/*** fenêtre maxi ***/
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar {
position: fixed !important;
top: 8px !important;
}
/*** fenêtre redimentionnable ***/
#main-window[tabsintitlebar][sizemode="normal"] #toolbar-menubar {
position: fixed !important;
top: 0 !important;
}
/*!!!!! barre de titre active !!!!!*/
#main-window:not([tabsintitlebar]) #toolbar-menubar {
position: fixed !important;
top: 0px !important;
}
/* ajuster position verticale barre d'outils */
#main-window:not([tabsintitlebar]) > #navigator-toolbox {
margin-top: 20px !important;
}
/*================== FIN barre menu en haut ====================*/
/*==================== barre ONGLET dessous ===================*/
#titlebar { -moz-box-ordinal-group: 3 !important;
}
/*** réduire l'espace avec barre perso ***/
/* règle en fenêtre maxi utile seulement pour windows */
#main-window[tabsintitlebar][sizemode="maximized"] > #navigator-toolbox > #titlebar {
-moz-appearance: -moz-window-titlebar !important;
}
:root[extradragspace][tabsintitlebar]:not([inFullscreen]) {
--space-above-tabbar: -10px !important;
}
/*** ajuster position verticale barre d'outils ***/
#main-window[tabsintitlebar][sizemode="maximized"] > #navigator-toolbox {
margin-top: 30px !important;
}
#main-window[tabsintitlebar][sizemode="normal"] > #navigator-toolbox {
margin-top: 20px;
}
/*** déplacer décalage de la barre d'onglets pour l'espace des boutons fenêtre ***/
/*sans thème (fenêtre redimentionnable)*/
#main-window[tabsintitlebar][sizemode="normal"]> #navigator-toolbox:not(:-moz-lwtheme) > #titlebar .titlebar-buttonbox-container{
display: none
}
/*avec thème*/
#main-window[tabsintitlebar][sizemode="normal"]> #navigator-toolbox:-moz-lwtheme > #titlebar .titlebar-buttonbox-container{
position: fixed !important;
top: 0; right: 0; margin-top: -15px;
}
/* (fenêtre maxi) */
#main-window[tabsintitlebar][sizemode="maximized"] > #navigator-toolbox > #titlebar .titlebar-buttonbox-container{
position: fixed !important; top: 0; right: 0; margin-top: -5px;
}
/*** ajuster position horizontale barre d'onglets ***/
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar[inactive="true"] + #TabsToolbar {
margin-right: -40px;
}
#main-window[tabsintitlebar][sizemode="normal"] #toolbar-menubar[inactive="true"] + #TabsToolbar {
margin-left: -40px; margin-right: -40px;
}
/*======================= FIN barre onglet dessous ==========================*/
1/ Barre de titre
2/ Barre de menus
3/ Barre d'adresse
4/ barre d'onglets
Merci
