Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* hide the search bar magnifying glass */
- #identity-box[pageproxystate=invalid] > .identity-box-button,
- .searchbar-search-button{ display: none }
- /* hide the search with in urlbar */
- #urlbar-input::placeholder{ color: transparent }
- /* hide firefox logo in new tab */
- .tabbrowser-tab .tab-icon-image {
- display: none !important;
- }
- /* remove search with in urlbar */
- .urlbarView-title-separator, .urlbarView-action {display:none !important;}
- /* HIDE URLBAR GO BUTTON */
- #urlbar-container :-moz-any(.urlbar-go-button, #urlbar-go-button){
- visibility: collapse !important;
- }
- /* hide new tab text in new tab */
- .tabbrowser-tab[label="New Tab"] label {
- display: none !important;
- }
- /* removes the glowy thing on the url bar */
- #nav-bar{ --toolbar-field-focus-border-color: transparent }
- /* remove tracking protection icon url bar */
- #tracking-protection-icon-container {
- display: none;
- }
- /* removes padlock */
- #identity-box:not(:hover) {
- width: 1px !important;
- min-width: 1px !important;
- padding-left: 0px !important;
- padding-right: 0px !important;
- transition: all 200ms ease-in-out !important;
- opacity: 0 !important;
- }
- #identity-box:hover {
- width: calc(var(--urlbar-min-height) - 2px /* border */ - 2 * var(--urlbar-container-padding)) !important;
- min-width: unset !important;
- transition: all 200ms ease-in-out !important;
- opacity: 1 !important;
- }
- /* removes reader view */
- #reader-mode-button{ display: none }
- /* remove containers in urlbar */
- #pageAction-urlbar-_testpilot-containers {display: none !important}
- /* remove url bar star bookmark thingy */
- #star-button { display: none !important; }
- /* remove the links from the bottom left */
- #statuspanel #statuspanel-label { display: none !important; }
- /* slighly round off the eddges of the url bar */
- #urlbar, .searchbar-textbox{
- border-radius: 0.6em !important;
- }
- /*Icons and their background*/
- .titlebar-min {
- list-style-image: url(chrome://browser/skin/window-controls/minimize-highcontrast.svg) !important;
- color: White !important;
- /* background: rgba(222,222,222,1) !important; */
- }
- .titlebar-max {
- list-style-image: url(chrome://browser/skin/window-controls/maximize-highcontrast.svg) !important;
- color: White !important;
- }
- .titlebar-restore {
- list-style-image: url(chrome://browser/skin/window-controls/restore-highcontrast.svg) !important;
- color: White !important;
- }
- .titlebar-close {
- list-style-image: url(chrome://browser/skin/window-controls/close-highcontrast.svg) !important;
- color: White !important;
- }
- /* hide extensions but its still clickable */
- #unified-extensions-button{
- width: 3px;
- padding-inline: 0 !important
- }
- #unified-extensions-button > .toolbarbutton-icon {
- width: 0 !important;
- }
- /* remove search bar highlight */
- @-moz-document url(chrome://browser/content/browser.xhtml) {
- #urlbar-container {
- --urlbar-container-height: var(--urlbar-height);
- }
- #urlbar {
- --urlbar-height: 32px !important;
- --urlbar-toolbar-height: 32px !important;
- }
- #urlbar,
- #urlbar:hover,
- #urlbar[focused="true"] {
- border: 1px solid var(--lwt-toolbar-field-border-color, rgba(0, 0, 0, 0.1)) !important;
- background-color: var(--lwt-toolbar-field-background-color, rgba(78, 48, 26, 0.25)) !important;
- box-shadow: none !important;
- }
- #urlbar-background,
- #urlbar-input-container {
- border: none !important;
- background-color: transparent !important;
- box-shadow: none !important;
- backdrop-filter: blur(2px);
- }
- #urlbar[open] > .urlbarView {
- background: var(--lwt-toolbar-field-background-color, rgba(78, 48, 26, 0.25)) !important;
- border: 1px solid var(--lwt-toolbar-field-border-color, rgba(0, 0, 0, 0.1)) !important;
- border-top: none !important;
- box-shadow: none !important;
- }
- }
- /* make tabs bit more round */
- .tab-background, .tab-loading-burst { border: none !important; border-radius: 10px !important; }
- /* Adjust transparency of background tabs */
- @-moz-document url(chrome://browser/content/browser.xhtml) {
- /* Target background tabs */
- .tab-background:not([selected="true"]) {
- background-color: rgba(78, 48, 26, 0.25) !important; /* Adjust the opacity (0.85 in this case) */
- backdrop-filter: blur(2px); /* Optional: adds a slight blur effect */
- }
- /* make active tab darker */
- .tabbrowser-tab[selected="true"] .tab-background {
- background-color: rgba(78, 48, 26, 0.25) !important;
- }
- /* remove the folder icon thing on the toolbar */
- #alltabs-button { display: none !important; }
- /* change new tab color */
- #tabs-newtab-button, #TabsToolbar #new-tab-button {fill: white !important;}
- /* userChrome.css */
- /* Classic layout that 86.4 percent of Firefox users actually want, with menu bar at the top, address bar, then bookmarks, then tab bar on bottom. Modified from configs by u/ollietup https://www.reddit.com/r/FirefoxCSS/comments/11odffm/psa_incoming_changes_to_default_element/ Also thanks to MrOtherGuy to get the menu bar right, and Reddit user u/iamsonixx for the toolbar and tab height adjustments! */
- #navigator-toolbox #nav-bar {
- order: 1 !important;
- }
- #navigator-toolbox #PersonalToolbar {
- order: 2 !important;
- }
- #tab-notification-deck {
- order: 3 !important;
- }
- #titlebar{
- order: 4 !important;
- }
- /* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom_menubar_on_top_patch.css made available under Mozilla Public License v. 2.0
- See the above repository for updates as well as full license text. */
- /* Menubar on top patch - use with tabs_on_bottom.css */
- /* Only really useful if menubar is ALWAYS visible */
- :root{ --uc-window-control-width: 0px !important }
- #navigator-toolbox{ padding-top: none !important }
- #toolbar-menubar{
- position: fixed;
- display: flex;
- top: var(--uc-titlebar-padding,0px);
- height: 46px;
- width: 100%;
- overflow: hidden;
- }
- #toolbar-menubar > .titlebar-buttonbox-container{ height: 25px; order: 100; }
- #toolbar-menubar > [flex]{ flex-grow: 100; }
- #toolbar-menubar > spacer[flex]{
- order: 99;
- flex-grow: 1;
- min-width: var(--uc-window-drag-space-width,20px);
- }
- #toolbar-menubar .titlebar-button{ padding: 2px 17px !important; }
- #toolbar-menubar .toolbarbutton-1 { --toolbarbutton-inner-padding: 3px }
- /* SET TOOLBARS HEIGHT */
- /* Thanks to Reddit user u/iamsonixx for the toolbar and tab height adjustments! */
- #TabsToolbar,
- #nav-bar,
- #PersonalToolbar{
- height: 43px !important;
- margin: 0px !important;
- padding: 0px !important;}
- /* SET TABS HEIGHT */
- :root{
- --tab-min-height: 34px !important;
- --tab-max-height: 34px !important;}
- /* move control buttons */
- #TabsToolbar .titlebar-buttonbox-container {
- position: fixed;
- right: 0;
- top: 0;
- z-index: 3;
- }
- /* move hmburuger buttons */
- #PanelUI-button {
- position: fixed;
- right: 95px;
- top: 5.5px;
- z-index: 2;
- }
- /* adjust url bar width */
- #urlbar-container { max-width: 1660px !important;
- }
- @-moz-document url(chrome://browser/content/browser.xhtml) {
- /* Style for the hamburger menu button */
- #PanelUI-button {
- background-color: rgba(78, 48, 26, 0.25) !important;
- border-radius: 9px;
- #PanelUI-menu-button .toolbarbutton-icon {
- fill: rgb(78, 48, 26) !important;
- }
- #PanelUI-menu-button {
- padding-top: 0px !important;
- padding-bottom: 0px !important;
- padding-left: 4px !important;
- padding-right: 4px !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement