Page 1 sur 1

Userchrome.css avec Firefox 66

Publié : 27 mars 2019, 10:01
par Akawa
Bonjour,

J'utilise un fichier Userchrome.css afin d'ajouter une deuxième barre personnelle. J'ai réussi à trouver ce lien qui donne les explications si cela intéresse quelqu’un: https://www.reddit.com/r/firefox/commen ... efox_5758/

Apparemment le code ne fonctionne plus avec Firefox 66. Étant donné que je suis très nul en code, est-ce que quelqu’un pourrait jeter un coup d 'œil svp?

Voici le code, et merci par avance pour l'aide!!

Code : Tout sélectionner

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/*
 * Edit this file and copy it as userChrome.css into your
 * profile-directory/chrome/
 */

/*
 * This file can be used to customize the look of Mozilla's user interface
 * You should consider using !important on rules which you want to
 * override default settings.
 */

/*
 * Do not remove the @namespace line -- it's required for correct functioning
 */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* set default namespace to XUL */

* {
   font-size: 10pt !important
 }
 
 /* Multi-Row Bookmarks Toolbar */
#PersonalToolbar {
  /* Provide room for up to 4 rows at 26px */
  max-height: 156px !important;
}

#PersonalToolbar #toolbarbutton.bookmark-item {
  max-width: 120px !important;
}

#PlacesToolbarItems > box {
  display: inline-block !important;
}
#PersonalToolbar #PlacesToolbarItems {
 /*  Override hiding */
  overflow-x: visible !important;
  overflow-y: visible !important;
 /*  Add a little cushion */
  padding-bottom: 1px;
}
#PersonalToolbar #PlacesToolbarItems .bookmark-item {
/*   Reduce padding on individual bookmarks to fit rows closer together */
  padding-top: 0.1px !important;
  padding-bottom: 0.1px !important;

Re: Userchrome.css avec Firefox 66

Publié : 27 mars 2019, 12:13
par pepersan