Cain Manor

Your Guide To All Things Cain™

userchrome.css settings for firefox

Should work on Camino and other browsers.

userchrome.css lives in…

Win­dows XP/2000
C:\Documents and Settings\[User Name]\Application Data\Mozilla\Firefox\Profiles\xxxxxxxx.default\chrome\
where xxxxxxxx is a ran­dom string of 8 characters.

Linux
~/.mozilla/firefox/xxxxxxxx.default/chrome/

Mac OS X
~/Library/Application Support/Firefox/Profiles/xxxxxxxx.default/chrome/

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

/*
* This file can be used to cus­tomize the look of Mozilla’s user inter­face
* You should con­sider using !impor­tant on rules which you want to
* over­ride default set­tings.
*/

/*
* Do not remove the @namespace line — it’s required for cor­rect func­tion­ing
*/
@namespace url(“http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul”); /* set default name­space to XUL */

/* Remove the Edit and Help menus
Id’s for all toplevel menus:
file-menu, edit-menu, view-menu, go-menu, bookmarks-menu, tools-menu, help­Menu */
#help­Menu, #edit-menu, #go-menu { dis­play: none !important; }

/* Remove Back but­ton when there’s noth­ing to go Back to */
#back-button[disabled=“true”] { dis­play: none; }

/* Remove For­ward but­ton when there’s noth­ing to go For­ward to */
#forward-button[disabled=“true”] { dis­play: none; }

/* Remove Stop but­ton when there’s noth­ing to Stop */
#stop-button[disabled=“true”] { dis­play: none; }

/* Remove Home but­ton */
#home-button { dis­play: none; }

/*Remove mag­ni­fy­ing glass but­ton from search box*/
.search-go-button-stack { dis­play: none !important; }

/* Elim­i­nate the throb­ber and its annoy­ing move­ment: */
#throbber-box { dis­play: none !important; }

/* Show key­word input box when adding a book­mark */
#key­wordRow { dis­play: –moz-grid-line !important; }

.tabbrowser-tabs {
–moz-box-orient: hor­i­zon­tal;
/* min-width: 50ex; */ /* >1680 pix­els screens */
/* min-width: 40ex; /* =1680,1600 pix­els screens */
/* min-width: 35ex; */ /* =1440 pix­els screens */
min-width: 30ex; /* <1440 pix­els screens */
/* min-width: 20ex; */ /* 1280 pix­els screens */
/* min-width: 17ex; */ /* this is almost the min­i­mum to go down to on small screens */
–moz-box-align: start;
}

Comments are closed.