diff --git a/chrome/multi-row_tabs_below_content.css b/chrome/multi-row_tabs_below_content.css index 5bb0d73..65faa25 100644 --- a/chrome/multi-row_tabs_below_content.css +++ b/chrome/multi-row_tabs_below_content.css @@ -30,9 +30,7 @@ See the above repository for updates as well as full license text. */ --uc-window-control-width: 94px; } } - #main-window[tabsintitlebar]{ - background-color: var(--toolbar-bgcolor,accentcolor) !important;; - } + :root[uidensity="compact"]{ --multirow-toolbar-height: 34px } :root{ border-top-width: 0px !important } @@ -51,14 +49,14 @@ See the above repository for updates as well as full license text. */ #nav-bar{ position: fixed !important; - /* For some reason -webkit-box behaves internally like -moz-box, but can be used with fixed position. display: flex would work too but it breaks extension menus. */ - display: -webkit-box; - -webkit-box-flex: 1; margin-left: var(--uc-window-drag-space-width); width: calc(100vw - var(--uc-window-drag-space-width)); top: var(--multirow-top-padding); + border-top: 0 !important; + } + :where(#titlebar:hover + #nav-bar){ + z-index: -1; } - #nav-bar-customization-target{ -webkit-box-flex: 1 } :root[inFullscreen] #nav-bar, :root[tabsintitlebar] #nav-bar{ margin-right: var(--uc-window-control-width); @@ -123,7 +121,7 @@ See the above repository for updates as well as full license text. */ visibility: hidden; } #main-menubar{ height: var(--multirow-toolbar-height) } - #toolbar-menubar:hover{ z-index: 2 } + #toolbar-menubar:hover > #menubar-items{ visibility: visible; background-image: linear-gradient( to left,transparent,var(--lwt-accent-color) 35px); @@ -172,6 +170,7 @@ See the above repository for updates as well as full license text. */ scrollbar-gutter: stable; scroll-snap-type: y mandatory; } + .scrollbox-clip > scrollbox[part][orient="horizontal"] > slot{ display: contents } scrollbox[part][orient="horizontal"] > slot{ overflow-x: hidden; } @@ -231,6 +230,9 @@ See the above repository for updates as well as full license text. */ --uc-window-drag-space-width: 0px; --uc-window-control-width: 0px; } + #nav-bar{ + z-index: auto; + } #main-menubar, #toolbar-menubar{ height: var(--multirow-menubar-height); background-image: none; } #toolbar-menubar > #menubar-items{ visibility: visible; background-image: none !important; } @@ -246,3 +248,4 @@ See the above repository for updates as well as full license text. */ .tabbrowser-tab[fadein]:not([pinned]){ max-width: 100vw !important; } } } +