Page 1 sur 1

Firefox 65 : onglets en position basse

Posté : ven. 22 févr. 2019 21:34
par Yvance77
Bonjour,

Le truc qui m'énerve prodigieusement dans Firefox, c'est que les onglets ne soient plus en position basse par defaut.

D'ailleurs, l'autisme des développeurs est sidérant, car ils doivent bien être au courant que la majorité des utilisateurs préfèrent cela , si j'en crois tous les forums parcourus ! :l

J'ai récupéré un fichier "userChrome.css" qui permet d'avoir cela sur la dernière version la 65. Ce que vous aviez avant, est obsolète désormais.

Voici le mien, et après redémarrage, vous aurez les onglets en bas.

Code : Tout sélectionner

/******* FIREFOX V65 *******/

/*===================== barre MENU en haut =======================*/

/*!!!!! barre de titre désactivée !!!!!*/
/*** fenêtre maxi ***/
#main-window[tabsintitlebar][sizemode="maximized"] #toolbar-menubar {
  position: fixed !important;
  top: 12px !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: 25px !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 ==========================*/
J'ai fait une recherche et je n'ai pas trouvé cette astuce, si elle faisait doublon, mettre à la benne ce post.

Re: Firefox 65 : onglets en position basse

Posté : sam. 23 févr. 2019 08:49
par arghlub
Salut Yvance,

Merci pour l'astuce 8-)

Il ne me semble pas qu'elle est déjà été donnée sur le forum.
En allant voir le topic de mintalo Firefox 57 (et suivants)+ modifs possibles sans extension + Sécurisation, et plus particulièrement : viewtopic.php?p=91434#p91434, on voit que les noms des classes et identifiants CSS ont changés depuis la version FF57.
Donc merci pour cette "mise à jour" de l'astuce ;)

Re: Firefox 65 : onglets en position basse

Posté : sam. 23 févr. 2019 22:29
par Yvance77
arghlub a écrit :
sam. 23 févr. 2019 08:49
on voit que les noms des classes et identifiants CSS ont changés depuis la version FF57.
Salut à toi,

Effectivement, le «userChrome.css» précédent est valide de la version 57 à la 64. Pour cette nouvelle version FF 65 QUANTUM, le fichier est désormais obsolète.

Autant ouvrir une nouvelle rubrique, afin que chacun contribue aux petites améliorations qui ne manqueront pas fleurir au fil de l'eau.

A peluche

Re: Firefox 65 : onglets en position basse

Posté : dim. 24 févr. 2019 09:46
par arghlub
Bon alors, on m'a soufflé à l'oreille que j'avais loupé le topic de L5d : Comment mettre les onglets sous la barre d'adresse dans Firefox 65

Je ne vais supprimer aucun des 2 sujets, ni même les fusionner (car j'ai peur que ça devienne "brouillon").
Je me contente de mettre des liens d'un sujet vers l'autre, par contre mieux vaut continuer sur ce sujet (je vais verrouiller l'autre).
;)

Re: Firefox 65 : onglets en position basse

Posté : sam. 14 déc. 2019 13:57
par Tonher
Bonjour,

avec la maj vers Firefox 71, les onglets sont de nouveaux en haut , grrr :? ...

J'ai trouvé la solution ici:
https://forum.pcastuces.com/sujet.asp?p ... ID=6094849

le code:

Code : Tout sélectionner

/* TABS: on bottom */
#navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) {-moz-box-ordinal-group:10}
#TabsToolbar {-moz-box-ordinal-group:1000!important}

#TabsToolbar {
position: absolute !important;
bottom: 0 !important;
width: 100vw !important;
}

#tabbrowser-tabs {
width: 100vw !important;
}
#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox {padding-bottom: var(--tab-min-height) !important;}

/* TABS: height */
:root {
--tab-toolbar-navbar-overlap: 0px !important;
--tab-min-height: 33px !important; /* adjust to suit your needs */
}
:root #tabbrowser-tabs {
--tab-min-height: 33px !important; /* needs to be the same as above under :root */
--tab-min-width: 80px !important;
}

#TabsToolbar {
height: var(--tab-min-height) !important;
margin-bottom: 1px !important;
box-shadow: ThreeDShadow 0 -1px inset, -moz-dialog 0 1px !important;
background-color: var(--toolbar-bgcolor) !important;
}

#tabbrowser-tabs,
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
.tabbrowser-tabs[positionpinnedtabs] > .tabbrowser-tab[pinned] {
min-height: var(--tab-min-height) !important;
max-height: var(--tab-min-height) !important;
}

/* drag space */
.titlebar-spacer[type="pre-tabs"],
.titlebar-spacer[type="post-tabs"] {
width: 40px;
}

/* Override vertical shifts when moving a tab */
#navigator-toolbox[movingtab] > #titlebar > #TabsToolbar {
padding-bottom: unset !important;
}
#navigator-toolbox[movingtab] #tabbrowser-tabs {
padding-bottom: unset !important;
margin-bottom: unset !important;
}
#navigator-toolbox[movingtab] > #nav-bar {
margin-top: unset !important;
}

/* hide windows-controls */
#TabsToolbar #window-controls {display:none!important;}

/* move caption buttons to right of Tab bar */
#main-window[tabsintitlebar]:not([inFullscreen="true"]) #toolbar-menubar[autohide="true"] ~ #TabsToolbar .titlebar-buttonbox-container {
position: fixed !important;
right: 0 !important;
top: calc(6px + var(--tab-min-height)) !important;
display: block !important;
visibility: visible !important;
}
#toolbar-menubar[autohide="true"] ~ #TabsToolbar {padding-right: 100px !important;}
/* TABS on bottom */
#navigator-toolbox toolbar:not(#nav-bar):not(#toolbar-menubar) {
-moz-box-ordinal-group: 10;
}
#TabsToolbar {
-moz-box-ordinal-group: 1000 !important;
}

#TabsToolbar {
display: block !important;
position: absolute !important;
bottom: 0 !important;
width: 100vw !important;
}

#main-window:not([chromehidden*="toolbar"]) #navigator-toolbox {
padding-bottom: var(--tab-min-height) !important;
}

#tabbrowser-tabs {
width: 100vw !important;
}

#TabsToolbar #window-controls {
display: none !important;
}

Re: Firefox 65 : onglets en position basse

Posté : sam. 14 déc. 2019 13:59
par roromint
euh pas encore une update pour firefox 70 ?

Re: Firefox 65 : onglets en position basse

Posté : sam. 14 déc. 2019 14:30
par Tonher
Tu veux dire que tu n'as pas encore la maj vers la 71? ni celle de la 70?

je suis sous mate 19.2

Image