31 Commits (master)

Author SHA1 Message Date
MrOtherGuy 13109b6d3d Trivial selector changes from titlebar removal 2 weeks ago
MrOtherGuy 2e47c6caa4 Remove uses of :-moz-lwtheme pseudo-class
The pseudo-class is removed in 126, but can be usually be trivially
replaced with :root[lwtheme]
7 months ago
MrOtherGuy a2b52b6da0 non floating tabs: Remove opacity changes from titlebar - fixes #335 9 months ago
MrOtherGuy 65ee216893 non floating sharp tabs: improve compat with fx 120 & themes with images
This patch applies same kind of rules that themes with
--lwt-header-image use to also themes using --lwt-additional-images

This effect does not work with themes that use background-position-y:
center for the image - for them the selected tab background will not
mathch toolba area, but such themes were broken anyway (and hopefully
they are not encountered often)
12 months ago
MrOtherGuy c53d174896 non_floating_sharp_tabs: add workaround for bug 1859977
This bug simplified selected tab background styling, but this style
depends on those three background-image layers to make it appear the
selected tab is connected to the toolbar below.
12 months ago
MrOtherGuy c8738a10ee non_floating_sharp_tabs: Fix tab coloring when using system auto theme
Fixes #313
Fixes #314
12 months ago
MrOtherGuy 1ff9383984 Remove even more old Firefox < 112 compatibility rules 1 year 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 055e742a87 non_floating_tabs: apply relative selected tab position to pinned tabs
In overflow mode Firefox will override that anyway so no need to exclude
all pinned tabs.
2 years ago
MrOtherGuy 5facc2e8c9 non-floating-tabs: Make selected tab have position: relative again
Firefox 110 made selected tab static, but we need it to be relative so
that it gets drawn over the navbar top box-shadow
2 years ago
MrOtherGuy b88c1f5bf1 Improvements for hide_tabs_scrollbuttons
This patch "unhides" tabs scrollbox overflow indicators as well as adds
background for scrollbuttons when re-oredering tabs. Both of these are
pretty complicated things to achieve, so this patch also adds a small
compatibility layer for non_floating_sharp_tabs.css
2 years ago
MrOtherGuy 0d1ec1e56f remove outline from .tab-background 2 years ago
MrOtherGuy a49066b2f4 sharp_tabs: draw tabs-newtab-button icon as background-image
This is done because we want the button background to fill toolbar
height, but we don't actually know how tall the toolbar is and thus
working with list-style-image + padding is going to produce stretced
icon on some systems.
2 years ago
MrOtherGuy 8dc4e1c795 Apply 2px rounding only to buttons in tabs customization target
This allows dropping extra id selector from tabs-newtab-button
2 years ago
MrOtherGuy 19fa8eb39d Update styles to use --lwt-tab-line-color variable 3 years ago
MrOtherGuy ec17a82ede remove top border from .tab-background 3 years ago
MrOtherGuy 5118aedfad remove --proton-tab-block-margin dummy variables 3 years ago
MrOtherGuy 7801318d78 add -1px margin for multiselected tab-background
This makes the tabs to draw 1px on top of each other which should make
multiselected tabs look better with and without tab separators
3 years ago
MrOtherGuy 9ad96bb6f3 Set multiselected tabs to have tab hover background color. Fixes #150 3 years ago
MrOtherGuy 568c1cd86b create a few exceptions for default light theme colors
This lets default light theme to use toolbar-bgcolor for the selected
theme as well as make the line atop of selected tab (with default light theme) show as blue as per
Photon styling.
3 years ago
MrOtherGuy 4171cf0332 set --tab-line-color override in tabbrowser-tabs 3 years ago
MrOtherGuy dcdc03519c make some styles less dependent on color-mix pref 3 years ago
MrOtherGuy 4388d8497c add note about color-mix pref 3 years ago
MrOtherGuy 32c9b4dd54 Don't important-remove the selected tab animation 3 years ago
MrOtherGuy b0ed451d7b make sure the line animates only in hovered nonselected tabs
that should have already been the case previously, but if one were to
use some other custom style that added .tab-background::before pseudo
element, then all tabs would have a playing animation which would have
trashed performance.
3 years ago
MrOtherGuy f7badbc69c only apply taller pinned tabs when using compact mode 3 years ago
MrOtherGuy 683bdce1ad don't set toolbar-bgcolor to transparent when moving tabs 3 years ago
MrOtherGuy 7db2c96530 add temporary dummy variables for tab-block-margin 3 years ago
MrOtherGuy daaff92e6a add photon like tab top line onhover animation 3 years ago
MrOtherGuy 14c7ef8f92 set toolbar-bgcolor to transparent for tabs toolbar 3 years ago
MrOtherGuy b1b91c93d3 create non_floating_sharp_tabs.css 3 years ago