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. 46
      firefox/.mozilla/firefox/userprofile/chrome/userChrome.css

@ -1,8 +1,12 @@
/*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;
}
@ -10,15 +14,16 @@
border: none !important;
}
toolbox {
margin-top: 0px !important;
margin-bottom: -34px !important;
height: 0 !important;
pointer-events: none;
}
vbox {pointer-events: all;}
vbox {
pointer-events: all;
}
#nav-bar {
z-index: 10;
@ -26,8 +31,37 @@ vbox {pointer-events: all;}
pointer-events: none;
transition: transform, ease-in-out 0.2s, opacity 0.2s ease-in-out !important;
}
/* 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 {
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;
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