/* GLOBAL SETTING */ /* Fonts */ * { font-family: monospace !important; } /*------------------------------------------------*/ /* Background Color */ #browser { background-image: url(arch-logo.png) !important; background-size: cover !important; background-position: center !important; } #tabbrowser-tabpanels, #appcontent, #tabbrowser-tabbox { background: none !important; } @media (prefers-color-scheme: dark) { #navigator-toolbox, .browser-sidebar2 { background: #181926 !important; } } @media (prefers-color-scheme: light) { #navigator-toolbox, .browser-sidebar2 { background: #e6e6e6 !important; } } #PersonalToolbar, #nav-bar { background: transparent !important; } /* Hide Status Messages */ /* #statuspanel[type="overLink"] { opacity: 0 !important; } #statuspanel { opacity: 0 !important; } */ /*============================================================================================*/ /* NAV BAR */ /* Auto hide icons on the Nav Bar */ #nav-bar > #nav-bar-customization-target *:not(#urlbar-container):not(#urlbar-container *), #PanelUI-button { opacity: 0 !important; transition: opacity 0.7s ease !important; } #nav-bar:hover > #nav-bar-customization-target *:not(#urlbar-container):not(#urlbar-container *), #nav-bar:hover > #PanelUI-button { opacity: 1 !important; transition: opacity 0.3s ease !important; } /*------------------------------------------------*/ /* Remove line between website content and top bar */ #navigator-toolbox { border-bottom: var(--firefoxcss-top-bar-border-bottom-size) solid var(--firefoxcss-top-bar-border-bottom-color) !important; } /*------------------------------------------------*/ /* Remove the all tab and new tab button */ #alltabs-button, #tabs-newtab-button { display: none !important; } /*------------------------------------------------*/ /* Remove the 3 dots from Alt Key */ #titlebar #toolbar-menubar .titlebar-buttonbox-container { display: none !important; } /*------------------------------------------------*/ /* Move menu buttons to the left side */ #nav-bar #PanelUI-button #PanelUI-menu-button { padding-right: 2px !important; padding-left: 4px !important; } #nav-bar #PanelUI-button { -moz-box-ordinal-group: 0 !important; order: 0 !important; } toolbar:not([customizing]) > #nav-bar-overflow-button { -moz-box-ordinal-group: 1 !important; order: 1 !important; } toolbar:not([customizing]) > #nav-bar-customization-target { -moz-box-ordinal-group: 2 !important; order: 2 !important; } #appMenu-popup { margin-inline: -244px !important; } #widget-overflow { margin-inline: -320px !important; } /*------------------------------------------------*/ #TabsToolbar .titlebar-buttonbox-container .titlebar-close { background: #f25056 !important; display: none !important; overflow: hidden !important; transition: background-color 200ms ease !important; } /*------------------------------------------------*/ /* Make Tab Bar join with URL Bar on the left */ :root { --tab-border-radius: 3px !important; --NavbarWidth: 2; --TabsHeight: 36; --TabsBorder: 8; --NavbarHeightSmall: calc(var(--TabsHeight) + var(--TabsBorder)); } #nav-bar { margin-top: calc( var(--TabsHeight) * -1px - var(--TabsBorder) * 1px ) !important; height: calc((var(--TabsHeight) * 1px + var(--TabsBorder) * 1px) + 0px); } #urlbar-container { min-width: 0px !important; flex: auto !important; } @media screen and (max-width: 100px) { #TabsToolbar { margin-right: 0 !important; } #nav-bar { margin-left: 0 !important; } } /* Fix for Firefox 123 */ #nav-bar:not([tabs-hidden="true"]) { position: static !important; } #nav-bar-customization-target, #PanelUI-button { position: relative !important; z-index: 3 !important; } /*------------------------------------------------*/ /* Make active tab to hidden tab */ tab:not([selected="true"]), [part="overflow-start-indicator"], [part="overflow-end-indicator"], #scrollbutton-up, #scrollbutton-down, #TabsToolbar .titlebar-spacer, .tabbrowser-tab[selected="true"] .tab-text, .tabbrowser-tab[selected="true"] .tab-close-button, .tab-line, .tab-throbber { display: none !important; } .tabbrowser-tab[selected="true"] { min-width: 0px !important; max-width: 0px !important; background-color: #181926 !important; } tab, .tabbrowser-tab { padding-left: 0 !important; margin-left: 0 !important; background-color: #181926 !important; } .tab-background { outline: none !important; box-shadow: none !important; background-color: #181926 !important; } .tab-icon-image { height: 32px !important; width: 32px !important; border-radius: 10px !important; background-color: #181926 !important; } /*------------------------------------------------*/ /* Hide all buttons in active tab context menu except for split tab and extensions */ #main-window #context_openANewTab, #main-window #context_reloadTab, #main-window #context_toggleMuteTab, #main-window #context_playTab, #main-window #context_pinTab, #main-window #context_duplicateTab, #main-window #context_bookmarkTab, #main-window #context_moveTabOptions, #main-window #context_reopenInContainer, #main-window #context_toggleToPrivateContainer, #main-window #context_selectAllTabs, #main-window #context_closeTab, #main-window #context_closeTabOptions, #main-window #context_undoCloseTab, #context_MoveTabToOtherWorkspace, #main-window #tabContextMenu menuseparator { display: none !important; } /*============================================================================================*/ /* EXTENSION */ /* Make extensions looks minimal */ #unified-extensions-view #unified-extensions-manage-extensions .toolbarbutton-text::before { content: "• • •"; font-size: 15px; visibility: visible !important; display: block; text-align: center; } #unified-extensions-panel #unified-extensions-view { width: 100% !important; } #unified-extensions-view { --uei-icon-size: 22px; --firefoxcss-number-of-extensions-in-a-row: 4; } #unified-extensions-view .unified-extensions-item-menu-button.subviewbutton, #unified-extensions-view .unified-extensions-item-action-button .unified-extensions-item-contents { display: none !important; } #unified-extensions-view .panel-subview-body { padding: 10px !important; } #unified-extensions-view .unified-extensions-item .unified-extensions-item-icon, #unified-extensions-view .unified-extensions-item .toolbarbutton-badge-stack { margin-inline-end: 0px !important; } #unified-extensions-view #overflowed-extensions-list, #unified-extensions-view #unified-extensions-area, #unified-extensions-view .unified-extensions-list { display: grid !important; grid-template-columns: repeat( var(--firefoxcss-number-of-extensions-in-a-row), auto ); justify-items: left !important; align-items: left !important; } /*============================================================================================*/ /* URL BAR */ /* Make text in URL bar in the center */ #nav-bar { display: flex; justify-content: center; } #urlbar-container { flex: 1; max-width: 1000px; min-width: 200px; margin: auto !important; } #main-window #urlbar { z-index: 9999 !important; width: 100% !important; margin-top: 0 !important; margin-left: 0 !important; margin-right: 0 !important; transition: width 0.3s ease, left 0.3s ease, margin-top 0.3s ease, margin-left 0.3s ease, margin-right 0.3s ease; } #main-window #urlbar[breakout][breakout-extend] { opacity: 0.97 !important; width: 100% !important; left: 0; right: 0; margin-left: auto !important; margin-right: auto !important; margin-top: 30vh !important; transition: width 0.3s ease, left 0.3s ease, margin-top 0.3s ease, margin-left 0.3s ease, margin-right 0.3s ease; } #urlbar-background, #urlbar-input-container { --toolbarbutton-border-radius: calc(var(--urlbar-min-height) / 2); } #urlbar-input-container { --urlbar-icon-border-radius: calc(var(--toolbarbutton-border-radius) - 1px); } #urlbar:not([focused]) #urlbar-input { text-align: center !important; } #urlbar:not([breakout][breakout-extend]) #urlbar-input { text-align: center !important; } /*------------------------------------------------*/ /* Change URL Bar background color */ @media (prefers-color-scheme: dark) { #urlbar-background { background-color: #1e2030 !important; } } @media (prefers-color-scheme: light) { #urlbar-background { background-color: #d6d6d6 !important; } } @media (prefers-color-scheme: dark) { #urlbar-results > *[selected=""] { background-color: #1e2030 !important; } } @media (prefers-color-scheme: light) { #urlbar-results > *[selected=""] { background-color: #e8e8e8 !important; } } /*------------------------------------------------*/ /* Hide and Hover icons in URL Bar */ #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: 0.7em; } #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>'); 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; } /*============================================================================================*/ /* BOOKMARK BAR */ /* Variables for toolbar & bookmark attributes */ :root { --uc-bm-height: 24px; --uc-bm-padding: 6px; } /* Style for Personal Toolbar */ #PersonalToolbar { position: relative !important; padding: 1px 6px !important; } /* Additional padding for touch density */ :root[uidensity="touch"] #PersonalToolbar { --uc-bm-padding: 6px; } /* Transform and delay transition of Personal Toolbar */ #PersonalToolbar:not([customizing]) { margin-bottom: calc( 2px - var(--uc-bm-height) - 2 * var(--uc-bm-padding) ) !important; transform: rotateX(90deg) !important; transform-origin: top !important; transition: transform 0.1s ease-in-out 0.6s !important; z-index: 2 !important; } /* Bookmark item padding and icon transition */ #PlacesToolbarItems > .bookmark-item { padding-block: var(--uc-bm-padding) !important; padding-left: 6px !important; padding-right: 6px !important; } #PlacesToolbarItems > .bookmark-item .toolbarbutton-icon { transition: opacity 0.1s ease-in-out 0.4s !important; opacity: 0 !important; } /* Hover effect for toolbar and bookmark icon/text */ #navigator-toolbox:hover > #PersonalToolbar, #navigator-toolbox:hover #PlacesToolbarItems > .bookmark-item .toolbarbutton-icon, #navigator-toolbox:hover #PlacesToolbarItems > .bookmark-item .toolbarbutton-text { transition-delay: 100ms !important; transform: rotateX(0) !important; opacity: 1 !important; } /* Bookmark item text transition */ #PlacesToolbarItems > .bookmark-item .toolbarbutton-text { transition: opacity 0.1s ease-in-out 0.4s !important; opacity: 0 !important; } /* Fix the white line above the bookmarks bar when it's empty */ #personal-toolbar-empty { padding: 2px !important; } /*------------------------------------------------*/ /* Make it good in transparent bg */ @media (prefers-color-scheme: dark) { #PlacesToolbarItems > * { background: #333333 !important; } #PlacesToolbarItems > *:hover { background: #555555 !important; } } @media (prefers-color-scheme: light) { #PlacesToolbarItems > * { background: #cccccc !important; } #PlacesToolbarItems > *:hover { background: #eeeeee !important; } } /*============================================================================================*/ /* SIDE BAR */ /* Expand Side bar on hover */ #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] { --sidebar-width: 69px; --sidebar-hover-width: 350px; background: none !important; position: relative; min-width: var(--sidebar-width) !important; width: var(--sidebar-width) !important; max-width: var(--sidebar-width) !important; z-index: 1; } #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"] > #sidebar { transition: min-width 200ms ease-in-out !important; min-width: var(--sidebar-width) !important; will-change: min-width; transition-delay: 0.3s !important; /* Delay on hover off */ } #sidebar-box[sidebarcommand="_3c078156-979c-498b-8990-85f7987dd929_-sidebar-action"]:hover > #sidebar { min-width: var(--sidebar-hover-width) !important; transition-delay: 0.1s !important; /* No delay on hover on */ } /* #sidebar-box { */ /* backdrop-filter: blur(10px); */ /* } */ /*------------------------------------------------*/ /* Hide Side bar header and line */ #sidebar-header, #sidebar-splitter { display: none !important; } /*------------------------------------------------*/ /* Sidebar Border */ @media (prefers-color-scheme: dark) { #sidebar-box #sidebar, #sidebar-box #webextpanels-window { border-radius: 15px !important; margin: 10px 10px 10px 5px !important; border: 3px solid rgba(0, 0, 0, 0); transition: border 0.3s ease !important; box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5); } #sidebar-box #sidebar:hover, #sidebar-box #webextpanels-:hover { border: 3px solid rgba(183, 189, 248, 0.4) !important; box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5); } } @media (prefers-color-scheme: light) { #sidebar-box #sidebar, #sidebar-box #webextpanels-window { border-radius: 15px !important; margin: 10px 10px 10px 5px !important; border: 3px solid rgba(51, 51, 51, 0.1); transition: border 0.3s ease; box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); } #sidebar-box #sidebar:hover, #sidebar-box #webextpanels-window:hover { border: 3px solid rgba(51, 51, 51, 0.6); box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); } } /*============================================================================================*/ /* SIDE BAR 2 (FLOORP) */ /* Make splitter invisible */ #sidebar-splitter2 { appearance: none !important; width: 10px !important; /* Set initial width */ transition: width 0.3s ease-in-out, opacity 0.3s ease-in-out; /* Add transitions */ } #sidebar-splitter2:hover { width: 20px !important; /* Width on hover */ opacity: 1; /* Opacity on hover */ } /*------------------------------------------------*/ /* Hide Floorp sidebar header */ #sidebar2-header { max-height: 0.5em !important; min-height: 0.5em !important; opacity: 0 !important; transition: max-height 0.3s ease-in-out, min-height 0.3s ease-in-out, opacity 0.3s ease-in-out; } #sidebar2-header:hover { max-height: 2.5em !important; min-height: 2.5em !important; opacity: 1 !important; } /*------------------------------------------------*/ /* Floorp Sidebar Border */ @media (prefers-color-scheme: dark) { #sidebar2-box browser { border-radius: 15px !important; margin: 3px 10px 10px 0px !important; border: 3px solid rgba(0, 0, 0, 0); transition: border 0.3s ease; box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5); } #sidebar2-box browser:hover { border: 3px solid rgba(183, 189, 248, 0.4) !important; box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.2); } } .browser-sidebar2 { background: none !important; } @media (prefers-color-scheme: light) { #sidebar2-box browser { border-radius: 15px !important; margin: 10px 10px 10px 0px !important; border: 3px solid rgba(51, 51, 51, 0.1); transition: border 0.3s ease; box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); } #sidebar2-box browser:hover { border: 3px solid rgba(51, 51, 51, 0.6); box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.2); } } /*------------------------------------------------*/ /* Floorp Sidebar Select Box Styling */ #sidebar-select-box { align-items: center !important; } .sidepanel-icon { border-radius: 10px !important; } /*------------------------------------------------*/ /* Floorp Sidebar Border */ @media (prefers-color-scheme: dark) { #sidebar-select-box { border-radius: 15px !important; margin: 10px 10px 10px 0px !important; border: 3px solid rgba(0, 0, 0, 0); transition: border 0.3s ease; box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5); } #sidebar-select-box:hover { border: 3px solid rgba(183, 189, 248, 0.4) !important; box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5); } } @media (prefers-color-scheme: light) { #sidebar-select-box { border-radius: 15px !important; margin: 10px 10px 10px 0px !important; border: 3px solid rgba(51, 51, 51, 0.1) !important; transition: border 0.3s ease; box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); } #sidebar-select-box:hover { border: 3px solid rgba(51, 51, 51, 0.6) !important; box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); } } /*------------------------------------------------*/ /* Hide random stuff coming out of Floorp Sidebar */ .browser-sidebar2 { border: none !important; border-bottom: none !important; } #sidebar2-box[style="min-width: 0px; order: 6; width: 415px; max-width: 0px;"] > * { display: none !important; } /*============================================================================================*/ /* MAIN BROWSER */ /* Browser Border */ @media (prefers-color-scheme: dark) { #main-window:not([sizemode="fullscreen"]) #appcontent browser { border-radius: 15px !important; margin: 10px 10px 10px 10px !important; border: 3px solid rgba(0, 0, 0, 0); transition: border 0.3s ease; box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5); clip-path: circle(80%) !important; } #main-window:not([sizemode="fullscreen"]) #appcontent browser:hover { border: 3px solid rgba(183, 189, 248, 0.4); box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5); } } @media (prefers-color-scheme: light) { #main-window:not([sizemode="fullscreen"]) #appcontent browser { border-radius: 15px !important; margin: 10px 10px 10px 10px !important; border: 3px solid rgba(51, 51, 51, 0.1); transition: border 0.3s ease; box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); clip-path: circle(80%) !important; } #main-window:not([sizemode="fullscreen"]) #appcontent browser:hover { border: 3px solid rgba(51, 51, 51, 0.6); box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); } } /*============================================================================================*/ /* FIND BAR */ /* CTRL+F Search Bar Border */ @media (prefers-color-scheme: dark) { .browserContainer > findbar { border-radius: 15px !important; margin: 0px 15px 0px 15px !important; border: 3px solid rgba(0, 0, 0, 0) !important; transition: border 0.3s ease !important; box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5); background-image: none !important; background-color: #181926 !important; } .browserContainer > findbar:hover { border: 3px solid rgba(183, 189, 248, 0.4) !important; box-shadow: 0 0 10px 5px rgba(0, 0, 0, 0.5); } .browserContainer > findbar .findbar-container { background-color: #181926 !important; } } @media (prefers-color-scheme: light) { .browserContainer > findbar { border-radius: 15px !important; margin: 0px 15px 0px 15px !important; border: 3px solid rgba(51, 51, 51, 0.1) !important; transition: border 0.3s ease !important; box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); } .browserContainer > findbar:hover { border: 3px solid rgba(51, 51, 51, 0.6) !important; box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.5); } } /*------------------------------------------------*/ /* Text in the center */ .browserContainer > findbar .findbar-textbox { border-radius: 10px !important; text-align: center !important; }