tabs on bottom v2: add support for left-side caption buttons and themes
This commit is contained in:
@@ -5,10 +5,25 @@ See the above repository for updates as well as full license text. */
|
|||||||
|
|
||||||
#navigator-toolbox{
|
#navigator-toolbox{
|
||||||
display: grid;
|
display: grid;
|
||||||
grid-template-areas: "mb mb mb mb" "pre toolbar1 post caption" "toolbar toolbar toolbar toolbar";
|
grid-template-areas: "mb mb mb mb"
|
||||||
|
"pre toolbar1 post caption"
|
||||||
|
"toolbar toolbar toolbar toolbar";
|
||||||
grid-auto-columns: min-content 1fr min-content min-content;
|
grid-auto-columns: min-content 1fr min-content min-content;
|
||||||
grid-template-rows: auto;
|
grid-template-rows: auto;
|
||||||
}
|
}
|
||||||
|
@media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"),
|
||||||
|
(-moz-gtk-csd-reversed-placement),
|
||||||
|
(-moz-platform: macos){
|
||||||
|
#navigator-toolbox{
|
||||||
|
grid-template-areas: "mb mb mb mb"
|
||||||
|
"caption pre toolbar1 post"
|
||||||
|
"toolbar toolbar toolbar toolbar";
|
||||||
|
grid-auto-columns: min-content min-content 1fr min-content;
|
||||||
|
}
|
||||||
|
@media (-moz-platform: windows){
|
||||||
|
#TabsToolbar .titlebar-buttonbox{ flex-direction: row-reverse; }
|
||||||
|
}
|
||||||
|
}
|
||||||
#titlebar,
|
#titlebar,
|
||||||
#TabsToolbar{
|
#TabsToolbar{
|
||||||
display: contents;
|
display: contents;
|
||||||
@@ -22,6 +37,10 @@ See the above repository for updates as well as full license text. */
|
|||||||
#TabsToolbar > .titlebar-spacer[type="post-tabs"]{
|
#TabsToolbar > .titlebar-spacer[type="post-tabs"]{
|
||||||
grid-area: post;
|
grid-area: post;
|
||||||
}
|
}
|
||||||
|
#private-browsing-indicator-with-label{
|
||||||
|
grid-area: post;
|
||||||
|
& > label{ display: none }
|
||||||
|
}
|
||||||
.titlebar-spacer{
|
.titlebar-spacer{
|
||||||
-moz-window-dragging: drag;
|
-moz-window-dragging: drag;
|
||||||
}
|
}
|
||||||
@@ -43,3 +62,6 @@ See the above repository for updates as well as full license text. */
|
|||||||
#TabsToolbar > .toolbar-items{
|
#TabsToolbar > .toolbar-items{
|
||||||
order: 1;
|
order: 1;
|
||||||
}
|
}
|
||||||
|
.titlebar-spacer,.titlebar-buttonbox-container{
|
||||||
|
background-color: var(--toolbar-bgcolor)
|
||||||
|
}
|
||||||
Reference in New Issue
Block a user