Guest User

Firefox 157 - Autohide + multi-row bookmark bar + square-ish tabs

a guest
Sep 30th, 2026
103
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 21.36 KB | None | 0 0
  1. :root {
  2.   --toolbarbutton-border-radius: 0px !important;
  3.   /* --tab-border-radius: 2px !important; */
  4.   --panel-border-radius: 0px !important;
  5.   --panel-menuitem-border-radius: 0px !important;
  6.   --popup-border-radius: 2px !important;
  7.  
  8.   --border-radius-xsmall: 1px !important;
  9.   --border-radius-small: 2px !important;
  10.   --border-radius-medium: 3px !important;
  11.   --border-radius-large: 4px !important;
  12.   --border-radius-xlarge: 5px !important;
  13.   --border-radius-xxlarge: 6px !important;
  14.   --tab-border-radius: var(--border-radius-small) !important;
  15.   --button-border-radius: var(--border-radius-small) !important;
  16.   --toolbarbutton-border-radius: var(--border-radius-small) !important;
  17.  
  18.   --card-border-radius: var(--border-radius-small) !important;
  19.   --card-border-radius-compact: var(--border-radius-small) !important;
  20.   --card-cover-image-border-radius: var(--border-radius-small) !important;
  21.  
  22.   --input-text-border-radius: var(--border-radius-small) !important;
  23.  
  24.   --menuitem-border-radius: var(--border-radius-small) !important;
  25.  
  26.   --popup-border-radius: var(--border-radius-small) !important;
  27.   --panel-border-radius: var(--border-radius-small) !important;
  28.   --panel-menuitem-border-radius: var(--border-radius-small) !important;
  29.  
  30.  
  31.  
  32.   --checkbox-border-radius: 0px !important;
  33.  
  34.   --input-search-border-radius: 0px !important;
  35.  
  36.   --urlbar-border-radius: 0px !important;
  37.   --urlbar-inner-border-radius: 0px !important;
  38.   --urlbarview-border-radius: 0px !important;
  39.   --urlbar-selection-border-radius: 0px !important;
  40.  
  41.   --toolbox-background-gradient: none !important;
  42.  
  43.   --chrome-content-separator-color: transparent !important;
  44.  
  45.   --color-gray-0: #fbfbfe !important;
  46.   --color-gray-20: #f0f0f4 !important;
  47.   --color-gray-30: #bac2ca !important;
  48.   --color-gray-50: #bfbfc9 !important;
  49.   --color-gray-60: #8f8f9d !important;
  50.   --color-gray-70: #5b5b66 !important;
  51.   --color-gray-80: #23222b !important;
  52.   --color-gray-90: #1c1b22 !important;
  53.   --color-blue-0: oklch(97% 0.05 260) !important;
  54.   --color-blue-10: oklch(90% 0.13 260) !important;
  55.   --color-blue-20: oklch(83% 0.17 260) !important;
  56.   --color-blue-30: oklch(76% 0.2 260) !important;
  57.   --color-blue-40: oklch(69% 0.22 260) !important;
  58.   --color-blue-50: oklch(62% 0.24 260) !important;
  59.   --color-blue-60: oklch(55% 0.24 260) !important;
  60.   --color-blue-70: oklch(48% 0.2 260) !important;
  61.   --color-blue-80: oklch(41% 0.17 260) !important;
  62.   --color-blue-90: oklch(34% 0.14 260) !important;
  63.   --color-cyan-0: oklch(97% 0.05 205) !important;
  64.   --color-cyan-10: oklch(90% 0.07 205) !important;
  65.   --color-cyan-20: oklch(83% 0.11 205) !important;
  66.   --color-cyan-30: oklch(76% 0.14 205) !important;
  67.   --color-cyan-40: oklch(69% 0.19 205) !important;
  68.   --color-cyan-50: oklch(62% 0.21 205) !important;
  69.   --color-cyan-60: oklch(55% 0.21 205) !important;
  70.   --color-cyan-70: oklch(48% 0.2 205) !important;
  71.   --color-cyan-80: oklch(41% 0.17 205) !important;
  72.   --color-cyan-90: oklch(34% 0.14 205) !important;
  73.   --color-green-0: oklch(97% 0.05 145) !important;
  74.   --color-green-10: oklch(90% 0.1 145) !important;
  75.   --color-green-20: oklch(83% 0.14 145) !important;
  76.   --color-green-30: oklch(76% 0.17 145) !important;
  77.   --color-green-40: oklch(69% 0.19 145) !important;
  78.   --color-green-50: oklch(62% 0.21 145) !important;
  79.   --color-green-60: oklch(55% 0.21 145) !important;
  80.   --color-green-70: oklch(48% 0.2 145) !important;
  81.   --color-green-80: oklch(41% 0.17 145) !important;
  82.   --color-green-90: oklch(34% 0.14 145) !important;
  83.   --color-orange-0: oklch(97% 0.05 50) !important;
  84.   --color-orange-10: oklch(90% 0.1 50) !important;
  85.   --color-orange-20: oklch(86% 0.14 50) !important;
  86.   --color-orange-30: oklch(79% 0.17 50) !important;
  87.   --color-orange-40: oklch(72% 0.19 50) !important;
  88.   --color-orange-50: oklch(65% 0.21 50) !important;
  89.   --color-orange-60: oklch(58% 0.21 50) !important;
  90.   --color-orange-70: oklch(48% 0.2 50) !important;
  91.   --color-orange-80: oklch(41% 0.17 50) !important;
  92.   --color-orange-90: oklch(34% 0.14 50) !important;
  93.   --color-pink-0: oklch(97% 0.05 360) !important;
  94.   --color-pink-10: oklch(90% 0.1 360) !important;
  95.   --color-pink-20: oklch(83% 0.14 360) !important;
  96.   --color-pink-30: oklch(76% 0.17 360) !important;
  97.   --color-pink-40: oklch(69% 0.19 360) !important;
  98.   --color-pink-50: oklch(62% 0.21 360) !important;
  99.   --color-pink-60: oklch(55% 0.21 360) !important;
  100.   --color-pink-70: oklch(48% 0.2 360) !important;
  101.   --color-pink-80: oklch(41% 0.17 360) !important;
  102.   --color-pink-90: oklch(34% 0.14 360) !important;
  103.   --color-purple-0: oklch(97% 0.05 315) !important;
  104.   --color-purple-10: oklch(90% 0.1 315) !important;
  105.   --color-purple-20: oklch(83% 0.14 315) !important;
  106.   --color-purple-30: oklch(76% 0.17 315) !important;
  107.   --color-purple-40: oklch(69% 0.19 315) !important;
  108.   --color-purple-50: oklch(62% 0.21 315) !important;
  109.   --color-purple-60: oklch(55% 0.21 315) !important;
  110.   --color-purple-70: oklch(48% 0.2 315) !important;
  111.   --color-purple-80: oklch(41% 0.17 315) !important;
  112.   --color-purple-90: oklch(34% 0.14 315) !important;
  113.   --color-red-0: oklch(97% 0.05 15) !important;
  114.   --color-red-10: oklch(90% 0.1 15) !important;
  115.   --color-red-20: oklch(83% 0.14 15) !important;
  116.   --color-red-30: oklch(76% 0.17 15) !important;
  117.   --color-red-40: oklch(69% 0.19 15) !important;
  118.   --color-red-50: oklch(62% 0.21 15) !important;
  119.   --color-red-60: oklch(55% 0.21 15) !important;
  120.   --color-red-70: oklch(48% 0.2 15) !important;
  121.   --color-red-80: oklch(41% 0.17 15) !important;
  122.   --color-red-90: oklch(34% 0.14 15) !important;
  123.   --color-violet-0: oklch(97% 0.05 290) !important;
  124.   --color-violet-10: oklch(90% 0.13 290) !important;
  125.   --color-violet-20: oklch(83% 0.17 290) !important;
  126.   --color-violet-30: oklch(76% 0.2 290) !important;
  127.   --color-violet-40: oklch(69% 0.22 290) !important;
  128.   --color-violet-50: oklch(62% 0.24 290) !important;
  129.   --color-violet-60: oklch(55% 0.24 290) !important;
  130.   --color-violet-70: oklch(48% 0.2 290) !important;
  131.   --color-violet-80: oklch(41% 0.17 290) !important;
  132.   --color-violet-90: oklch(34% 0.14 290) !important;
  133.   --color-yellow-0: oklch(97% 0.05 90) !important;
  134.   --color-yellow-10: oklch(93% 0.1 90) !important;
  135.   --color-yellow-20: oklch(86% 0.14 90) !important;
  136.   --color-yellow-30: oklch(79% 0.2 90) !important;
  137.   --color-yellow-40: oklch(72% 0.22 90) !important;
  138.   --color-yellow-50: oklch(65% 0.24 90) !important;
  139.   --color-yellow-60: oklch(58% 0.24 90) !important;
  140.   --color-yellow-70: oklch(51% 0.23 90) !important;
  141.   --color-yellow-80: oklch(41% 0.2 90) !important;
  142.   --color-yellow-90: oklch(34% 0.14 90) !important;
  143.  
  144.   --color-accent-primary: light-dark(oklch(55% 0.24 260), oklch(76% 0.14 205)) !important;
  145.   --color-accent-primary-hover: light-dark(oklch(48% 0.2 260), oklch(83% 0.11 205)) !important;
  146.   --color-accent-primary-active: light-dark(oklch(41% 0.17 260), oklch(90% 0.07 205)) !important;
  147.   --color-accent-primary-selected: var(--color-accent-primary) !important;
  148.   --color-accent-attention: light-dark(#2ac3a2, #54ffbd) !important;
  149.   --focus-outline-color: light-dark(oklch(55% 0.24 260), oklch(76% 0.14 205)) !important;
  150.   --text-color: light-dark(#15141a, #fbfbfe) !important;
  151.   --text-color-accent-primary-selected: light-dark(#ffffff, #15141a) !important;
  152.   --text-color-error: light-dark(var(--color-red-70), var(--color-red-20)) !important;
  153.  
  154.   --background-color-box: light-dark(#ffffff, #23222b) !important;
  155.   --background-color-box-info: light-dark(var(--color-gray-20), var(--color-gray-80)) !important;
  156.   --background-color-canvas: light-dark(#ffffff, #1c1b22) !important;
  157.   --background-color-critical: light-dark(var(--color-red-0), var(--color-red-90)) !important;
  158.   --background-color-information: light-dark(var(--color-blue-0), var(--color-blue-90)) !important;
  159.   --background-color-success: light-dark(var(--color-green-0), var(--color-green-90)) !important;
  160.   --background-color-warning: light-dark(var(--color-yellow-0), var(--color-yellow-90)) !important;
  161.   --table-row-background-color-alternate: light-dark(#f0f0f4, var(--color-gray-80)) !important;
  162.  
  163.   --border-color: light-dark(var(--color-gray-50), var(--color-gray-70)) !important;
  164.   --border-color-deemphasized: light-dark(var(--color-gray-30), var(--color-gray-70)) !important;
  165.   --border-color-interactive: light-dark(var(--color-gray-60), var(--color-gray-50)) !important;
  166.   --border-color-interactive-hover: var(--border-color-interactive) !important;
  167.   --border-color-interactive-active: var(--border-color-interactive) !important;
  168.   --border-color-interactive-disabled: var(--border-color-interactive) !important;
  169.   --border-color-error: light-dark(var(--color-red-70), var(--color-red-20)) !important;
  170.  
  171.   --box-shadow-color-darker-layer-1: light-dark(rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0.2)) !important;
  172.   --box-shadow-color-darker-layer-2: light-dark(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.4)) !important;
  173.   --box-shadow-color-lighter-layer-1: light-dark(rgba(0, 0, 0, 0.03), rgba(0, 0, 0, 0.15)) !important;
  174.   --box-shadow-color-lighter-layer-2: light-dark(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.2)) !important;
  175.  
  176.   --button-background-color: color-mix(in srgb, currentColor 7%, transparent) !important;
  177.   --button-background-color-hover: color-mix(in srgb, currentColor 14%, transparent) !important;
  178.   --button-background-color-active: color-mix(in srgb, currentColor 21%, transparent) !important;
  179.   --button-background-color-ghost: transparent !important;
  180.   --button-background-color-ghost-hover: var(--button-background-color-hover) !important;
  181.   --button-background-color-ghost-active: var(--button-background-color-active) !important;
  182.   --button-background-color-ghost-selected: var(--button-background-color-ghost-active) !important;
  183.   --button-background-color-muted: var(--button-background-color) !important;
  184.   --button-background-color-muted-hover: var(--button-background-color-hover) !important;
  185.   --button-background-color-muted-active: var(--button-background-color-active) !important;
  186.   --button-background-color-muted-disabled: var(--button-background-color-disabled) !important;
  187.   --button-background-color-primary-disabled: var(--button-background-color-primary) !important;
  188.   --button-background-color-destructive: light-dark(var(--color-red-60), var(--color-red-30)) !important;
  189.   --button-background-color-destructive-hover: light-dark(var(--color-red-70), var(--color-red-20)) !important;
  190.   --button-background-color-destructive-active: light-dark(var(--color-red-80), var(--color-red-10)) !important;
  191.   --button-border-color: transparent !important;
  192.   --button-border-color-destructive: transparent !important;
  193.   --button-border-color-destructive-selected: var(--button-border-color-destructive-active) !important;
  194.   --button-border-color-ghost: var(--button-border-color) !important;
  195.   --button-border-color-ghost-hover: var(--button-border-color-hover) !important;
  196.   --button-border-color-ghost-active: var(--button-border-color-active) !important;
  197.   --button-border-color-ghost-disabled: var(--button-border-color-disabled) !important;
  198.   --button-border-color-ghost-selected: var(--button-border-color-ghost-active) !important;
  199.   --button-border-color-muted: var(--button-border-color) !important;
  200.   --button-border-color-muted-hover: var(--button-border-color-hover) !important;
  201.   --button-border-color-muted-active: var(--button-border-color-active) !important;
  202.   --button-border-color-muted-disabled: var(--button-border-color-disabled) !important;
  203.   --button-border-color-muted-selected: var(--button-border-color-muted-active) !important;
  204.   --button-border-color-primary: transparent !important;
  205.   --button-border-color-primary-selected: var(--button-border-color-primary-active) !important;
  206.   --button-border-color-selected: var(--button-border-color-active) !important;
  207.   --button-border-width-split: var(--border-width) !important;
  208.   --button-gap-split: var(--space-xxsmall) !important;
  209.   --button-padding-inline-small: var(--button-padding-inline) !important;
  210.   --button-split-separator-background-color: transparent !important;
  211.   --button-text-color: light-dark(#15141a, #fbfbfe) !important;
  212.   --button-text-color-primary: light-dark(#ffffff, #15141a) !important;
  213.   --button-text-color-primary-active: var(--button-text-color-primary-hover) !important;
  214.   --button-text-color-ghost: inherit !important;
  215.   --button-text-color-ghost-hover: inherit !important;
  216.   --button-text-color-ghost-active: inherit !important;
  217.   --button-text-color-ghost-disabled: inherit !important;
  218.   --button-text-color-menu-hover: var(--button-text-color-ghost-hover) !important;
  219.   --button-text-color-menu-active: var(--button-text-color-ghost-active) !important;
  220.   --button-text-color-menu-disabled: var(--button-text-color-ghost-disabled) !important;
  221.   --button-text-color-menu-selected: var(--button-text-color-ghost-selected) !important;
  222.   --button-text-color-muted-hover: var(--button-text-color-hover) !important;
  223.   --button-text-color-muted-active: var(--button-text-color-active) !important;
  224.   --button-text-color-muted-disabled: var(--button-text-color-disabled) !important;
  225.   --button-text-color-selected: var(--button-text-color-active) !important;
  226.   --button-text-color-destructive: light-dark(#ffffff, #15141a) !important;
  227.   --button-text-color-destructive-selected: var(--button-text-color-destructive-active) !important;
  228.  
  229.   --card-gap: var(--card-padding) !important;
  230.   --card-header-background-color: initial !important;
  231.  
  232.   --icon-color: light-dark(var(--color-gray-70), var(--color-gray-0)) !important;
  233.   --icon-color-critical: light-dark(var(--color-red-60), var(--color-red-20)) !important;
  234.   --icon-color-information: light-dark(var(--color-blue-60), var(--color-blue-20)) !important;
  235.   --icon-color-success: light-dark(var(--color-green-60), var(--color-green-20)) !important;
  236.   --icon-color-warning: light-dark(var(--color-yellow-60), var(--color-yellow-20)) !important;
  237.  
  238.   --info-bar-margin: 4px !important;
  239.   --input-search-icon-size: var(--input-text-icon-size) !important;
  240.   --input-text-background-color: light-dark(#ffffff, #42414d) !important;
  241.   --input-text-background-color-disabled: var(--button-background-color-disabled) !important;
  242.  
  243.   --toolbox-background-color: light-dark(rgb(234, 234, 237), #1c1b22) !important;
  244.   --toolbox-background-color-inactive: light-dark(rgb(235, 235, 239), rgb(31, 30, 37)) !important;
  245.   --toolbox-text-color: light-dark(#15141a, #fbfbfe) !important;
  246.   --toolbox-text-color-inactive: light-dark(#15141a, #fbfbfe) !important;
  247.   --toolbox-text-color-current: currentColor !important;
  248.  
  249.   --toolbar-background-color: light-dark(#f9f9fb, rgb(43, 42, 51)) !important;
  250.   --toolbar-text-color: light-dark(#15141a, #fbfbfe) !important;
  251.   --toolbar-padding-inline: 8px !important;
  252.  
  253.   --toolbar-field-background-color: light-dark(rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.3)) !important;
  254.   --toolbar-field-background-color-focus: light-dark(#ffffff, rgb(66, 65, 77)) !important;
  255.   --toolbar-field-border-color: transparent !important;
  256.   --toolbar-field-border-color-focus: color-mix(in srgb, var(--focus-outline-color) 50%, transparent) !important;
  257.   --toolbar-field-text-color: light-dark(#15141a, #fbfbfe) !important;
  258.   --toolbar-field-text-color-focus: light-dark(#000000, #fbfbfe) !important;
  259.  
  260.   --panel-background-color: light-dark(#ffffff, rgb(66, 65, 77)) !important;
  261.   --panel-border-color: light-dark(rgb(240, 240, 244), rgb(82, 82, 94)) !important;
  262.   --panel-text-color: light-dark(#000000, rgb(251, 251, 254)) !important;
  263.   --popup-border-color: light-dark(rgb(240, 240, 244), rgb(82, 82, 94)) !important;
  264.   --sidebar-border-color: var(--card-border-color) !important;
  265.  
  266.   --toolbarbutton-background-color-hover: color-mix(in srgb, currentColor 17%, transparent) !important;
  267.   --toolbarbutton-background-color-active: color-mix(in srgb, currentColor 30%, transparent) !important;
  268.   --toolbarbutton-icon-fill: light-dark(#5b5b66, #fbfbfe) !important;
  269.   --toolbarbutton-icon-fill-attention: light-dark(oklch(55% 0.24 260), oklch(76% 0.14 205)) !important;
  270.   --toolbarbutton-opacity-disabled: var(--button-opacity-disabled) !important;
  271.   --toolbarbutton-outline-color: transparent !important;
  272.   --toolbarbutton-outline-color-selected: var(--toolbarbutton-outline-color-active) !important;
  273.   --toolbarbutton-outline-offset: calc(-1 * var(--border-width)) !important;
  274.  
  275.   --tab-background-color-hover: color-mix(in srgb, currentColor 11%, transparent) !important;
  276.   --tab-background-color-selected: light-dark(#ffffff, rgba(106, 106, 120, 0.7)) !important;
  277.   --tab-selected-textcolor: light-dark(rgb(21, 20, 26), #ffffff) !important;
  278.   --tab-border-color-selected-leading: transparent !important;
  279.   --tab-border-color-selected-trailing: transparent !important;
  280. }
  281.  
  282. :root,
  283. #sidebar-container {
  284.   --chrome-window-gap: 0px !important;
  285.   --chrome-block-radius: 0px !important;
  286. }
  287.  
  288. :root[uidensity="compact"] {
  289.   --tab-min-height: 29px !important;
  290.   --tab-margin-block: 0px !important;
  291.   --tab-inline-padding: 8px !important;
  292.   --tab-group-label-size: 24px !important;
  293.   --urlbar-height: max(26px, 1.4em) !important;
  294. }
  295.  
  296. .urlbar-background {
  297.   border-radius: 0 !important;
  298. }
  299.  
  300. #alltabs-button {
  301.   display: none !important;
  302. }
  303.  
  304. .tab-icon-overlay {
  305.   border: none !important;
  306.   background-color: transparent !important;
  307.   fill: #cccbd0 !important;
  308. }
  309.  
  310. .tab-icon-overlay[soundplaying],
  311. .tab-icon-overlay[muted] {
  312.   fill: #cccbd0 !important;
  313. }
  314.  
  315. .tab-audio-button {
  316.   order: -1;
  317. }
  318.  
  319. .urlbarView-row .urlbarView-url {
  320.   color: #0bcae9 !important;
  321. }
  322.  
  323. .tabbrowser-tab,
  324. .tabbrowser-tab[selected="true"],
  325. .tab-background,
  326. .tab-background[selected="true"] {
  327.   border-radius: 0 !important;
  328. }
  329.  
  330. .tabbrowser-tab {
  331.   appearance: none !important;
  332. }
  333.  
  334. #urlbar-input::selection,
  335. .urlbar-input::selection,
  336. .searchbar-textbox::selection,
  337. #urlbar-input:not(:focus)::selection,
  338. .urlbar-input:not(:focus)::selection,
  339. .searchbar-textbox:not(:focus-within)::selection {
  340.   background-color: #2e7183 !important;
  341.   color: #ffffff !important;
  342. }
  343.  
  344. toolbarseparator.proton-zap::before {
  345.   border-image: var(--panel-separator-zap-gradient, none) 1 !important;
  346. }
  347.  
  348. #navigator-toolbox,
  349. #titlebar,
  350. #TabsToolbar {
  351.   background-color: var(--toolbox-background-color) !important;
  352.   background-image: none !important;
  353. }
  354.  
  355. #navigator-toolbox {
  356.   margin: 0 !important;
  357.   border: none !important;
  358.   border-radius: 0 !important;
  359. }
  360.  
  361. #browser {
  362.   padding: 0 !important;
  363.   gap: 0 !important;
  364.   border-radius: 0 !important;
  365. }
  366.  
  367. .chrome-block,
  368. #tabbrowser-tabpanels> :not(.split-view-panel) .browserContainer {
  369.   border: none !important;
  370.   border-radius: 0 !important;
  371. }
  372.  
  373. #tabbrowser-tabbox {
  374.   border-radius: 0 !important;
  375. }
  376.  
  377. #nav-bar {
  378.   border-top: none !important;
  379.   background-color: var(--toolbar-background-color) !important;
  380.   padding-block: 6px !important;
  381.   box-sizing: content-box !important;
  382. }
  383.  
  384.  
  385. /* ==========================================================================
  386.    AUTOHIDE BOOKMARKS TOOLBAR ONLY
  387.    ========================================================================== */
  388. #PersonalToolbar {
  389.   --uc-autohide-toolbar-delay: 500ms;
  390.   --uc-autohide-duration: 200ms;
  391. }
  392.  
  393. #PersonalToolbar:not([customizing]) {
  394.   position: relative !important;
  395.   transform: rotateX(90deg) !important;
  396.   transform-origin: top !important;
  397.   z-index: 10 !important;
  398.   background-color: var(--toolbar-background-color) !important;
  399.   background-image: none !important;
  400.  
  401.   /* Animate both the 3D flip and the layout margin so neither snaps abruptly */
  402.   transition:
  403.     transform var(--uc-autohide-duration) ease-in var(--uc-autohide-toolbar-delay),
  404.     margin-bottom var(--uc-autohide-duration) ease-in var(--uc-autohide-toolbar-delay) !important;
  405. }
  406.  
  407. /* Hidden state: margin collapses gracefully alongside the rotation */
  408. #PersonalToolbar:not([customizing]):not(:hover) {
  409.   margin-bottom: calc(-2 * var(--bookmark-block-padding, 4px) - 26px) !important;
  410. }
  411.  
  412. /* Hover/active state: snappy entry without delay */
  413. #navigator-toolbox:hover > #PersonalToolbar,
  414. #navigator-toolbox:focus-within > #PersonalToolbar {
  415.   transform: rotateX(0deg) !important;
  416.   margin-bottom: 0 !important;
  417.   transition:
  418.     transform 140ms ease-out 60ms,
  419.     margin-bottom 140ms ease-out 60ms !important;
  420. }
  421.  
  422.  
  423. /* ==========================================================================
  424.    MULTI-ROW BOOKMARKS TOOLBAR
  425.    ========================================================================== */
  426. #PersonalToolbar {
  427.   --multirow-bmb-n-rows: 3;       /* Maximum visible rows before scrolling */
  428.   --multirow-bmb-row-margin: 1px;  /* Spacing between rows */
  429.   max-height: none !important;
  430. }
  431.  
  432. :root[BookmarksToolbarOverlapsBrowser] :where(#PersonalToolbar) {
  433.   height: unset !important;
  434. }
  435.  
  436. /* Allow toolbar items container to wrap onto new lines */
  437. #PlacesToolbar > hbox:not(#PlacesToolbarDropIndicatorHolder) {
  438.   display: block !important;
  439.   width: 100vw !important;
  440. }
  441.  
  442. #PlacesToolbarItems {
  443.   display: flex !important;
  444.   flex-wrap: wrap !important;
  445.   max-height: calc(
  446.     var(--multirow-bmb-n-rows) * (6px + 1.2em + (2 * (var(--multirow-bmb-row-margin) + var(--uc-bm-padding))))
  447.   ) !important;
  448.   overflow-y: auto !important;
  449.   scrollbar-width: thin !important;
  450.   scrollbar-color: var(--border-color-interactive) transparent !important;
  451. }
  452.  
  453. /* Hide the overflow drop-down chevron button */
  454. #PlacesChevron {
  455.   display: none !important;
  456. }
  457.  
  458. /* Bookmark item row margins */
  459. #PlacesToolbarItems > .bookmark-item {
  460.   margin: var(--multirow-bmb-row-margin) 1px !important;
  461.   visibility: visible !important;
  462. }
Advertisement
Add Comment
Please, Sign In to add comment