25 Commits (0f1571231e73eba84ea9949584e517acbc55c1c8)

Author SHA1 Message Date
MrOtherGuy b504c639a7 curved tabs: use @media based -moz-bool-pref
With this change the optional features now require Firefox 120
1 year ago
MrOtherGuy fe6a29dbcd remaining -moz-box-x cleanup 1 year ago
MrOtherGuy aad2575816 Make bunch of attribute selectors boolean checks
This is related to bug 1849904
1 year ago
MrOtherGuy 647b413152 Remove xul-box use from bunch of styles 2 years ago
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.
2 years ago
MrOtherGuy f9b3e20163 Fix bunch of clipping issues in curved_tabs.css
There is still one(known?) case that happens if one uses a theme with
non-opaque toolbar background-color with optional extra-border rules.
But that option isn't too nice with non-opaque colors anyway so left as
todo.

In addition, this patch makes the optional rules use @supports
-moz-bool-pref rules instead of having to remove commented sections in
the css file.
2 years ago
MrOtherGuy 53eb59e017 curved_tabs: Fix curve placement on Firefox 107 2 years ago
MrOtherGuy 2f792166c3 curved_tabs: Improve style compatibility with theme images
This patch makes outward curves use a sliver of toolbox background-image
to mask some artifacts that are results of several semi-transparent
surfaces. This also changes the curve svg image a bit to makes
curve-border transitions more smooth.
2 years ago
MrOtherGuy 8d25156001 curved-tabs: move tabs away from the window edge with pinned tabs
With positioninnedtabs, the left-most tab might end up outside of the
window under some circumstances (for example when menubar is enabled).
This patch moves tabbrowser-tabs away from the window edge equal to the
curve-size and makes the pre-tabs spacer a bit narrower to make the
space not look too large when the spacer is shown.
3 years ago
MrOtherGuy fd644ff857 replace --tabs-border-color with --lwt-tabs-border-color 3 years ago
MrOtherGuy fea6e47687 curved-tabs: decrease stroke-opacity of the border
This patch also adds some comments for svg.context-properties.content.enabled
which is a requirement as well as make default theme have separate
background-color for curves.
3 years ago
MrOtherGuy 5118aedfad remove --proton-tab-block-margin dummy variables 3 years ago
MrOtherGuy dcdc03519c make some styles less dependent on color-mix pref 3 years ago
MrOtherGuy 7db2c96530 add temporary dummy variables for tab-block-margin 3 years ago
MrOtherGuy e594b9b6ad remove tab top-border when COLORS are used 4 years ago
MrOtherGuy a0d1da9a36 use box-ordinal-group instead of reversing box direction 4 years ago
MrOtherGuy dd6c73183e reverse tab-background direction so context-line shows at bottom 4 years ago
MrOtherGuy a115193aaa remove the empty padding between tabs 4 years ago
MrOtherGuy cde5a0391d use a variable to set color for the optional tab line 4 years ago
MrOtherGuy 9a845cee6e Add optional section to bring back tab colors & borders 4 years ago
MrOtherGuy 47aab4c87d
make border-radius of flipped version important 4 years ago
MrOtherGuy 802c4a4c53 make curved_tabs.css proton compatible 4 years ago
MrOtherGuy c194c5e62b make curve color respect selected tab color set by theme 4 years ago
MrOtherGuy cd0d556418 Add support for tabs border color 4 years ago
MrOtherGuy 88b3ff1d6b Create curved_tabs.css 4 years ago