Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /* :root{--WindowDraggingFromNewtabButton: no-drag} For windows /* */
- :root{--WindowDraggingFromNewtabButton: drag !important} /* For linux */
- /* #reload-button, #stop-button{display:none !important} /* Removes the reload/stop button */
- /* #back-button, #forward-button{display: none !important} /* Removes the forward/back button */
- .tab-close-button{display: none !important} /* Removes the x-button from the tabs */
- #tabs-newtab-button, #new-tab-button{opacity: 0 !important} /* Hide newtab button */
- #navigator-toolbox{background-image: url("./Background.png"), url("./NavbarBackground.png")} /* Custom background -- Also check userContent.css */
- :root{
- --tab-border-radius: 3px !important; /* Tab border radius -- Changes the tabs rounding *//* Default: 3px */
- --NavbarWidth: 36; /* Default values: 36 - 43 */
- --TabsHeight: 30; /* Minimum: 30 *//* Default: 36 */
- --TabsBorder: 8; /* Doesnt do anything on small layout *//* Default: 8 */
- --NavbarHeightSmall: calc(var(--TabsHeight) + var(--TabsBorder)) /* Only on small layout *//* Default: calc(var(--TabsHeight) + var(--TabsBorder)) *//* Default as a number: 44 */}
- @media screen and (min-width:1325px) /* Only the tabs space will grow from here */
- {#nav-bar{margin-top: calc(var(--TabsHeight) * -1px - var(--TabsBorder) * 1px)!important; height: calc(var(--TabsHeight) * 1px + var(--TabsBorder) * 1px)} #TabsToolbar{margin-left: calc(1325px / 100 * var(--NavbarWidth)) !important} #nav-bar{margin-right: calc(100vw - calc(1325px / 100 * var(--NavbarWidth))) !important; vertical-align: center !important} #urlbar-container{min-width: 0px !important; flex: auto !important} toolbarspring{display: none !important}}
- @media screen and (min-width:850px) and (max-width:1324px) /* Both the tabs space and the navbar will grow */
- {#nav-bar{margin-top: calc(var(--TabsHeight) * -1px - var(--TabsBorder) * 1px) !important; height: calc(var(--TabsHeight) * 1px + var(--TabsBorder) * 1px)} #TabsToolbar{margin-left: calc(var(--NavbarWidth) * 1vw) !important} #nav-bar{margin-right: calc(100vw - calc(var(--NavbarWidth) * 1vw)) !important; vertical-align: center !important} #urlbar-container{min-width: 0px !important; flex: auto !important} toolbarspring{display: none !important} #TabsToolbar, #nav-bar{transition: margin-top .25s !important}}
- @media screen and (max-width:849px) /* The window is not enough wide for a one line layout */
- {#nav-bar{padding: 0 5px 0 5px!important; height: calc(var(--NavbarHeightSmall) * 1px) !important} toolbarspring{display: none !important;} #TabsToolbar, #nav-bar{transition: margin-top .25s !important}}
- #nav-bar, #PersonalToolbar{background-color: #0000 !important;background-image: none !important; box-shadow: none !important} #nav-bar{margin-left: 3px; border-top: none !important} .tab-background, .tab-stack { min-height: calc(var(--TabsHeight) * 1px) !important}
- /* Removes rounding from the top corners, */
- #navigator-toolbox{appearance: none !important; border-radius: 0 !important}
- #navigator-toolbox-background{background-color: Field !important; background-image: none !important; appearance: none !important; border-radius: 0 !important}
- #navigator-toolbox-background:-moz-window-inactive{filter: contrast(90%);} /* Fades window while not in focus */
- :root{--tabpanel-background-color: -moz-Dialog !important} /* Removes flash before loading pages */
- /* Removes annoying buttons and spaces */
- #firefox-view-button, #save-to-pocket-button, #tracking-protection-icon-container, .titlebar-spacer[type="pre-tabs"], .titlebar-spacer[type="post-tabs"]{display: none !important}
- #tabbrowser-tabs{border-inline-start-width: 0!important}
- /* Makes some buttons nicer */
- #PanelUI-menu-button, #unified-extensions-button, #reload-button, #stop-button {padding: 2px !important}
- #reload-button, #stop-button{margin: 1px !important;}
- /* Newtab hack */
- #tabs-newtab-button, #new-tab-button{transition: .3s !important;color: transparent !important; fill: FieldText !important; background: none !important; opacity: 20%; padding-right: 20px !important; padding-left: 4px !important; -moz-window-dragging: var(--WindowDraggingFromNewtabButton)}
- #tabs-newtab-button:hover, #new-tab-button:hover{transition: .3s !important; color: transparent !important; fill: FieldText !important; opacity: 90%; padding-right: 20px !important; background: none !important; padding-left: 4px !important; -moz-window-dragging: var(--WindowDraggingFromNewtabButton)}
- #tabs-newtab-button > .toolbarbutton-icon , #new-tab-button > .toolbarbutton-icon{ background: none !important;}
- /* Removes urlbar border/background */
- #urlbar-background{border: none !important; outline: none !important; transition: .15s !important;}
- /* Cool animation on tab/bookmark icons */
- /* .tabbrowser-tab:not([pinned]):not([selected]) .tab-icon-image ,.bookmark-item .toolbarbutton-icon{opacity: 0!important; transition: .15s !important; width: 0!important; padding-left: 16px!important} */
- /* .tabbrowser-tab:not([pinned]):hover .tab-icon-image,.bookmark-item:hover .toolbarbutton-icon{opacity: 100!important; transition: .15s !important; display: inline-block!important; width: 16px!important; padding-left: 0!important} */
- /* .tabbrowser-tab:not([hover]) .tab-icon-image,.bookmark-item:not([hover]) .toolbarbutton-icon{padding-left: 0!important} */
- /* Removes space after pinned tabs */
- #tabbrowser-tabs[haspinnedtabs]:not([positionpinnedtabs])>#tabbrowser-arrowscrollbox>.tabbrowser-tab[first-visible-unpinned-tab] {margin-inline-start: 0!important}
- /* X-button on the tabs */
- .tabbrowser-tab:not(:hover) .tab-close-button{opacity: 0% !important; transition: .3s !important; display: -moz-box !important;}
- .tab-close-button[selected]:not(:hover){opacity: 45% !important; transition: .3s !important; display: -moz-box !important;}
- .tabbrowser-tab:hover .tab-close-button{opacity: 50%; transition: .3s !important; background: none !important; cursor: pointer; display: -moz-box !important;}
- .tab-close-button:hover{opacity: 100% !important; transition: .3s !important; background: none !important; cursor: pointer; display: -moz-box !important;}
- .tab-close-button[selected]:hover{opacity: 100% !important; transition: .3s !important; background: none !important; cursor: pointer; display: -moz-box !important;}
- /* Removes annoying border */
- #navigator-toolbox{border:none !important;}
- /* Titlebar button fix#6322 */
- .titlebar-buttonbox-container{-moz-box-ordinal-group: auto;}
- .titlebar-button > .toolbarbutton-icon:-moz-lwtheme{-moz-context-properties: fill, stroke !important;}
- .titlebar-button > .toolbarbutton-icon {display: flex !important; height:unset !important; width: unset !important; appearance: -moz-window-decorations !important;}
- .titlebar-buttonbox{appearance: none !important}
- /* Titlebar buttons - Minimize button */
- .titlebar-min {fill: var(--toolbarbutton-icon-fill) !important; -moz-context-properties: fill !important; list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Crect transform='matrix(3.7795 0 0 3.7795 -39.998 -533.51)' x='14.552' y='145.13' width='2.6458' height='.26458' ry='3.1658e-6' fill='context-fill' style='paint-order:stroke fill markers'/%3E%3C/svg%3E%0A")!important; border-radius: 0!important; margin: 0!important; padding: 0!important; border: 0!important; height: 100%!important; align-content: center!important; width: 56px!important; appearance: none!important}.titlebar-min:hover {background-color: color-mix(in srgb,currentColor 17%,transparent)!important}.titlebar-min:active {background-color: color-mix(in srgb,currentColor 30%,transparent)!important}
- /* Titlebar buttons - Maximize button */
- .titlebar-max {fill: var(--toolbarbutton-icon-fill) !important; -moz-context-properties: fill !important; list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Cpath transform='matrix(3.7795 0 0 3.7795 -101 -533.51)' d='m30.692 143.81v2.6458h2.6458v-2.6458zm0.26458 0.26459h2.1167v2.1167h-2.1167z' fill='context-fill' style='paint-order:stroke fill markers'/%3E%3C/svg%3E")!important; border-radius: 0!important; margin: 0!important; padding: 0!important; border: 0!important; height: 100%!important; align-content: center!important; width: 56px!important; appearance: none!important}.titlebar-max:hover {background-color: color-mix(in srgb,currentColor 17%,transparent)!important}.titlebar-max:active {background-color: color-mix(in srgb,currentColor 30%,transparent)!important}
- /* Titlebar buttons - Restore button */
- .titlebar-restore {fill: var(--toolbarbutton-icon-fill) !important; -moz-context-properties: fill !important; list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Cpath d='m17.001 10.016v2h-2v8.0001h8.0001v-2h2v-8.0001zm0.99998 1h6v6h-0.99998v-4.9999h-4.9999zm-2 2h6v6h-6z' fill='context-fill' stroke-width='3.7795' style='paint-order:stroke fill markers'/%3E%3C/svg%3E%0A")!important; border-radius: 0!important; margin: 0!important; padding: 0!important; border: 0!important; height: 100%!important; width: 56px!important; appearance: none!important}.titlebar-restore:hover {background-color: color-mix(in srgb,currentColor 17%,transparent)!important}.titlebar-restore:active {background-color: color-mix(in srgb,currentColor 30%,transparent)!important}
- /* Titlebar buttons - Close button */
- .titlebar-close:not(:hover, :active) {fill: var(--toolbarbutton-icon-fill) !important; -moz-context-properties: fill !important; list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Cpath transform='matrix(3.7796 0 0 3.7795 -165 -533.51)' d='m47.718 143.71-0.18707 0.18706 1.2294 1.2294-1.2294 1.2289 0.18707 0.18707 1.2294-1.2289 1.2289 1.2289 0.18707-0.18707-1.2289-1.2289 1.2289-1.2294-0.18707-0.18706-1.2289 1.2294z' fill='context-fill' style='paint-order:stroke fill markers'/%3E%3C/svg%3E%0A")!important; margin: 0 !important; padding: 0!important; border: 0!important; border-radius: 0!important; height: 100%!important; width: 56px!important; appearance: none!important}
- .titlebar-close:hover {background-color: #f44!important; fill: var(--toolbarbutton-icon-fill) !important; -moz-context-properties: fill !important; list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Cpath transform='matrix(3.7796 0 0 3.7795 -165 -533.51)' d='m47.718 143.71-0.18707 0.18706 1.2294 1.2294-1.2294 1.2289 0.18707 0.18707 1.2294-1.2289 1.2289 1.2289 0.18707-0.18707-1.2289-1.2289 1.2289-1.2294-0.18707-0.18706-1.2289 1.2294z' fill='context-fill' style='paint-order:stroke fill markers;fill:%23ffffff' /%3E%3C/svg%3E%0A")!important; margin: 0 !important; padding: 0!important; border: 0!important; border-radius: 0!important; height: 100%!important; width: 56px!important; appearance: none!important}
- .titlebar-close:active {background-color: #f33!important; fill: var(--toolbarbutton-icon-fill) !important; -moz-context-properties: fill !important; list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Cpath transform='matrix(3.7796 0 0 3.7795 -165 -533.51)' d='m47.718 143.71-0.18707 0.18706 1.2294 1.2294-1.2294 1.2289 0.18707 0.18707 1.2294-1.2289 1.2289 1.2289 0.18707-0.18707-1.2289-1.2289 1.2289-1.2294-0.18707-0.18706-1.2289 1.2294z' fill='context-fill' style='paint-order:stroke fill markers;fill:%23ffffff' /%3E%3C/svg%3E%0A")!important; margin: 0 !important; padding: 0!important; border: 0!important; border-radius: 0!important; height: 100%!important; width: 56px!important; appearance: none!important}
- /* Alltabs button */
- #TabsToolbar-customization-target {counter-reset: tabCount}.tabbrowser-tab {counter-increment: tabCount}
- #alltabs-button>.toolbarbutton-badge-stack>.toolbarbutton-icon {fill: var(--toolbarbutton-icon-fill) !important; -moz-context-properties: fill !important; list-style-image: url("data:image/svg+xml,%3Csvg width='40' height='30' version='1.1' viewBox='0 0 40 30' xmlns='http://www.w3.org/2000/svg'%3E%3Ctitle%3EVetro%3C/title%3E%3Cpath transform='translate(49,-60)' d='m-29 78.888-7.0703-7.0703 0.70703-0.70703 6.3633 6.3633 6.3633-6.3633 0.70703 0.70703-6.3633 6.3633z' fill='context-fill' style='paint-order:stroke fill markers'/%3E%3C/svg%3E"); overflow: hidden!important; padding: 0!important; border: 0!important; width: 40px!important; height: calc(100% + 1px)!important; margin: 0 -2px 0 0!important; transform: translate(20%,15%); padding: 0 3px}
- #alltabs-button>.toolbarbutton-badge-stack {position: relative!important; border-radius: 0!important; padding: 0!important; border: 0!important; height: calc(100% + 1px)!important; width: 56px!important; margin: 0-2px 0 0!important}
- #alltabs-button>.toolbarbutton-badge-stack::before {content: counter(tabCount); color: var(--toolbarbutton-icon-fill) !important; position: absolute; top: 16.5px; left: 50%; transform: translate(-50%,-30%); padding: 0 3px}
- /* Removes the background from the urlbar while not in use */
- #urlbar:not(:hover):not([breakout][breakout-extend])>#urlbar-background {box-shadow: none!important; background: #0000 !important} */
- /* Urlbar popup thing */
- /* .urlbarView-row{display: none !important}
- .urlbarView-row:nth-child(1), .urlbarView-row:nth-child(2){display: flex !important}
- #urlbar-anon-search-settings{margin-inline-start: 0px !important} */
- /* Makes the space between the reload button and the urlbar less akwardly large */
- #urlbar-container{margin-left: 1px !important}
- /* Makes the sidebar a little nicer */
- #sidebar-splitter{display: none}
- #sidebar-header{padding-bottom: 0!important; border-bottom: 0!important}
- /* The thing in the bottom with links */
- #statuspanel-label{background-color: -moz-Dialog!important; border-color: transparent!important; border-radius: 5px !important; color: currentColor!important; margin: 0 0 2.5px 2px!important; padding: 5px!important; opacity: 100%;}
- /* Removes the annoying rainbow thing from the hamburger */
- #appMenu-fxa-separator{border-image:none !important;}
- /* Navbar buttons order */
- #nav-bar{direction: rtl;} #urlbar-container, #customizationui-widget-panel{direction: ltr !important;}
- #forward-button{order: -1 !important;}
- #back-button{padding-right: 2px !important;} #forward-button{padding-right: 8px !important;}
- /* Rounded corner in pages *//* layout.css.has-selector.enabled */
- #main-window:has(#navigator-toolbox[style=""]) #tabbrowser-tabpanels, :not([sizemode="fullscreen"]) #tabbrowser-tabpanels{margin: -10px 0 0 0!important; border-top-left-radius: 10px !important; border-top-right-radius: 10px !important;}
- #main-window:has(#navigator-toolbox[style=""]) .browserStack>browser, :not([sizemode="fullscreen"]) .browserStack>browser{border-top-left-radius: 10px !important; border-top-right-radius: 10px !important;}
- #navigator-toolbox{padding-bottom: 10px;}
- [inFullscreen] #tabbrowser-tabpanels, [inFullscreen] .browserStack>browser{border-radius: 0 !important; margin: 0 !important; transition: border-radius .7s !important}
- .browserStack{background-color: -moz-Dialog !important; border-radius: 10px !important; z-index: 2;}
- .browserContainer{background-color: transparent}
- .browserContainer:has(> .devtools-toolbox-bottom-iframe) .browserStack>browser{margin-bottom: -10px !important; border-bottom-right-radius: 10px !important; border-bottom-left-radius: 10px !important; transition: border-radius .2s !important}
- findbar{height: 50px; border: none !important; background-color: -moz-Dialog !important; z-index: 1;}
- .browserContainer:has(> .devtools-toolbox-bottom-iframe) findbar{border-bottom-right-radius: 10px; border-bottom-left-radius: 10px;}
- .findbar-container, findbar .close-icon{margin-top: 10px !important}
- .browserContainer:has(> findbar) .browserStack>browser{margin-bottom: -10px !important; border-bottom-right-radius: 10px !important; border-bottom-left-radius: 10px !important; transition: border-radius .2s !important}
- .browserContainer:has(> .devtools-toolbox-bottom-iframe):has(> findbar) findbar{margin-bottom: -10px !important;}
- [inFullscreen] .browserContainer:has(> .devtools-toolbox-bottom-iframe) .browserStack>browser{margin-bottom: -10px !important; border-bottom-right-radius: 10px !important; border-bottom-left-radius: 10px !important; transition: border-radius .2s !important}
- [inFullscreen] .browserContainer:has(> findbar) .browserStack>browser{margin-bottom: -10px !important; border-bottom-right-radius: 10px !important; border-bottom-left-radius: 10px !important; transition: border-radius .2s !important}
- #main-window{background-color: -moz-Dialog}
- /* Devtools */
- .devtools-horizontal-splitter{margin-top: 7px !important;margin-bottom:-12px !important;opacity: 0;}
- .devtools-side-splitter{opacity: 0;}
- .devtools-toolbox-side-iframe{margin-top: -10px; border-radius: 10px;}
- #customization-panelWrapper {max-width: 30em!important} /* Fixes the customization page */
- #customization-container > *{margin-top: -10px; background-color: -moz-Dialog !important} /* Customizes the customization page */
- #urlbar:not([open]){color: currentColor!important} #urlbar[open]{color: var(--toolbar-field-focus-color)} /* Fixes the urlbar color on some themes */
- /* Makes sidebars nicer */
- #sidebar-box{margin-top: -10px !important; border-radius: 0 10px 0 0!important; z-index: 1}
- #sidebar-box[positionend="true"]{border-radius: 10px 0 0 0!important}
- #sidebar-box > *{background-image:none;}
- /* Drop menus */
- [position="bottomright topright"]{--panel-border-radius: 0 5px 5px 5px!important}
- [position="bottomleft topleft"]{--panel-border-radius: 5px 0 5px 5px!important}
- [part="content"]{border: none !important;}
- .toolbarbutton-1[open]{--toolbarbutton-border-radius: 4px 4px 0 0!important;}
- [class*="identity-color"] > * > * .tab-context-line{border-radius: 0 0 5px 5px !important} /* Identity-color */
- /* Private tabs */
- [privatebrowsingmode="temporary"] #PanelUI-menu-button > .toolbarbutton-badge-stack{
- fill: currentColor !important; -moz-context-properties: fill !important; list-style-image: url("data:image/svg+xml,%3Csvg version='1.1' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m4.4607598 4.7745347c-1.6558046-0.022972-3.308558 0.6945846-4.38033889 2.1016252-0.24667376 0.9746947 0.1329625 4.5740951 0.34896868 5.1407791 0.43334585 2.286732 2.30300841 4.007931 4.54440651 4.007931 1.1186988 0 2.1336268-0.446805 2.9349832-1.161493l0.4869937-0.419283a2.4174054 2.4174054 0 0 1 3.138115-0.02344l0.734397 0.606788v-0.0026c0.772021 0.621352 1.717989 1.002634 2.752686 1.002634 2.240064 0 4.109726-1.721199 4.544406-4.007931 0.214673-0.569353 0.608977-4.1526899 0.348969-5.1433851-1.905389-2.5014054-5.647401-2.8223737-7.976801-0.682312l-1.302122 1.1979524h-1.2760796l-1.302122-1.1979524c-1.0196962-0.936277-2.3086136-1.4014458-3.5964616-1.4193132zm1.0390935 3.6954225c0.9293602 0 1.7557821 0.389533 2.2891309 0.992217a0.86669252 0.86669252 0 0 1 0 1.1302418c-0.5333488 0.602685-1.3597707 0.989614-2.2891309 0.989614-0.9293601 0-1.7557821-0.386929-2.2891308-0.989614a0.86669252 0.86669252 0 0 1 0-1.1302418c0.5333487-0.602684 1.3597707-0.992217 2.2891308-0.992217zm9.0002687 0c0.929359 0 1.755781 0.389533 2.289131 0.992217a0.86669252 0.86669252 0 0 1 0 1.1302418c-0.53335 0.602685-1.359772 0.989614-2.289131 0.989614-0.92936 0-1.755782-0.386929-2.289131-0.989614a0.86669252 0.86669252 0 0 1 0-1.1302418c0.533349-0.602684 1.359771-0.992217 2.289131-0.992217z' fill='context-fill' stroke-width='1.33337'/%3E%3C/svg%3E%0A");}
- #private-browsing-indicator-with-label{display: none}
- /* Notification */
- #tab-notification-deck .container.infobar{background: -moz-Dialog !important}
- #tab-notification-deck .notificationbox-stack{background: transparent !important}
- /* Customization navbar fix */
- #wrapper-urlbar-container{width: 100px !important}
- [title="Flexible Space"]{display: none !important}
- /* Fullscreen thing */
- #fullscreen-warning{border: none !important; background: -moz-Dialog !important}
- /* Responsive Design Mode */
- html.theme-dark body div#root div#app header#toolbar.user-agent{background: -moz-Dialog !important; border: none !important;}
- html.theme-dark body div#root div#app header#toolbar.user-agent *{border-radius: 7px !important;}
- html.theme-dark body div#root div#app header#toolbar.user-agent .devtools-separator{opacity:0 !important}
- /* Changes for macos compatibility */
- .titlebar-button { display: flex !important; }
- .titlebar-buttonbox-container{ order: 1000 !important; }
- .titlebar-buttonbox{ height: 100% !important; }
- :root:not([sizemode="maximized"], [sizemode="fullscreen"]) .titlebar-restore, :root:is([sizemode="maximized"], [sizemode="fullscreen"]) .titlebar-max{display: none !important;}
- .titlebar-buttonbox { margin-inline: 0 !important; }
- .titlebar-buttonbox-container{margin-bottom: 0px;}
- /* Menubar */
- /* #toolbar-menubar[inactive] */
- /* #main-window:has(#toolbar-menubar:not([inactive])) #toolbar-menubar{margin-bottom: -20px !important}
- #main-window:has(#toolbar-menubar:not([inactive])) #toolbar-menubar .titlebar-buttonbox-container{margin-top: -1px !important; height: 44px !important}
- #main-window:has(#toolbar-menubar:not([inactive])) #alltabs-button {margin-top: -24px !important; margin-bottom: 24.2px !important; }
- @media screen and (min-width:566px) {#main-window:has(#toolbar-menubar[autohide="false"]) #alltabs-button {margin: -25px 168px 25.2px 0 !important;}}
- #main-menubar{flex-wrap: wrap !important; max-width: calc(100vw - 226px);}
- @media screen and (max-width:565px) { #main-window:has(#toolbar-menubar:not([inactive])) #TabsToolbar-customization-target { margin-top: 20px;}#main-window:has(#toolbar-menubar:not([inactive])) #alltabs-button { height: 44px !important; position: absolute; top: 24px; right: 168px; } #main-window:has(#toolbar-menubar:not([inactive])) #toolbar-menubar { height: fit-content !important;}}
- #main-menubar { z-index: 1; } */
- #titlebar #toolbar-menubar .titlebar-buttonbox-container{ display: none !important; }
- #toolbar-menubar { display: none !important; }
- /* about:config setting */
- /* Floating URL bar */
- @media not (-moz-bool-pref: "css.disable.floating.search") {
- #urlbar:is([breakout][breakout-extend], [breakout][usertyping][focused]) {
- #urlbar-input {
- font-size: 16px !important;
- }
- z-index: 2;
- position: fixed !important;
- bottom: auto !important;
- top: 20vh !important;
- padding-left: 6px !important;
- padding-right: 8px !important;
- left: 20vw !important;
- right: 20vw !important;
- width: 60vw !important;
- &:after {
- content: "";
- position: fixed;
- pointer-events: none;
- width: 100vw;
- height: 100vh;
- top: 0px;
- left: 0px;
- background-color: rgba(0, 0, 0, 0.3);
- backdrop-filter: blur(5px);
- z-index: -1;
- }
- #identity-box {
- margin: auto 0;
- height: 30px;
- margin-right: 10px;
- }
- .urlbar-go-button {
- margin: auto 0;
- }
- }
- }
- /* Hide and Hover icons in URL Bar */
- @media not (-moz-bool-pref: "css.disable.hover.urlbar.icons") {
- #nav-bar:not([customizing="true"]):not(.searchButton)
- > #nav-bar-customization-target
- > #urlbar-container:not(:hover)
- > #urlbar:not([focused])
- > #urlbar-input-container
- > #page-action-buttons
- .urlbar-page-action {
- opacity: 0;
- transition-delay: 500ms;
- }
- #nav-bar:not([customizing="true"]):not(.searchButton)
- > #nav-bar-customization-target
- > #urlbar-container:not(:hover)
- > #urlbar:not([focused])
- > #urlbar-input-container
- > #identity-box
- > #identity-permission-box:not([open]) {
- opacity: 0;
- transition-delay: 500ms;
- }
- #page-action-buttons .urlbar-page-action,
- #identity-permission-box,
- #notification-popup-box .notification-anchor-icon {
- transition: opacity 0.2s ease;
- }
- #urlbar #identity-icon-box,
- #urlbar #identity-permission-box {
- opacity: 0 !important;
- margin-inline-start: calc(-16px - 2 * var(--urlbar-icon-padding));
- transition: margin-inline-start 100ms linear, opacity 200ms linear;
- }
- #urlbar #identity-box.notSecureText #identity-icon-box {
- margin-inline-start: initial !important;
- opacity: 1 !important;
- color: #e36f6f !important;
- }
- #urlbar #identity-box.extensionPage #identity-icon-box {
- margin-inline-start: initial !important;
- opacity: 1 !important;
- }
- #identity-box:hover #identity-icon-box,
- #identity-box:hover #identity-permission-box,
- #identity-box #identity-permission-box[open="true"] {
- opacity: 1 !important;
- margin-inline-start: initial !important;
- }
- #urlbar-input-container .urlbar-input-box {
- padding-inline-start: 2px !important;
- }
- #identity-box:hover ~ .urlbar-input-box > #urlbar-input {
- mask-image: linear-gradient(to right, transparent, black 3ch) !important;
- }
- #page-action-buttons {
- padding-inline-start: 8px;
- }
- #page-action-buttons .urlbar-page-action {
- margin-inline-end: calc(-16px - 2 * var(--urlbar-icon-padding));
- opacity: 0;
- transition: margin-inline-end 100ms linear, opacity 200ms linear;
- }
- #page-action-buttons:hover > .urlbar-page-action,
- .urlbar-page-action[open],
- .urlbar-page-action[open] ~ .urlbar-page-action {
- opacity: 1;
- margin-inline-end: 0px !important;
- }
- #identity-box.chromeUI #identity-icon-box {
- opacity: 1 !important;
- margin-inline-start: initial;
- }
- #identity-box.chromeUI::after,
- #identity-box.chromeUI:hover::after {
- opacity: 0 !important;
- }
- #page-action-buttons:not(:hover) #translations-button[translationsactive="true"]:not([open]) {
- visibility:collapse !important;
- }
- /* Create visual dots on both sides */
- #identity-box::after,
- #page-action-buttons::before {
- position: relative;
- content: "•••";
- pointer-events: none;
- transition: opacity 100ms ease;
- align-self: center;
- font-size: 1em;
- }
- #identity-box::after,
- #page-action-buttons::before {
- opacity: 0.2;
- }
- #identity-box::after {
- transform: rotate(90deg);
- left: 4px;
- }
- #page-action-buttons::before {
- transform: rotate(-90deg);
- right: 4px;
- }
- #identity-box:hover::after,
- #page-action-buttons:hover::before {
- opacity: 0.2 !important;
- transition: opacity 50ms ease;
- pointer-events: none;
- }
- #identity-box[pageproxystate="invalid"]::after,
- #urlbar-input-container[pageproxystate="invalid"]
- > #page-action-buttons::before {
- opacity: 0 !important;
- transition: opacity 50ms ease;
- }
- /* Linux changes for visual dots */
- @media (-moz-platform: linux) {
- #identity-box::after,
- #page-action-buttons::before {
- content: url('data:image/svg+xml,<%3Fxml version="1.0" encoding="utf-8"%3F><svg fill="%23FFFFFF" width="11px" height="11px" viewBox="0 0 32 32" version="1.1" xmlns="http://www.w3.org/2000/svg"><path d="M20.25 16c0 2.347-1.903 4.25-4.25 4.25s-4.25-1.903-4.25-4.25c0-2.347 1.903-4.25 4.25-4.25s4.25 1.903 4.25 4.25zM20.25 27c0 2.347-1.903 4.25-4.25 4.25s-4.25-1.903-4.25-4.25c0-2.347 1.903-4.25 4.25-4.25s4.25 1.903 4.25 4.25zM20.25 5c0 2.347-1.903 4.25-4.25 4.25s-4.25-1.903-4.25-4.25c0-2.347 1.903-4.25 4.25-4.25s4.25 1.903 4.25 4.25z"></path></svg>');
- transform: none;
- font-size: unset;
- }
- #page-action-buttons::before {
- right: 2px;
- }
- #identity-box::after {
- left: 2px;
- }
- }
- #identity-box[pageproxystate="valid"].notSecureText > .identity-box-button,
- #identity-box[pageproxystate="valid"].extensionPage > .identity-box-button,
- #identity-box[pageproxystate="valid"].chromeUI > .identity-box-button,
- #urlbar-label-box,
- #urlbar-zoom-button {
- background-color: var(--firefoxcss-item-bg-color) !important;
- }
- #urlbar-zoom-button:hover {
- background-color: var(--firefoxcss-urlbar-zoom-button) !important;
- }
- #urlbar-input-container #identity-box > .identity-box-button,
- #tracking-protection-icon-container,
- #urlbar-go-button,
- #page-action-buttons .urlbar-page-action,
- #notification-popup-box {
- border-radius: 8px !important;
- }
- #urlbar-go-button,
- #tracking-protection-icon-container
- {
- display: none !important;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment