[Résolu] Barre d'onglets sous barre d'adresse

Vos requêtes concernant Mozilla Firefox, le navigateur Gecko alternatif, ne trouvèrent point de réponses lorsque vous cherchâtes ? Toute l'équipe Geckozone est prête à vous aider.

Modérateurs : nico@nc, Mori, jpj, myahoo

billegate
Gecko
Messages : 61
Inscription : 26 mai 2008, 17:10

[Résolu] Barre d'onglets sous barre d'adresse

Message par billegate »

Bonjour
jusqu’à cette nouvelle version on pouvait choisir ou mettre la barre d'onglet. Maintenant cette possibilité n'existe plus et c'est désagréable.On allait dans about:config et on choisissait la fonction browser.tabs.ontop. J'ai toujours utilisé la barre d'onglet sous la barre d'adresse car c'est plus pratique. Des extensions pouvaient aussi le gérer mais elles ne fonctionnent plus. Que faire?
Dernière modification par billegate le 03 juin 2021, 18:30, modifié 1 fois.
billegate
Gecko
Messages : 61
Inscription : 26 mai 2008, 17:10

Re: Barre d'onglets sous barre d'adresse

Message par billegate »

Bon en cherchant sur le forum j'ai trouvé la solution:
modification du fichier css en ajoutant:
/* Source file https://github.com/MrOtherGuy/firefox-c ... bottom.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */

/* Modify to change window drag space width */
/*
Use tabs_on_bottom_menubar_on_top_patch.css if you
have menubar permanently enabled and want it on top
*/

/* IMPORTANT */
/*
Get window_control_placeholder_support.css
Window controls will be all wrong without it.
Additionally on Linux, you may need to get:
linux_gtk_window_control_patch.css
*/

:root{ --uc-titlebar-padding: 0px; }
@media (-moz-os-version: windows-win10){
:root[sizemode="maximized"][tabsintitlebar]{ --uc-titlebar-padding: 8px }
}
#toolbar-menubar[autohide="true"] > .titlebar-buttonbox-container,
#TabsToolbar > .titlebar-buttonbox-container{
position: absolute;
display: block;
top: var(--uc-titlebar-padding,0px);
right:0;
height: 40px;
}
/* Mac specific. You should set that font-smoothing pref to true if you are on any platform where window controls are on left */
@supports -moz-bool-pref("layout.css.osx-font-smoothing.enabled"){
:root{ --uc-titlebar-padding: 50px !important }
.titlebar-buttonbox-container{ left:0; right: unset !important; }
}

:root[uidensity="compact"] #TabsToolbar > .titlebar-buttonbox-container{ height: 32px }

#toolbar-menubar[inactive] > .titlebar-buttonbox-container{ opacity: 0 }

#navigator-toolbox{ padding-top: var(--uc-titlebar-padding,0px) !important; }

.titlebar-buttonbox-container > .titlebar-buttonbox{ height: 100%; }

#titlebar{
-moz-box-ordinal-group: 2;
-moz-appearance: none !important;
--tabs-navbar-shadow-size: 0px;
}

.titlebar-placeholder,
#TabsToolbar .titlebar-spacer{ display: none; }
/* Also hide the toolbox bottom border which isn't at bottom with this setup */
#navigator-toolbox::after{ display: none !important; }

@media (-moz-gtk-csd-close-button){ .titlebar-button{ -moz-box-orient: vertical } }

/* These exist only for compatibility with autohide-tabstoolbar.css */
toolbox#navigator-toolbox > toolbar#nav-bar.browser-toolbar{ animation: none; }
#navigator-toolbox:hover #TabsToolbar{ animation: slidein ease-out 48ms 1 }

/* Source file https://github.com/MrOtherGuy/firefox-c ... _patch.css made available under Mozilla Public License v. 2.0
See the above repository for updates as well as full license text. */

/* Menubar on top patch - use with tabs_on_bottom.css */
/* Only really useful if menubar is ALWAYS visible */

:root{ --uc-window-control-width: 0px !important }

#navigator-toolbox{ padding-top: calc(25px + var(--uc-titlebar-padding,0px)) !important }

#toolbar-menubar{
position: fixed;
display: flex;
top: var(--uc-titlebar-padding,0px);
height: 29px;
width: 100%;
overflow: hidden;
}

#toolbar-menubar > .titlebar-buttonbox-container{ height: 29px; order: 100; }

#toolbar-menubar > [flex]{ flex-grow: 100; }
#toolbar-menubar > spacer[flex]{
order: 99;
flex-grow: 20;
min-width: var(--uc-window-drag-space-width,20px);
}

#toolbar-menubar .titlebar-button{ padding: 2px 17px !important; }

#toolbar-menubar .toolbarbutton-1 { --toolbarbutton-inner-padding: 30px }

/* TABS: height */*|*:root { --tab-toolbar-navbar-overlap: 0px !important; --tab-min-height: 25px !important; /*adjust to set height or omit to use density*/
--tab-min-width: 80px !important; /*adjust to set width or omit to use default*/

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

.tab-background {
border-radius: 8px 8px 8px 8px !important; border-image: none !important;
}
.tab-line {
display: none;
}

.tab-close-button {
color: red!important;
}
Gloops
Tyrannosaurus Rex
Messages : 3813
Inscription : 22 mai 2006, 11:55

Re: [Résolu] Barre d'onglets sous barre d'adresse

Message par Gloops »

Bien vu, ça faisait quelques années que j'avais laissé tomber.
La fois d'après j'essaierai de mettre la barre personnelle au-dessus de la barre d'adresse.
L'avantage avec la balise CODE (le cinquième bouton au-dessus de la zone de rédaction), c'est que c'est plus facile à sélectionner, et du coup à copier.
Agent virtuel

Re: [Résolu] Barre d'onglets sous barre d'adresse

Message par Agent virtuel »

Bonsoir Gloops

Avez-vous parcouru viewtopic.php?f=5&t=146274
Gloops
Tyrannosaurus Rex
Messages : 3813
Inscription : 22 mai 2006, 11:55

Re: [Résolu] Barre d'onglets sous barre d'adresse

Message par Gloops »

Ah, oui, je me rappelle l'appel à le rendre plus visible :)
J'ai fait un marque-pages, pour pouvoir regarder plus tard, avec un peu de chance ça va marcher. Merci.
Répondre

Qui est en ligne ?

Utilisateurs parcourant ce forum : Semrush [Bot] et 2 invités