@namespace url("http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"); /* only needed once */
/* URL bar gradient color from let to right and font size */
#nav-bar {
background-color: transparent !important;
background-image: linear-gradient(to right, rgba(255, 255, 255, .4), transparent) !important;
box-shadow: none !important;
font-size: 14px !important;
}
/* Hide add from url bar context menu */
.menuitem-iconic.context-menu-add-engine,
.menuseparator-add-engine {
display: none !important;
}
/* Reduce Button padding */
#back-button, #forward-button, #reload-button, #stop-button, #back-forward-dropmarker {padding: 0px !important}
/* Move the hamburger menu to the left */
#PanelUI-button {
order: -2 !important;
border-inline-start: none !important;
border-inline-end: none !important;
}
/* Hide item from hamburger menu */
#appMenu-print-button2 {
display: none !important;
}
/* Hide right click context navigation icons */
#context-navigation,
#context-sep-navigation {
display: none!important;
}
/* Force context menus colour to grey */
menupopup{
--menuitem-hover-background-color: #e0e0e6 !important;
--menu-background-color: #f9f9fb !important;
--menu-color: #15141a !important;
--menuitem-disabled-hover-background-color: rgba(224, 224, 230, 0.4) !important;
--menu-disabled-color: rgba(21, 20, 26, 0.4) !important;
--menu-border-color: #cfcfd8!important;
--menu-icon-opacity: 0.7 !important;
}
/* Hide email context menus */
#context-sendvideo,
#context-sendimage,
#pageAction-panel-emailLink {
display: none !important;
}
/* Hide print context menu entry */
#context-print-selection { display:none!important;}
/* Hide inspect acesability properties from context menu */
#context-inspect-a11y {
display: none !important
}
/* Hide set image as desktop background and its seperator from context menu */
#context-setDesktopBackground {display:none!important}
#context-sep-setbackground {display:none!important}
/* Hide Move tab and share in tab context menus */
#context_moveTabOptions,
#context_shareTabURL {
display: none!important;
}
/* Hide show all bookmarks (bottom entry), sidebar, toolbar, other, and open in new tabs from bookmarks menu */
#BMB_searchBookmarks,
#BMB_bookmarksShowAll,
#BMB_viewBookmarksSidebar,
#BMB_bookmarksToolbar,
#BMB_unsortedBookmarks,
#BMB_unsortedBookmarks+#BMB_mobileBookmarks+menuseparator,
#BMB_bookmarksPopup .openintabs-menuitem,
.bookmarks-actions-menuseparator {
display: none !important;
}
/* Set maximum width of bookmarks menu */
menu.bookmark-item,
menuitem.bookmark-item {
max-width: 17em !important;
}
/* Make Tab close and speaker icons bigger */
.tab-close-button {
padding: 3px !important;
margin: 0 !important;
height: 20px !important;
width: 20px !important;
}
.tab-icon-overlay {
transform: scale(1.5, 1.5);
}
/* Everything bellow is taken from https://www.userchrome.org/firefox-89-styling-proton-ui.html */
/*** Tighten up drop-down/context/popup menu spacing (8 Sep 2021) ***/
menupopup:not(.in-menulist) > menuitem,
menupopup:not(.in-menulist) > menu {
padding-block: 4px !important; /* reduce to 3px, 2px, 1px or 0px as needed */
min-height: unset !important; /* v92.0 - for padding below 4px */
}
:root {
--arrowpanel-menuitem-padding: 4px 8px !important;
}
/* Adjust tab corner shape, remove space below tabs to connect them to the URL bar again */
#tabbrowser-tabs {
--user-tab-rounding: 0px;
}
.tab-background {
border-radius: var(--user-tab-rounding) var(--user-tab-rounding) 0px 0px !important;
margin-block: 1px 0 !important;
}
/* Container color bar visibility */
.tabbrowser-tab[usercontextid] > .tab-stack > .tab-background > .tab-context-line {
margin: 0px max(calc(var(--user-tab-rounding) - 3px), 0px) !important;
}
/* Override Normal Density height to Compact Density height only for tabs */
#tabbrowser-tabs {
--tab-min-height: 29px !important;
}
/* Inactive tabs: Shadow style */
.tabbrowser-tab:not([selected=true]):not([multiselected=true]) .tab-background {
background-color: color-mix(in srgb, currentColor 8%, transparent);
}
/* Hide unified extensions button */
#unified-extensions-button, #unified-extensions-button > .toolbarbutton-icon{
width: 0px !important;
padding: 0px !important;
}