Guest User

Untitled

a guest
Nov 27th, 2024
333
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. /* 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
  2. See the above repository for updates as well as full license text. */
  3.  
  4. /* This reorders toolbar to place tabs below other toolbars. Requires Firefox 133+ */
  5.  
  6. @media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"){
  7. #nav-bar > .titlebar-buttonbox-container{
  8. order: -1 !important;
  9. > .titlebar-buttonbox{
  10. flex-direction: row-reverse;
  11. }
  12. }
  13. }
  14. @media not (-moz-bool-pref: "sidebar.verticalTabs"){
  15. .global-notificationbox,
  16. #tab-notification-deck,
  17. #TabsToolbar{
  18. order: 1;
  19. }
  20. #TabsToolbar > :is(.titlebar-spacer,.titlebar-buttonbox-container){
  21. display: none;
  22. }
  23. :root[sizemode="fullscreen"] #nav-bar > .titlebar-buttonbox-container{
  24. display: flex !important;
  25. }
  26. :root[tabsintitlebar] #toolbar-menubar:not([autohide="false"]) ~ #nav-bar{
  27. > .titlebar-buttonbox-container{
  28. display: flex !important;
  29. }
  30. :root[sizemode="normal"] & {
  31. > .titlebar-spacer{
  32. display: flex !important;
  33. }
  34. }
  35. :root[sizemode="maximized"] & {
  36. > .titlebar-spacer[type="post-tabs"]{
  37. display: flex !important;
  38. }
  39. @media (-moz-bool-pref: "userchrome.force-window-controls-on-left.enabled"),
  40. (-moz-gtk-csd-reversed-placement),
  41. (-moz-platform: macos){
  42. > .titlebar-spacer[type="post-tabs"]{
  43. display: none !important;
  44. }
  45. > .titlebar-spacer[type="pre-tabs"]{
  46. display: flex !important;
  47. }
  48. }
  49. }
  50. }
  51. }
Advertisement
Add Comment
Please, Sign In to add comment