Skip to content

Instantly share code, notes, and snippets.

@eriwen
Created November 6, 2009 15:52
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save eriwen/228058 to your computer and use it in GitHub Desktop.
Save eriwen/228058 to your computer and use it in GitHub Desktop.
userChrome.css
/* Do not remove the @namespace line -- it's required for correct functioning */
@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul");
/* Add a keyword when adding a bookmark */
#keywordRow { display: -moz-grid-line !important; }
/* Remove extra padding from the Navigation Bar */
.toolbarbutton-1, .toolbarbutton-menubutton-button {
padding: 2px 3px !important;
}
.toolbarbutton-1[checked="true"], .toolbarbutton-1[open="true"],
.toolbarbutton-menubutton-button[checked="true"],
.toolbarbutton-menubutton-button[open="true"] {
padding: 4px 1px 1px 4px !important;
}
/* Remove the Edit and Help and History menus
Id's for all toplevel menus:
file-menu, edit-menu, view-menu, go-menu, bookmarks-menu, tools-menu, helpMenu */
#file-menu, #helpMenu, #go-menu, #bookmarksMenu { display: none !important; }
#unified-back-forward-button[disabled="true"] { display: none !important; }
/* Remove Back button when there's nothing to go Back to */
#back-button[disabled="true"] { display: none; }
/* Remove Forward button when there's nothing to go Forward to */
#forward-button[disabled="true"] { display: none; }
/* Remove Stop button when there's nothing to Stop */
#stop-button[disabled="true"] { display: none; }
/* Remove Home button */
#home-button { display: none !important; }
#go-button { display: none !important; }
/*Remove magnifying glass button from search box*/
.search-go-button { display: none !important; }
#urlbar-search-splitter { display: none !important; }
.autocomplete-result-popupset { opacity: 0.6 !important; }
/* Eliminate the throbber and its annoying movement: */
#throbber-box { display: none !important; }
/* Remove extra padding from the Navigation Bar */
.toolbarbutton-1, .toolbarbutton-menubutton-button {
padding: 0px !important;
margin: 0px !important;
}
#status-bar { padding: 0px !important; }
/* Make inactive tabs hardly visible */
#content tab:not([selected="true"]) { -moz-opacity: 0.6 !important; }
.bookmark-item > .toolbarbutton-icon {
margin: 0px !important;
padding: 0px !important;
}
/* Add a keyword when adding a bookmark */
#editBMPanel_keywordRow {
visibility: visible;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment