add few compatibility rules for multi-row_tabs
This commit is contained in:
parent
4a263d029a
commit
0c81924f74
1 changed files with 11 additions and 4 deletions
|
@ -19,7 +19,9 @@ Window controls will be all wrong without it
|
||||||
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
|
#tabbrowser-tabs > .tabbrowser-arrowscrollbox,
|
||||||
#tabbrowser-arrowscrollbox{ min-height: 0 !important; }
|
#tabbrowser-arrowscrollbox{ min-height: 0 !important; }
|
||||||
|
|
||||||
#TabsToolbar > .titlebar-spacer[type="post-tabs"]{ width: calc(var(--uc-window-control-width,0px) + var(--uc-window-drag-space-post,0px)) !important; }
|
#TabsToolbar > .titlebar-spacer[type="post-tabs"]{
|
||||||
|
width: calc(var(--uc-window-control-width,0px) + var(--uc-window-drag-space-post,0px)) !important;
|
||||||
|
}
|
||||||
#toolbar-menubar > spacer{ pointer-events: none }
|
#toolbar-menubar > spacer{ pointer-events: none }
|
||||||
|
|
||||||
:root:not([customizing]) #tabs-newtab-button,
|
:root:not([customizing]) #tabs-newtab-button,
|
||||||
|
@ -39,9 +41,14 @@ Window controls will be all wrong without it
|
||||||
}
|
}
|
||||||
.accessibility-indicator > hbox{ padding-block: 0 !important }
|
.accessibility-indicator > hbox{ padding-block: 0 !important }
|
||||||
|
|
||||||
#tabbrowser-tabs .tabbrowser-tab{ height: calc(var(--tab-min-height) + 2 * var(--tab-block-margin)) }
|
.tabbrowser-tab{
|
||||||
#tabbrowser-tabs .tabbrowser-tab[first-visible-tab="true"][last-visible-tab="true"]{
|
height: calc(var(--tab-min-height) + 2 * var(--tab-block-margin));
|
||||||
|
}
|
||||||
|
.tabbrowser-tab[first-visible-tab="true"][last-visible-tab="true"]{
|
||||||
visibility: collapse;
|
visibility: collapse;
|
||||||
|
/* These seem unnecessary, but they achieve compatibility with hide_tabs_with_one_tab.css */
|
||||||
|
min-height: 0 !important;
|
||||||
|
height: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Button re-styling */
|
/* Button re-styling */
|
||||||
|
@ -72,4 +79,4 @@ Window controls will be all wrong without it
|
||||||
:root:not([customizing]) #toolbar-menubar[autohide][inactive] > #menubar-items{ pointer-events: none; opacity: 0 }
|
:root:not([customizing]) #toolbar-menubar[autohide][inactive] > #menubar-items{ pointer-events: none; opacity: 0 }
|
||||||
|
|
||||||
:root[sizemode="fullscreen"] #TabsToolbar > #window-controls{ z-index: 2; }
|
:root[sizemode="fullscreen"] #TabsToolbar > #window-controls{ z-index: 2; }
|
||||||
.titlebar-buttonbox{ color: inherit }
|
.titlebar-buttonbox{ color: inherit }
|
||||||
|
|
Loading…
Reference in a new issue