Beautified FF's userChrome.css and hidden undesirable context menu items

master
Meliurwen 3 years ago
parent 7c76823e8b
commit 86777298d8
Signed by: meliurwen
GPG Key ID: 818A8B35E9F1CE10
  1. 70
      firefox/.mozilla/firefox/userprofile/chrome/userChrome.css

@ -1,33 +1,67 @@
/*AGENT_SHEET*/
#urlbar,
#navigator-toolbox #searchbar {
border: none !important;
}
#urlbar, #navigator-toolbox #searchbar {border: none !important;} .titlebar-buttonbox-container,
.titlebar-spacer {
.titlebar-buttonbox-container, .titlebar-spacer { display: none !important;
display: none !important;
} }
#navigator-toolbox { #navigator-toolbox {
border: none !important; border: none !important;
} }
toolbox { toolbox {
margin-top: 0px !important; margin-top: 0px !important;
margin-bottom: -34px !important; margin-bottom: -34px !important;
height: 0 !important; height: 0 !important;
pointer-events: none; pointer-events: none;
} }
vbox {pointer-events: all;}
vbox {
pointer-events: all;
}
#nav-bar { #nav-bar {
z-index: 10; z-index: 10;
opacity: 0; opacity: 0;
pointer-events: none; pointer-events: none;
transition: transform, ease-in-out 0.2s, opacity 0.2s ease-in-out !important; transition: transform, ease-in-out 0.2s, opacity 0.2s ease-in-out !important;
} }
/* All the states in which the URL bar is visible */ /* All the states in which the URL bar is visible */
vbox:hover ~ #nav-bar, toolbox:focus-within > #nav-bar, #nav-bar:hover, #mainPopupSet:hover ~ box #nav-bar, #mainPopupSet:focus-within ~ box #nav-bar {
opacity: 1; vbox:hover~#nav-bar,
pointer-events: all; toolbox:focus-within>#nav-bar,
#nav-bar:hover,
#mainPopupSet:hover~box #nav-bar,
#mainPopupSet:focus-within~box #nav-bar {
opacity: 1;
pointer-events: all;
} }
/* Hide undesirable default context menu items */
/* Source: https://github.com/stonecrusher/simpleMenuWizard */
#context-sendaudio, /* Email Audio */
#context-sendvideo, /* Email Video */
#context-sendimage, /* Email Image */
#context-sendpagetodevice,
#context-sep-sendpagetodevice,
#context-sendlinktodevice,
#context-sep-sendlinktodevice,
#context_sendTabToDevice,
#context_sendTabToDevice_separator,
#context-print-selection, /* Print Selection */
#context-searchselect, /* Search [Google] for "[selected]" */
#context-inspect-a11y, /* Inspect Accessibility Properties */
#context-bookmarklink, /* Bookmark Link */
#pageAction-panel-sendToDevice,
#pageAction-panel-emailLink, /* Email Link */
#leave_this_dummy_here
{ display: none !important; }

Loading…
Cancel
Save