Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- :root {
- --toolbarbutton-border-radius: 0px !important;
- /* --tab-border-radius: 2px !important; */
- --panel-border-radius: 0px !important;
- --panel-menuitem-border-radius: 0px !important;
- --popup-border-radius: 2px !important;
- --border-radius-xsmall: 1px !important;
- --border-radius-small: 2px !important;
- --border-radius-medium: 3px !important;
- --border-radius-large: 4px !important;
- --border-radius-xlarge: 5px !important;
- --border-radius-xxlarge: 6px !important;
- --tab-border-radius: var(--border-radius-small) !important;
- --button-border-radius: var(--border-radius-small) !important;
- --toolbarbutton-border-radius: var(--border-radius-small) !important;
- --card-border-radius: var(--border-radius-small) !important;
- --card-border-radius-compact: var(--border-radius-small) !important;
- --card-cover-image-border-radius: var(--border-radius-small) !important;
- --input-text-border-radius: var(--border-radius-small) !important;
- --menuitem-border-radius: var(--border-radius-small) !important;
- --popup-border-radius: var(--border-radius-small) !important;
- --panel-border-radius: var(--border-radius-small) !important;
- --panel-menuitem-border-radius: var(--border-radius-small) !important;
- --checkbox-border-radius: 0px !important;
- --input-search-border-radius: 0px !important;
- --urlbar-border-radius: 0px !important;
- --urlbar-inner-border-radius: 0px !important;
- --urlbarview-border-radius: 0px !important;
- --urlbar-selection-border-radius: 0px !important;
- --toolbox-background-gradient: none !important;
- --chrome-content-separator-color: transparent !important;
- --color-gray-0: #fbfbfe !important;
- --color-gray-20: #f0f0f4 !important;
- --color-gray-30: #bac2ca !important;
- --color-gray-50: #bfbfc9 !important;
- --color-gray-60: #8f8f9d !important;
- --color-gray-70: #5b5b66 !important;
- --color-gray-80: #23222b !important;
- --color-gray-90: #1c1b22 !important;
- --color-blue-0: oklch(97% 0.05 260) !important;
- --color-blue-10: oklch(90% 0.13 260) !important;
- --color-blue-20: oklch(83% 0.17 260) !important;
- --color-blue-30: oklch(76% 0.2 260) !important;
- --color-blue-40: oklch(69% 0.22 260) !important;
- --color-blue-50: oklch(62% 0.24 260) !important;
- --color-blue-60: oklch(55% 0.24 260) !important;
- --color-blue-70: oklch(48% 0.2 260) !important;
- --color-blue-80: oklch(41% 0.17 260) !important;
- --color-blue-90: oklch(34% 0.14 260) !important;
- --color-cyan-0: oklch(97% 0.05 205) !important;
- --color-cyan-10: oklch(90% 0.07 205) !important;
- --color-cyan-20: oklch(83% 0.11 205) !important;
- --color-cyan-30: oklch(76% 0.14 205) !important;
- --color-cyan-40: oklch(69% 0.19 205) !important;
- --color-cyan-50: oklch(62% 0.21 205) !important;
- --color-cyan-60: oklch(55% 0.21 205) !important;
- --color-cyan-70: oklch(48% 0.2 205) !important;
- --color-cyan-80: oklch(41% 0.17 205) !important;
- --color-cyan-90: oklch(34% 0.14 205) !important;
- --color-green-0: oklch(97% 0.05 145) !important;
- --color-green-10: oklch(90% 0.1 145) !important;
- --color-green-20: oklch(83% 0.14 145) !important;
- --color-green-30: oklch(76% 0.17 145) !important;
- --color-green-40: oklch(69% 0.19 145) !important;
- --color-green-50: oklch(62% 0.21 145) !important;
- --color-green-60: oklch(55% 0.21 145) !important;
- --color-green-70: oklch(48% 0.2 145) !important;
- --color-green-80: oklch(41% 0.17 145) !important;
- --color-green-90: oklch(34% 0.14 145) !important;
- --color-orange-0: oklch(97% 0.05 50) !important;
- --color-orange-10: oklch(90% 0.1 50) !important;
- --color-orange-20: oklch(86% 0.14 50) !important;
- --color-orange-30: oklch(79% 0.17 50) !important;
- --color-orange-40: oklch(72% 0.19 50) !important;
- --color-orange-50: oklch(65% 0.21 50) !important;
- --color-orange-60: oklch(58% 0.21 50) !important;
- --color-orange-70: oklch(48% 0.2 50) !important;
- --color-orange-80: oklch(41% 0.17 50) !important;
- --color-orange-90: oklch(34% 0.14 50) !important;
- --color-pink-0: oklch(97% 0.05 360) !important;
- --color-pink-10: oklch(90% 0.1 360) !important;
- --color-pink-20: oklch(83% 0.14 360) !important;
- --color-pink-30: oklch(76% 0.17 360) !important;
- --color-pink-40: oklch(69% 0.19 360) !important;
- --color-pink-50: oklch(62% 0.21 360) !important;
- --color-pink-60: oklch(55% 0.21 360) !important;
- --color-pink-70: oklch(48% 0.2 360) !important;
- --color-pink-80: oklch(41% 0.17 360) !important;
- --color-pink-90: oklch(34% 0.14 360) !important;
- --color-purple-0: oklch(97% 0.05 315) !important;
- --color-purple-10: oklch(90% 0.1 315) !important;
- --color-purple-20: oklch(83% 0.14 315) !important;
- --color-purple-30: oklch(76% 0.17 315) !important;
- --color-purple-40: oklch(69% 0.19 315) !important;
- --color-purple-50: oklch(62% 0.21 315) !important;
- --color-purple-60: oklch(55% 0.21 315) !important;
- --color-purple-70: oklch(48% 0.2 315) !important;
- --color-purple-80: oklch(41% 0.17 315) !important;
- --color-purple-90: oklch(34% 0.14 315) !important;
- --color-red-0: oklch(97% 0.05 15) !important;
- --color-red-10: oklch(90% 0.1 15) !important;
- --color-red-20: oklch(83% 0.14 15) !important;
- --color-red-30: oklch(76% 0.17 15) !important;
- --color-red-40: oklch(69% 0.19 15) !important;
- --color-red-50: oklch(62% 0.21 15) !important;
- --color-red-60: oklch(55% 0.21 15) !important;
- --color-red-70: oklch(48% 0.2 15) !important;
- --color-red-80: oklch(41% 0.17 15) !important;
- --color-red-90: oklch(34% 0.14 15) !important;
- --color-violet-0: oklch(97% 0.05 290) !important;
- --color-violet-10: oklch(90% 0.13 290) !important;
- --color-violet-20: oklch(83% 0.17 290) !important;
- --color-violet-30: oklch(76% 0.2 290) !important;
- --color-violet-40: oklch(69% 0.22 290) !important;
- --color-violet-50: oklch(62% 0.24 290) !important;
- --color-violet-60: oklch(55% 0.24 290) !important;
- --color-violet-70: oklch(48% 0.2 290) !important;
- --color-violet-80: oklch(41% 0.17 290) !important;
- --color-violet-90: oklch(34% 0.14 290) !important;
- --color-yellow-0: oklch(97% 0.05 90) !important;
- --color-yellow-10: oklch(93% 0.1 90) !important;
- --color-yellow-20: oklch(86% 0.14 90) !important;
- --color-yellow-30: oklch(79% 0.2 90) !important;
- --color-yellow-40: oklch(72% 0.22 90) !important;
- --color-yellow-50: oklch(65% 0.24 90) !important;
- --color-yellow-60: oklch(58% 0.24 90) !important;
- --color-yellow-70: oklch(51% 0.23 90) !important;
- --color-yellow-80: oklch(41% 0.2 90) !important;
- --color-yellow-90: oklch(34% 0.14 90) !important;
- --color-accent-primary: light-dark(oklch(55% 0.24 260), oklch(76% 0.14 205)) !important;
- --color-accent-primary-hover: light-dark(oklch(48% 0.2 260), oklch(83% 0.11 205)) !important;
- --color-accent-primary-active: light-dark(oklch(41% 0.17 260), oklch(90% 0.07 205)) !important;
- --color-accent-primary-selected: var(--color-accent-primary) !important;
- --color-accent-attention: light-dark(#2ac3a2, #54ffbd) !important;
- --focus-outline-color: light-dark(oklch(55% 0.24 260), oklch(76% 0.14 205)) !important;
- --text-color: light-dark(#15141a, #fbfbfe) !important;
- --text-color-accent-primary-selected: light-dark(#ffffff, #15141a) !important;
- --text-color-error: light-dark(var(--color-red-70), var(--color-red-20)) !important;
- --background-color-box: light-dark(#ffffff, #23222b) !important;
- --background-color-box-info: light-dark(var(--color-gray-20), var(--color-gray-80)) !important;
- --background-color-canvas: light-dark(#ffffff, #1c1b22) !important;
- --background-color-critical: light-dark(var(--color-red-0), var(--color-red-90)) !important;
- --background-color-information: light-dark(var(--color-blue-0), var(--color-blue-90)) !important;
- --background-color-success: light-dark(var(--color-green-0), var(--color-green-90)) !important;
- --background-color-warning: light-dark(var(--color-yellow-0), var(--color-yellow-90)) !important;
- --table-row-background-color-alternate: light-dark(#f0f0f4, var(--color-gray-80)) !important;
- --border-color: light-dark(var(--color-gray-50), var(--color-gray-70)) !important;
- --border-color-deemphasized: light-dark(var(--color-gray-30), var(--color-gray-70)) !important;
- --border-color-interactive: light-dark(var(--color-gray-60), var(--color-gray-50)) !important;
- --border-color-interactive-hover: var(--border-color-interactive) !important;
- --border-color-interactive-active: var(--border-color-interactive) !important;
- --border-color-interactive-disabled: var(--border-color-interactive) !important;
- --border-color-error: light-dark(var(--color-red-70), var(--color-red-20)) !important;
- --box-shadow-color-darker-layer-1: light-dark(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.2)) !important;
- --box-shadow-color-darker-layer-2: light-dark(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)) !important;
- --box-shadow-color-lighter-layer-1: light-dark(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.15)) !important;
- --box-shadow-color-lighter-layer-2: light-dark(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.2)) !important;
- --button-background-color: color-mix(in srgb, currentColor 7%, transparent) !important;
- --button-background-color-hover: color-mix(in srgb, currentColor 14%, transparent) !important;
- --button-background-color-active: color-mix(in srgb, currentColor 21%, transparent) !important;
- --button-background-color-ghost: transparent !important;
- --button-background-color-ghost-hover: var(--button-background-color-hover) !important;
- --button-background-color-ghost-active: var(--button-background-color-active) !important;
- --button-background-color-ghost-selected: var(--button-background-color-ghost-active) !important;
- --button-background-color-muted: var(--button-background-color) !important;
- --button-background-color-muted-hover: var(--button-background-color-hover) !important;
- --button-background-color-muted-active: var(--button-background-color-active) !important;
- --button-background-color-muted-disabled: var(--button-background-color-disabled) !important;
- --button-background-color-primary-disabled: var(--button-background-color-primary) !important;
- --button-background-color-destructive: light-dark(var(--color-red-60), var(--color-red-30)) !important;
- --button-background-color-destructive-hover: light-dark(var(--color-red-70), var(--color-red-20)) !important;
- --button-background-color-destructive-active: light-dark(var(--color-red-80), var(--color-red-10)) !important;
- --button-border-color: transparent !important;
- --button-border-color-destructive: transparent !important;
- --button-border-color-destructive-selected: var(--button-border-color-destructive-active) !important;
- --button-border-color-ghost: var(--button-border-color) !important;
- --button-border-color-ghost-hover: var(--button-border-color-hover) !important;
- --button-border-color-ghost-active: var(--button-border-color-active) !important;
- --button-border-color-ghost-disabled: var(--button-border-color-disabled) !important;
- --button-border-color-ghost-selected: var(--button-border-color-ghost-active) !important;
- --button-border-color-muted: var(--button-border-color) !important;
- --button-border-color-muted-hover: var(--button-border-color-hover) !important;
- --button-border-color-muted-active: var(--button-border-color-active) !important;
- --button-border-color-muted-disabled: var(--button-border-color-disabled) !important;
- --button-border-color-muted-selected: var(--button-border-color-muted-active) !important;
- --button-border-color-primary: transparent !important;
- --button-border-color-primary-selected: var(--button-border-color-primary-active) !important;
- --button-border-color-selected: var(--button-border-color-active) !important;
- --button-border-width-split: var(--border-width) !important;
- --button-gap-split: var(--space-xxsmall) !important;
- --button-padding-inline-small: var(--button-padding-inline) !important;
- --button-split-separator-background-color: transparent !important;
- --button-text-color: light-dark(#15141a, #fbfbfe) !important;
- --button-text-color-primary: light-dark(#ffffff, #15141a) !important;
- --button-text-color-primary-active: var(--button-text-color-primary-hover) !important;
- --button-text-color-ghost: inherit !important;
- --button-text-color-ghost-hover: inherit !important;
- --button-text-color-ghost-active: inherit !important;
- --button-text-color-ghost-disabled: inherit !important;
- --button-text-color-menu-hover: var(--button-text-color-ghost-hover) !important;
- --button-text-color-menu-active: var(--button-text-color-ghost-active) !important;
- --button-text-color-menu-disabled: var(--button-text-color-ghost-disabled) !important;
- --button-text-color-menu-selected: var(--button-text-color-ghost-selected) !important;
- --button-text-color-muted-hover: var(--button-text-color-hover) !important;
- --button-text-color-muted-active: var(--button-text-color-active) !important;
- --button-text-color-muted-disabled: var(--button-text-color-disabled) !important;
- --button-text-color-selected: var(--button-text-color-active) !important;
- --button-text-color-destructive: light-dark(#ffffff, #15141a) !important;
- --button-text-color-destructive-selected: var(--button-text-color-destructive-active) !important;
- --card-gap: var(--card-padding) !important;
- --card-header-background-color: initial !important;
- --icon-color: light-dark(var(--color-gray-70), var(--color-gray-0)) !important;
- --icon-color-critical: light-dark(var(--color-red-60), var(--color-red-20)) !important;
- --icon-color-information: light-dark(var(--color-blue-60), var(--color-blue-20)) !important;
- --icon-color-success: light-dark(var(--color-green-60), var(--color-green-20)) !important;
- --icon-color-warning: light-dark(var(--color-yellow-60), var(--color-yellow-20)) !important;
- --info-bar-margin: 4px !important;
- --input-search-icon-size: var(--input-text-icon-size) !important;
- --input-text-background-color: light-dark(#ffffff, #42414d) !important;
- --input-text-background-color-disabled: var(--button-background-color-disabled) !important;
- --toolbox-background-color: light-dark(rgb(234, 234, 237), #1c1b22) !important;
- --toolbox-background-color-inactive: light-dark(rgb(235, 235, 239), rgb(31, 30, 37)) !important;
- --toolbox-text-color: light-dark(#15141a, #fbfbfe) !important;
- --toolbox-text-color-inactive: light-dark(#15141a, #fbfbfe) !important;
- --toolbox-text-color-current: currentColor !important;
- --toolbar-background-color: light-dark(#f9f9fb, rgb(43, 42, 51)) !important;
- --toolbar-text-color: light-dark(#15141a, #fbfbfe) !important;
- --toolbar-padding-inline: 8px !important;
- --toolbar-field-background-color: light-dark(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.3)) !important;
- --toolbar-field-background-color-focus: light-dark(#ffffff, rgb(66, 65, 77)) !important;
- --toolbar-field-border-color: transparent !important;
- --toolbar-field-border-color-focus: color-mix(in srgb, var(--focus-outline-color) 50%, transparent) !important;
- --toolbar-field-text-color: light-dark(#15141a, #fbfbfe) !important;
- --toolbar-field-text-color-focus: light-dark(#000000, #fbfbfe) !important;
- --panel-background-color: light-dark(#ffffff, rgb(66, 65, 77)) !important;
- --panel-border-color: light-dark(rgb(240, 240, 244), rgb(82, 82, 94)) !important;
- --panel-text-color: light-dark(#000000, rgb(251, 251, 254)) !important;
- --popup-border-color: light-dark(rgb(240, 240, 244), rgb(82, 82, 94)) !important;
- --sidebar-border-color: var(--card-border-color) !important;
- --toolbarbutton-background-color-hover: color-mix(in srgb, currentColor 17%, transparent) !important;
- --toolbarbutton-background-color-active: color-mix(in srgb, currentColor 30%, transparent) !important;
- --toolbarbutton-icon-fill: light-dark(#5b5b66, #fbfbfe) !important;
- --toolbarbutton-icon-fill-attention: light-dark(oklch(55% 0.24 260), oklch(76% 0.14 205)) !important;
- --toolbarbutton-opacity-disabled: var(--button-opacity-disabled) !important;
- --toolbarbutton-outline-color: transparent !important;
- --toolbarbutton-outline-color-selected: var(--toolbarbutton-outline-color-active) !important;
- --toolbarbutton-outline-offset: calc(-1 * var(--border-width)) !important;
- --tab-background-color-hover: color-mix(in srgb, currentColor 11%, transparent) !important;
- --tab-background-color-selected: light-dark(#ffffff, rgba(106, 106, 120, 0.7)) !important;
- --tab-selected-textcolor: light-dark(rgb(21, 20, 26), #ffffff) !important;
- --tab-border-color-selected-leading: transparent !important;
- --tab-border-color-selected-trailing: transparent !important;
- }
- :root,
- #sidebar-container {
- --chrome-window-gap: 0px !important;
- --chrome-block-radius: 0px !important;
- }
- :root[uidensity="compact"] {
- --tab-min-height: 29px !important;
- --tab-margin-block: 0px !important;
- --tab-inline-padding: 8px !important;
- --tab-group-label-size: 24px !important;
- --urlbar-height: max(26px, 1.4em) !important;
- }
- .urlbar-background {
- border-radius: 0 !important;
- }
- #alltabs-button {
- display: none !important;
- }
- .tab-icon-overlay {
- border: none !important;
- background-color: transparent !important;
- fill: #cccbd0 !important;
- }
- .tab-icon-overlay[soundplaying],
- .tab-icon-overlay[muted] {
- fill: #cccbd0 !important;
- }
- .tab-audio-button {
- order: -1;
- }
- .urlbarView-row .urlbarView-url {
- color: #0bcae9 !important;
- }
- .tabbrowser-tab,
- .tabbrowser-tab[selected="true"],
- .tab-background,
- .tab-background[selected="true"] {
- border-radius: 0 !important;
- }
- .tabbrowser-tab {
- appearance: none !important;
- }
- #urlbar-input::selection,
- .urlbar-input::selection,
- .searchbar-textbox::selection,
- #urlbar-input:not(:focus)::selection,
- .urlbar-input:not(:focus)::selection,
- .searchbar-textbox:not(:focus-within)::selection {
- background-color: #2e7183 !important;
- color: #ffffff !important;
- }
- toolbarseparator.proton-zap::before {
- border-image: var(--panel-separator-zap-gradient, none) 1 !important;
- }
- #navigator-toolbox,
- #titlebar,
- #TabsToolbar {
- background-color: var(--toolbox-background-color) !important;
- background-image: none !important;
- }
- #navigator-toolbox {
- margin: 0 !important;
- border: none !important;
- border-radius: 0 !important;
- }
- #browser {
- padding: 0 !important;
- gap: 0 !important;
- border-radius: 0 !important;
- }
- .chrome-block,
- #tabbrowser-tabpanels> :not(.split-view-panel) .browserContainer {
- border: none !important;
- border-radius: 0 !important;
- }
- #tabbrowser-tabbox {
- border-radius: 0 !important;
- }
- #nav-bar {
- border-top: none !important;
- background-color: var(--toolbar-background-color) !important;
- padding-block: 6px !important;
- box-sizing: content-box !important;
- }
- /* ==========================================================================
- AUTOHIDE BOOKMARKS TOOLBAR ONLY
- ========================================================================== */
- #PersonalToolbar {
- --uc-autohide-toolbar-delay: 500ms;
- --uc-autohide-duration: 200ms;
- }
- #PersonalToolbar:not([customizing]) {
- position: relative !important;
- transform: rotateX(90deg) !important;
- transform-origin: top !important;
- z-index: 10 !important;
- background-color: var(--toolbar-background-color) !important;
- background-image: none !important;
- /* Animate both the 3D flip and the layout margin so neither snaps abruptly */
- transition:
- transform var(--uc-autohide-duration) ease-in var(--uc-autohide-toolbar-delay),
- margin-bottom var(--uc-autohide-duration) ease-in var(--uc-autohide-toolbar-delay) !important;
- }
- /* Hidden state: margin collapses gracefully alongside the rotation */
- #PersonalToolbar:not([customizing]):not(:hover) {
- margin-bottom: calc(-2 * var(--bookmark-block-padding, 4px) - 26px) !important;
- }
- /* Hover/active state: snappy entry without delay */
- #navigator-toolbox:hover > #PersonalToolbar,
- #navigator-toolbox:focus-within > #PersonalToolbar {
- transform: rotateX(0deg) !important;
- margin-bottom: 0 !important;
- transition:
- transform 140ms ease-out 60ms,
- margin-bottom 140ms ease-out 60ms !important;
- }
- /* ==========================================================================
- MULTI-ROW BOOKMARKS TOOLBAR
- ========================================================================== */
- #PersonalToolbar {
- --multirow-bmb-n-rows: 3; /* Maximum visible rows before scrolling */
- --multirow-bmb-row-margin: 1px; /* Spacing between rows */
- max-height: none !important;
- }
- :root[BookmarksToolbarOverlapsBrowser] :where(#PersonalToolbar) {
- height: unset !important;
- }
- /* Allow toolbar items container to wrap onto new lines */
- #PlacesToolbar > hbox:not(#PlacesToolbarDropIndicatorHolder) {
- display: block !important;
- width: 100vw !important;
- }
- #PlacesToolbarItems {
- display: flex !important;
- flex-wrap: wrap !important;
- max-height: calc(
- var(--multirow-bmb-n-rows) * (6px + 1.2em + (2 * (var(--multirow-bmb-row-margin) + var(--uc-bm-padding))))
- ) !important;
- overflow-y: auto !important;
- scrollbar-width: thin !important;
- scrollbar-color: var(--border-color-interactive) transparent !important;
- }
- /* Hide the overflow drop-down chevron button */
- #PlacesChevron {
- display: none !important;
- }
- /* Bookmark item row margins */
- #PlacesToolbarItems > .bookmark-item {
- margin: var(--multirow-bmb-row-margin) 1px !important;
- visibility: visible !important;
- }
Advertisement
Add Comment
Please, Sign In to add comment