-
Notifications
You must be signed in to change notification settings - Fork 338
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This does reordering with grid display. Requires Firefox 132 for supporting display: contents on xul elements.
- Loading branch information
1 parent
3c18dab
commit 44b7593
Showing
3 changed files
with
48 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,45 @@ | ||
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/tabs_on_bottom_v2.css made available under Mozilla Public License v. 2.0 | ||
See the above repository for updates as well as full license text. */ | ||
|
||
/* This reorders toolbar to place tabs below other toolbars. Requires Firefox 132+ */ | ||
|
||
#navigator-toolbox{ | ||
display: grid; | ||
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-template-rows: auto; | ||
} | ||
#titlebar, | ||
#TabsToolbar{ | ||
display: contents; | ||
} | ||
#TabsToolbar > .titlebar-buttonbox-container{ | ||
grid-area: caption; | ||
} | ||
#TabsToolbar > .titlebar-spacer[type="pre-tabs"]{ | ||
grid-area: pre; | ||
} | ||
#TabsToolbar > .titlebar-spacer[type="post-tabs"]{ | ||
grid-area: post; | ||
} | ||
.titlebar-spacer{ | ||
-moz-window-dragging: drag; | ||
} | ||
#nav-bar{ | ||
grid-area: toolbar1 | ||
} | ||
#toolbar-menubar{ | ||
grid-area: mb; | ||
} | ||
#toolbar-menubar, | ||
#TabsToolbar > .toolbar-items, | ||
#PersonalToolbar, | ||
.global-notificationbox, | ||
#tab-notification-deck{ | ||
grid-column: 1/5; | ||
} | ||
.global-notificationbox, | ||
#tab-notification-deck, | ||
#TabsToolbar > .toolbar-items{ | ||
order: 1; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters