From e5aed3b1393800cacd4f53134f180649a5596ccd Mon Sep 17 00:00:00 2001 From: MrOtherGuy Date: Tue, 26 Nov 2019 12:37:50 +0200 Subject: [PATCH] new file --- chrome/pinned_tabs_on_right.css | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 chrome/pinned_tabs_on_right.css diff --git a/chrome/pinned_tabs_on_right.css b/chrome/pinned_tabs_on_right.css new file mode 100644 index 0000000..e8a1491 --- /dev/null +++ b/chrome/pinned_tabs_on_right.css @@ -0,0 +1,18 @@ +/* Show pinned tabs on right side of normal tabs */ +/* This is stupid hack that barely works and might lead to some very unexpected behavior */ + +.tabbrowser-arrowscrollbox > spacer, +.scrollbutton-up[orient="horizontal"]~spacer{ display: none } + +.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox, +.scrollbutton-up[orient="horizontal"]~scrollbox{ -moz-box-direction: inherit; -moz-box-pack: end } + +.tabbrowser-arrowscrollbox > .arrowscrollbox-scrollbox::after, +.scrollbutton-up[orient="horizontal"]~scrollbox::after{ display: -moz-box; content: ""; -moz-box-flex: 1; -moz-box-ordinal-group: 2 } + +#tabs-newtab-button{ -moz-box-ordinal-group: 2 } +.tabbrowser-tab[pinned]{ -moz-box-ordinal-group: 3 } + +#tabbrowser-tabs[positionpinnedtabs]{ direction: rtl } +#tabbrowser-tabs[positionpinnedtabs] > arrowscrollbox { -moz-box-direction: reverse } +.tab-content{ direction: ltr } \ No newline at end of file