Seite 2 von 2

Re: Persona für Firefox

Verfasst: Fr 10 Jun, 2011 01:00
von Todestoast
@ achtkraut und alle Linuxuser:

folgenden Code in eine Datei kopieren und unter dem Namen userChrome.css abspeichern:

Code: Alles auswählen

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


/*
 * Some possible accessibility enhancements:
 */
/*
 * Make all the default font sizes 20 pt:
 *
 * * {
 *   font-size: 20pt !important
 * }
 */
/*
 * Make menu items in particular 15 pt instead of the default size:
 *
 * menupopup > * {
 *   font-size: 15pt !important
 * }
 */
/*
 * Give the Location (URL) Bar a fixed-width font
 *
 * #urlbar {
 *    font-family: monospace !important;
 * }
 */

/*
 * For more examples see http://www.mozilla.org/unix/customizing.html
 */

    menubar > menu {
    color: white !important;
    }

    menubar > menu[_moz-menuactive="true"] {
    color: white !important;
    }

    menubar > menu[_moz-menuactive="true"][open="true"] {
    color: white !important;
    } 
Dann in folgenden Pfad kopieren:
.mozilla/firefox/xxxxx.default/chrome/
xxxxx.default ist dabei durch den eigenen Pfad zu ersetzen
Bei mir heißt er Beispielsweise
.mozilla/firefox/ap03xiw9.default/chrome

Über den Terminal geht das ganz einfach per

cp userChrome.css .mozilla/firefox/xxxxx.default/chrome/

Und schon hat man weiße Schrift!
ACHTUNG: Die Originale userChrome.css wird dabei überschrieben!
Wer also sein persona jemals wieder ändern will, der sollte die Originale userChrome.css sichern:
mkdir .mozilla/firefox/xxxxx.default/chrome/sicherungen/
cp .mozilla/firefox/xxxxx.default/chrome/userChrome.css .mozilla/firefox/xxxxx.default/chrome/sicherungen/

Lg
Todestoast

Re: Persona für Firefox

Verfasst: Fr 10 Jun, 2011 09:12
von gelal
nutze es jetzt auch für mein Firefox, super Sache!