2020-05-22 05:13:58 +00:00
|
|
|
/* Source file https://github.com/MrOtherGuy/firefox-csshacks/tree/master/chrome/pinned_tabs_on_right.css made available under Mozilla Public License v. 2.0
|
|
|
|
See the above repository for updates as well as full license text. */
|
|
|
|
|
2019-11-26 10:37:50 +00:00
|
|
|
/* Show pinned tabs on right side of normal tabs */
|
|
|
|
/* This is stupid hack that barely works and might lead to some very unexpected behavior */
|
|
|
|
|
|
|
|
.scrollbutton-up[orient="horizontal"]~spacer{ display: none }
|
|
|
|
|
2022-04-17 12:56:22 +00:00
|
|
|
.scrollbutton-up[orient="horizontal"]~scrollbox{
|
2023-03-31 15:26:43 +00:00
|
|
|
-moz-box-direction: inherit; /* Fx < 112 compatibility */
|
|
|
|
-moz-box-pack: end; /* Fx < 112 compatibility */
|
|
|
|
justify-content: flex-end;
|
2022-04-17 12:56:22 +00:00
|
|
|
}
|
2019-11-26 10:37:50 +00:00
|
|
|
|
2022-04-17 12:56:22 +00:00
|
|
|
.scrollbutton-up[orient="horizontal"]~scrollbox::after{
|
2023-03-31 15:26:43 +00:00
|
|
|
display: -moz-box; /* Fx < 112 compatibility */
|
2022-04-17 12:56:22 +00:00
|
|
|
content: "";
|
2023-03-31 15:26:43 +00:00
|
|
|
display: flex;
|
|
|
|
flex-grow: 1;
|
|
|
|
flex-shrink: 1;
|
|
|
|
order: 2;
|
|
|
|
-moz-box-flex: 1; /* Fx < 112 compatibility */
|
|
|
|
-moz-box-ordinal-group: 2; /* Fx < 112 compatibility */
|
2022-04-17 12:56:22 +00:00
|
|
|
}
|
2019-11-26 10:37:50 +00:00
|
|
|
|
2023-03-31 15:26:43 +00:00
|
|
|
#tabs-newtab-button{
|
|
|
|
-moz-box-ordinal-group: 2; /* Fx < 112 compatibility */
|
|
|
|
order: 2;
|
|
|
|
}
|
|
|
|
.tabbrowser-tab[pinned]{
|
|
|
|
-moz-box-ordinal-group: 3; /* Fx < 112 compatibility */
|
|
|
|
order: 3;
|
|
|
|
}
|
2019-11-26 10:37:50 +00:00
|
|
|
|
|
|
|
#tabbrowser-tabs[positionpinnedtabs]{ direction: rtl }
|
2023-03-31 15:26:43 +00:00
|
|
|
#tabbrowser-tabs[positionpinnedtabs] > arrowscrollbox {
|
|
|
|
-moz-box-direction: reverse; /* Fx < 112 compatibility */
|
|
|
|
flex-direction: row-reverse;
|
|
|
|
}
|
2019-11-26 10:37:50 +00:00
|
|
|
.tab-content{ direction: ltr }
|