placeholder support: Don't set navigator-toolbox to position:relative
Instead, let the few styles that depend on it deal with it themselves by setting position:relative to titlebar. Fixes #388
This commit is contained in:
@@ -22,6 +22,7 @@ Window controls will be all wrong without it
|
|||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
}
|
}
|
||||||
#TabsToolbar{ visibility: collapse !important }
|
#TabsToolbar{ visibility: collapse !important }
|
||||||
|
:root[sizemode="fullscreen"] #titlebar{ position: relative }
|
||||||
|
|
||||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container{
|
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container{
|
||||||
visibility: visible !important;
|
visibility: visible !important;
|
||||||
|
|||||||
@@ -26,6 +26,7 @@ Window controls will be all wrong without it
|
|||||||
transition: none !important;
|
transition: none !important;
|
||||||
opacity: 1 !important;
|
opacity: 1 !important;
|
||||||
}
|
}
|
||||||
|
:root[sizemode="fullscreen"] #titlebar{ position: relative }
|
||||||
/* We'll use window controls from menubar instead */
|
/* We'll use window controls from menubar instead */
|
||||||
#TabsToolbar > .titlebar-buttonbox-container { display: none }
|
#TabsToolbar > .titlebar-buttonbox-container { display: none }
|
||||||
/* Hide overflow button unless tabs overflow - is necessary for collpasing tabs with one tab */
|
/* Hide overflow button unless tabs overflow - is necessary for collpasing tabs with one tab */
|
||||||
|
|||||||
@@ -44,7 +44,6 @@ See the above repository for updates as well as full license text. */
|
|||||||
|
|
||||||
.titlebar-buttonbox{ color: var(--toolbar-color) }
|
.titlebar-buttonbox{ color: var(--toolbar-color) }
|
||||||
:root[sizemode="fullscreen"] .titlebar-buttonbox-container{ display: none }
|
:root[sizemode="fullscreen"] .titlebar-buttonbox-container{ display: none }
|
||||||
:root[sizemode="fullscreen"] #navigator-toolbox { position: relative; }
|
|
||||||
|
|
||||||
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child{
|
:root[sizemode="fullscreen"] #TabsToolbar > .titlebar-buttonbox-container:last-child{
|
||||||
position: absolute;
|
position: absolute;
|
||||||
|
|||||||
Reference in New Issue
Block a user