mardi 3 mars 2009

toolbars' backgrounds : stripes

have a lot of fun
Une image en fond des barres d'outils

take a (random) image, this one is transparent with black stripes / avec n'importe quelle image : celle-ci est transparente avec des rayures noires (in gimp patterns / motifs)
pin-stripes
to make your toolbars' background, choose first a background-color (not too black) !

in your userChrome.css
~/.mozilla/firefox/profile name/chrome/userChrome.css
(if it does not exist : create folder and file)


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

/* ====== IMAGE-BACKGROUND ====== */

toolbox
{
-moz-appearance: none !important;
background-color:#424242!important;
background-image:url("/data/images/gimp/pins-nasa.png")!important;
}
#toolbar-menubar, #nav-bar, #PersonalToolbar
{
-moz-appearance:none!important;
background:transparent!important;
border:none!important;
}

/* ===/// IMAGE-BACKGROUND ====== */


pinstriped toolbar
In the userChrome.css, your image-address can be local ( ~/images/blablabla.png )

that's all folks
#! CRUNCHBANG LINUX

1 commentaire:

Anonyme a dit…

Salut,

À vérifier si ça marche encore avec les versions plus récentes de Firefox.