Déplacer la barre d'outils firefox 71 avec le fichier ''Chrome.ccs''

Résolu/Fermé
cpmr Messages postés 1064 Date d'inscription lundi 22 décembre 2008 Statut Membre Dernière intervention 14 décembre 2023 - 13 déc. 2019 à 10:07
pistouri Messages postés 18326 Date d'inscription dimanche 14 juin 2015 Statut Contributeur Dernière intervention 16 avril 2024 - 13 déc. 2019 à 15:53
Bonjour.
J'ai bien remis à jour le fichier chrome.ccs de " pistouri " et je le remercie, mais je n'arrive pas à placer la barre d'outils de Firefox en haut de l'écran au dessus de la barre d'adresse internet.
J'ai essayé de modifier les "px" mais ça n'a rien donné de valable, donc mes connaissances sur cette programmation est insuffisante voir nul.
Que faut-il modifier ou ajouter dans le fichier Chrome pour placer la barre de menu en haut de l'écran !?
Merci par avance pour vos aide.
A voir également:

3 réponses

pistouri Messages postés 18326 Date d'inscription dimanche 14 juin 2015 Statut Contributeur Dernière intervention 16 avril 2024 8 354
13 déc. 2019 à 12:23
Bonjour,

Je n'ai pas la solution hormis déplacer la barre onglets dans le fichier UserChrome.

C 'était ça.

Regarde sur cette page
Peut-être que....

A+
0
cpmr Messages postés 1064 Date d'inscription lundi 22 décembre 2008 Statut Membre Dernière intervention 14 décembre 2023 423
Modifié le 13 déc. 2019 à 15:30
Re
Sur la page que tu m'a donner il y a la réponse à ma demande, le fichier Chrome fonctionne et le menu est bien en haut et les onglets en bas.
La solution viens de "pommy28 " que je remercie!!

Pour ton info voila le fichier:


@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */

/* 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;
}

/////////////////////////////////
Encore merci pour ton aide!! "pistouri "
0
pistouri Messages postés 18326 Date d'inscription dimanche 14 juin 2015 Statut Contributeur Dernière intervention 16 avril 2024 8 354
13 déc. 2019 à 15:53
Merci à '' pommy28 ''
Je n'avais pas testé les lignes de ce UserChrome car j'ai mon propre fichier'' Chrome'' avec par exemple une croix rouge pour fermer les onglets

Content pour toi.
Je vais l'ajouter sur l'autre post si un intervenant tombe dessus.
N 'oublies pas de mettre en résolu ce post.

Bonne journée.
0