Commit Graph

37 Commits

Author SHA1 Message Date
MrOtherGuy
8fdc6419ff multi-row tabs: Only hide alltabs-button if it's not removable
This means that the button will be hidden in ESR 128, but on Firefox
132+ it won't be since one can simply remove the button themselves or
move it to another toolbar etc. Fixes #407
2024-12-13 12:05:46 +02:00
MrOtherGuy
29b7f87409 multirow tabs: apply flex:1 to scrollbox 2024-10-04 16:11:16 +03:00
MrOtherGuy
42042a6278 Tweak some scrollbox styling to fix fallout from bug 1913322 2024-08-25 13:32:36 +03:00
MrOtherGuy
d66b6e54be multi row tabs: Make optional features use -moz-bool-pref media query 2023-11-18 10:08:48 +02:00
MrOtherGuy
13e1340e9a remove old Fx <112 compatibility rules 2023-09-07 20:20:40 +03:00
MrOtherGuy
aad2575816 Make bunch of attribute selectors boolean checks
This is related to bug 1849904
2023-08-30 16:25:44 +03:00
MrOtherGuy
c09e848846 multi-row tabs: Make flex-grow !important for fixed-width tabs to work 2023-05-12 16:59:43 +03:00
MrOtherGuy
76f260269d Use scrollbar-gutter in multi-row tabs and bookmarks
This should prevent the appearing/disappearing scrollbar from reflowing
content.
2023-04-09 09:00:12 +03:00
MrOtherGuy
0ff12e01fe Add support for modern flexbox layout
Flexbox model will replace old xul box as the default display model so
this patch adds support for that in a whole bunch of styles.

A lot of style rules are marked as "Fx < 112 compatibility" rules and
those can be removed when 112 hits release.
2023-03-11 12:26:07 +02:00
AMS777
a0a477cebf Fix empty tab rows on Firefox 107 (#232)
On Firefox 107, the tab bar displays all the tab rows, even if they are empty because there are few tabs.
This change removes the empty tab rows and restores the right behavior, only displaying tab rows when there are too many tabs to fit in one row.
2022-11-28 23:38:01 +02:00
MS_Y
a435e7507f Fix: Show #tabs-newtab-button at overflow (#212) 2022-10-07 16:45:09 +03:00
MrOtherGuy
5118aedfad remove --proton-tab-block-margin dummy variables 2021-11-21 09:42:28 +02:00
MrOtherGuy
b6ae559352 multi-row-tabs: remove bottom-margin from tabs-newtab-button
The 1px bottom margin may have small visible effect for row-height computation
in which case the visible height may be thrown off by a little bit. This
patch fixes that issue.
2021-11-01 18:39:58 +02:00
MrOtherGuy
2a101b1d3a don't set height for .tabbrowser-tab 2021-07-03 23:52:55 +03:00
MrOtherGuy
bbce8589bc make tabs use --tab-block-margin correctly 2021-07-02 23:18:11 +03:00
MrOtherGuy
7db2c96530 add temporary dummy variables for tab-block-margin 2021-06-05 00:17:16 +03:00
MrOtherGuy
595033c4c7 apply scroll-snap to tabs 2021-04-19 12:48:59 +03:00
MrOtherGuy
10b736a1f7 add proton-tab-block-margin to tab-rows 2021-03-21 11:07:32 +02:00
MrOtherGuy
90317cc59b Add .scrollbox-clip selectors to accompany #tabbrowser-arrowscrollbox 2020-08-08 16:36:09 +03:00
MrOtherGuy
d47c0ce8db Don't hide intra-tab spacers 2020-06-26 12:28:16 +03:00
MrOtherGuy
84ec1414dd Add source/license notices 2020-05-22 08:13:58 +03:00
MrOtherGuy
24e7d59267 remove note about some pre Fx66 behavior 2020-05-21 09:41:19 +03:00
MrOtherGuy
b76959fb67 Remove OLD stuff to make the file much more clean 2020-05-06 17:38:20 +03:00
MrOtherGuy
e4d6775da7 rename multi-row_tabs.css to multi-row_tabs_legacy.css 2020-05-06 17:22:41 +03:00
MrOtherGuy
ee78d236b6 remember to hide the unnecessary scrollbuttons 2020-04-08 15:03:17 +03:00
MrOtherGuy
55eb4951ed use id selector for #tabbrowser-arrowscrollbox 2020-04-07 21:34:41 +03:00
MrOtherGuy
5a3115fd1a Add opt-in way to interact scrollbar with mouse 2019-10-29 14:07:29 +02:00
MrOtherGuy
43deb8c783 wrap the fx71 selectors in @moz-document 2019-10-11 14:01:55 +03:00
MrOtherGuy
4b1a6db6d2 Use generic scrollbox[horizontal] selectors to target Firefox 71+ 2019-10-11 08:20:35 +03:00
Ema Panz
4796f94cea Allow fix/dynamic tab width
Integrate https://github.com/MrOtherGuy/firefox-csshacks/pull/3
2019-03-21 08:41:35 +01:00
Ema Panz
8b757e951b Allow tab-size to be defined 2019-03-21 08:30:05 +01:00
MrOtherGuy
f515efea70 Remove comment window control patch requiring Fx66 - it works on 65 2019-02-05 13:25:27 +02:00
MrOtherGuy
b4a34d2334 Add comment about scrollable tabs being disabled on Firefox65 2019-01-31 05:33:58 +02:00
MrOtherGuy
d0b647d5d8 Add !important to fix a case where one additional empty tab row is shown 2019-01-30 15:34:26 +02:00
MrOtherGuy
8266515ed0 Add configurable maximum rows before rows start to scroll 2019-01-28 21:04:23 +02:00
MrOtherGuy
9787beeb96 Combine multi-row tabs for pre and post Firefox 66 and label the post-66 only obsolete 2019-01-24 13:35:40 +02:00
MrOtherGuy
c95fb2f77b New file 2018-12-16 04:43:06 +02:00