public
Last active

userChrome.css

  • Download Gist
userChrome.css
CSS
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67
/* 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;
}

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.