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;
- }
- /* 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; }
- /* remove the folder icon thing on the toolbar */
- #alltabs-button { display: none !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;}
- /* make balhin the hamburger menu */
- /* move control buttons */
- #TabsToolbar .titlebar-buttonbox-container {
- position: fixed;
- right: 0;
- top: 0;
- z-index: 3;
- }
- /* move hmburuger buttons */
- #PanelUI-button {
- position: fixed;
- right: 1px;
- top: 48px;
- z-index: 2;
- }
- /* adjust url bar width */
- #urlbar-container { max-width: 1760px !important;
- }
- /* hide extensions but its still clickable */
- #unified-extensions-button{
- width: 3px;
- padding-inline: 0 !important;
- }
- #unified-extensions-button > .toolbarbutton-icon {
- width: 0 !important;
- }
- /*************************************************** NEEDS ADJUSTING **********************************************************************/
- /* 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: 2px solid var(--lwt-toolbar-field-border-color, rgba(70, 130, 180, 0.75)) !important;
- background-color: var(--lwt-toolbar-field-background-color, rgba(28, 171, 176, 0.1)) !important;
- box-shadow: none !important;
- }
- #urlbar-background,
- #urlbar-input-container {
- border: none !important;
- background-color: transparent !important;
- box-shadow: none !important;
- backdrop-filter: blur(10px);
- }
- #urlbar[open] > .urlbarView {
- background: var(--lwt-toolbar-field-background-color, rgba(0, 0, 0, 0)) !important;
- border: 1px solid var(--lwt-toolbar-field-border-color, rgba(0, 0, 0, 0)) !important;
- border-top: none !important;
- box-shadow: none !important;
- }
- }
- /* slighly round off the eddges of the url bar */
- #urlbar, .searchbar-textbox{
- border-radius: 0.4em !important;
- }
- /* make tabs bit more round */
- .tab-background, .tab-loading-burst { border: none !important; border-radius: 0.4em !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(148, 157, 173, 0.1) !important;
- backdrop-filter: blur(10px);
- border: 1px solid rgba(148, 157, 173, 0.75) !important;
- }
- /* change active tab color */
- .tabbrowser-tab[selected="true"] .tab-background {
- background-color: rgba(255, 255, 255, 0.1) !important;
- }
- /* Adjust the active tab border */
- .tabbrowser-tab[selected="true"] .tab-background {
- border: 2px solid rgba(251, 131, 165, 0.75) !important;
- border-radius: 0.4em !important;
- }
- #urlbar-input{
- color: white !important;
- }
- #page-action-buttons{
- display:none !important;
- }
- /* Change bookmark text color */
- #PlacesToolbarItems .bookmark-item {
- color: #a52a2a !important;
- }
- /* Remove favicon icons from bookmarks */
- #PlacesToolbarItems .bookmark-item .toolbarbutton-icon[src^="page-icon:"],
- #PlacesToolbarItems .bookmark-item .toolbarbutton-icon[src^="chrome://"],
- #PlacesToolbarItems .bookmark-item .toolbarbutton-icon[src^="http://"],
- #PlacesToolbarItems .bookmark-item .toolbarbutton-icon[src^="https://"] {
- display: none !important;
- }
- /* Adjust padding to compensate for removed icons */
- #PlacesToolbarItems .bookmark-item {
- padding-left: 10px !important;
- }
- /* Optional: Keep the folder icon for bookmark folders */
- /*
- #PlacesToolbarItems .bookmark-item[type="menu"] .toolbarbutton-icon {
- display: inline-block !important;
- }
- */
- .titlebar-close {
- list-style-image: url(chrome://browser/skin/window-controls/close-highcontrast.svg) !important;
- color: rgba(16, 80, 170, 0) !important;
- }
- /* Change new tab button color */
- #tabs-newtab-button, #TabsToolbar #new-tab-button {
- fill: rgb(70, 130, 180) !important;
- }
- }
- /* Change active tab text color */
- .tabbrowser-tab[selected="true"] .tab-label {
- color: rgb(255, 138, 163) !important;
- }
- @-moz-document url(chrome://browser/content/browser.xhtml){
- #browser,
- #customization-container{ margin-bottom: var(--uc-bottom-toolbar-height,0px) }
- #PersonalToolbar{
- position: fixed !important;
- bottom: 0px;
- display: flex;
- width: 100%;
- z-index: 1;
- }
- #personal-bookmarks{ flex-grow: 1; }
- }
- #PanelUI-menu-button {
- opacity: 0;
- pointer-events: visible;
- }
- #PanelUI-menu-button {
- opacity: 0;
- pointer-events: visible;
- }
- #PanelUI-menu-button:hover {
- background-color: #ccc; /* or any other color you prefer */
- opacity: 1;
- }
- /* Hide the initial tab */
- #tabbrowser-tabs .tabbrowser-tab:first-child {
- display: none !important;
- }
- /* Ensure the "New Tab" button is always visible */
- #tabs-newtab-button {
- display: -moz-box !important;
- }
- /* Hide new tab (plus) button */
- #tabs-newtab-button, #new-tab-button {
- display: none !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement