Commit Graph

894 Commits

Author SHA1 Message Date
MrOtherGuy
daf2d17b36 vertical menubar: rewrite to make only menubar fixed positioned
This allows this style to work with several other styles such as
tabs_on_bottom.css

This patch also introduces a pref with which the side of the vertical
strip can be changed - the default is now on left
2024-04-02 19:25:15 +03:00
MrOtherGuy
cc93a34f04 Hide container name box unless urlbar is hovered
Fixes #353
2024-03-26 19:31:48 +02:00
sonofevil
da374c6975 glitch fix and cosmetic improvement (#352)
* glitch fix and cosmetic improvement

fix: rule briefly failed to apply when opening new tab
improvement: divider alignment

* Update shrinking_pinned_tabs.css
2024-03-25 19:23:29 +02:00
MrOtherGuy
fc7b95c037 Remove background-image from titlebar-button > image drawn by firefox
Nowadays the icon is drawn as background-image, not list-style-image
2024-03-24 07:30:32 +02:00
MrOtherGuy
f821134c4a Fix bunch of issues with vertical_popup_menubar.css
Fixes #350 by applying workaround for titlebar will-change and opacity
layering issues

Makes the menubar menu coloring work on default theme

Make menubar bottom-margin computation use the same values as menubar
height - this should make other toolbars stay in place without moving
up/down on most setups, probably.
2024-03-23 20:57:15 +02:00
MrOtherGuy
6e37932a8c Make multi-row_tabs patch depend on window_cotrol support style
This change achieves multiple things:

* The sizing options for placeholder are in one place
* Improves compatibility with other styles
* Improves compatibility with other window control placements
* Makes fullscreen work
* Makes menubar not take any space when disabled

Previously, when Firefox did not have :has selector support, we needed
to create :hover triggered space to activate menubar, this took some
space from toolbar and required special styling to support translucent
toolbar background colors. But it was necessary, because otherwise there
would have been no way to access menubar items.

This still assumes that the user has menubar disabled, but that is fine,
because if menubar is enabled, then there is no reason to use this style
in the first place.
2024-03-22 12:49:05 +02:00
MrOtherGuy
0936153495 Make multi-row-tabs patch handle translucent toolbar a bit better 2024-03-22 07:38:53 +02:00
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]
2024-03-20 07:13:32 +02:00
MrOtherGuy
4215caf2b8 autohide_main_toolbar: Relatively position titlebar instead of tabs
Fixes #342
2024-03-01 05:22:15 +02:00
MrOtherGuy
250585b5fd vertical tabs: make tabbrowser-tabs have important position:absolute
tabbrowser-tabs have position:relative on linux and mac, so we need to
override it with !important tag
2024-02-14 06:20:54 +02:00
MrOtherGuy
8c7efbcdd4 vertical_tabs: Remove opacity changes from titlebar
This makes window controls show up on Linux and fixes them disappearing
from non-focused window on Windows
2024-02-14 06:17:26 +02:00
MrOtherGuy
012b3aeb55 vertical_tabs: Use --toolbar-bgcolor for background on default theme 2024-02-14 06:15:59 +02:00
MrOtherGuy
28ca1c6038 hide tabs toolbar: Make menubar use multi-layer background-image
This makes the menubar stay opaque even if the active theme has
transparent toolbar background over some image background.
2024-02-12 19:07:01 +02:00
David Eglin
cb051f3ce7 Remove window control placeholder in fullscreen (#340)
Fixes #339
2024-02-06 20:52:05 +02:00
MrOtherGuy
e5764acb55 scrollable urlbar popup: make urlbar rows have position:relative
This lets the type icon be correctly aligned to the row when scrolling

This patch also removes now useless namespace selectors
2024-01-28 06:55:42 +02:00
MrOtherGuy
369c384442 urlbar results in two rows: use variables provided by Firefox for margin
This fixes #336
2024-01-27 18:05:18 +02:00
MrOtherGuy
3ef874e566 overlay_fullscreen_toolbars: add description about what it does 2024-01-25 22:02:55 +02:00
MrOtherGuy
3f6f6d376f create overlay_fullscreen_toolbars.css 2024-01-25 22:00:44 +02:00
MrOtherGuy
a2b52b6da0 non floating tabs: Remove opacity changes from titlebar - fixes #335 2024-01-24 17:46:23 +02:00
MrOtherGuy
df4462f5d9 Remove opacity changes from titlebar - fixes #331
Bug 1870803 introduced a transition to window activeness visuals. But
the lowered opacity breaks the z-index hackery we use to let
window-controls show through nav-bar.

This patch basically undoes the changes from bug 1870803
2023-12-22 06:25:13 +02:00
MrOtherGuy
9830ab554b Create bookmarks_below_content.css 2023-12-19 17:28:29 +02:00
flyxyz123
7fbc4aeeb6 Remove execute file mode bit (#329) 2023-12-11 17:32:36 +02:00
MrOtherGuy
c79cfaf813 Remove fx 119 specific light-dark() workarounds 2023-12-09 16:35:39 +02:00
MrOtherGuy
67a9e9f9c9 vertical tabs: add pref to show tab list on right 2023-11-26 05:24:35 +02:00
MrOtherGuy
4a3c0ceafa fake statusbar w bookmarksbar: make the pseudo-element have order: 2
This makes it stay the bottom-most item in layout even with styles like
multi-row_tabs below content which moves navigator-toolbox below
content.
2023-11-25 20:41:20 +02:00
MrOtherGuy
f42c760474 Don't modify #browser margins when chromehidden attr is set
chromehidden attribute to various values for windows where various
toolbar are disabled, such as popups etc.
2023-11-23 17:46:05 +02:00
MrOtherGuy
fd88af0e85 autohidden toolbars: Use :has() to show toolbar if menu popup is hovered 2023-11-23 17:27:28 +02:00
MrOtherGuy
4f3ac169e3 autohide bm and main toolbars: Fix margins in fullscreen mode
Previously if Firefox was in fullscreen mode and toolbars would autohide
(per Firefox normal setting) then this style would cause content area to
be pushed way too far up because of computed margin-top on
navigator-toolbox. This patch makes navigator toolbox use margin
computed from tabs toolbar height.
2023-11-23 17:02:57 +02:00
MrOtherGuy
f96fb4734e add vertical_tabs.css 2023-11-21 18:14:10 +02:00
MrOtherGuy
3a8ace8643 Deprecate bunch of styles
All of these have built-in support nowadays
2023-11-18 10:34:16 +02:00
MrOtherGuy
d66b6e54be multi row tabs: Make optional features use -moz-bool-pref media query 2023-11-18 10:08:48 +02:00
MrOtherGuy
97d32f14ac autohide nav buttons: Make this style work in current Firefox
This also simplifies selectors a lot
2023-11-18 09:05:22 +02:00
MrOtherGuy
faf976602e hide tabs toolbar: Add light-dark workaround for default theme 2023-11-13 05:32:41 +02:00
dom
db9e98834e parameterize autohide transition (#323) 2023-11-13 05:25:56 +02:00
MrOtherGuy
73338583a0 Use :has selector to let toolbars show if appMenu popup is hovered
This requires :has selector support which should be in fx 120
2023-11-06 15:04:22 +02:00
MrOtherGuy
74d01b4e67 vertical context navigation: Simplify styles
This removes bunch of magic numbers and rules that aren't needed anymore
2023-11-06 10:55:29 +02:00
MrOtherGuy
7082fc7d64 urlbar_popup_full_width: add workaround for Fx 119 light-dark() problem 2023-11-02 16:35:10 +02:00
MrOtherGuy
576b7d2bd5 curved tabs: Use :last-of-type instead of [last-visible-tab]
The attribute hasn't existed for some time
2023-10-30 06:47:44 +02:00
MrOtherGuy
0f1571231e Add !important tag where --toolbar-bgcolor is defined on :root 2023-10-29 15:34:19 +02:00
MrOtherGuy
69078c0394 Apply bookmarks block padding to bookmarks by variable
This makes the variable do what it says and makes compact mode work as
it should
2023-10-29 12:34:45 +02:00
MrOtherGuy
a6f9e49d12 fx 119 workaround: apply --toolbar-bgcolor workaround for a few styles
This applies same kind of change to a few styles that was introduced for
autohide_bookmarks_toolbar.css in #315
2023-10-29 12:31:59 +02:00
MrOtherGuy
2b284ede80 vertical context navigation: fix small misalignment issue 2023-10-29 08:49:30 +02:00
MrOtherGuy
1619a0010b hide tabs w one tab: use [overflow] as boolean attribute selector
Otherwise this would always hide alltabs button
2023-10-28 14:32:50 +03:00
MrOtherGuy
a0070f74fd tabs below content: don't apply TabsToolbar bg color to default theme 2023-10-28 14:14:36 +03:00
MrOtherGuy
a16f88fab3 Fix some background-image alignment issues for autohidden bm toolbar 2023-10-26 17:37:09 +03:00
MrOtherGuy
fd1b56ea7c autohide_bookmarks_toolbar: add workaround for fx 119 with default theme
In 119 the light-dark() computation doesn't always resolve correctly and
when default theme is used --toolbar-bgcolor ends up using it.
See bug 1853524 for some more info.
This fixes #315
2023-10-26 17:31:47 +03:00
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)
2023-10-25 18:39:30 +03:00
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.
2023-10-25 16:28:54 +03:00
MrOtherGuy
c8738a10ee non_floating_sharp_tabs: Fix tab coloring when using system auto theme
Fixes #313
Fixes #314
2023-10-25 06:01:34 +03:00
MrOtherGuy
fd73e2094e Add @media based versions for -moz-bool-pref in various styles
Also some cleanup for menupopup_forced_color_schemes.css for remove some
old and unused variables.

This just adds media query versions to files - old ones should be
removed at some point
2023-10-22 14:23:41 +03:00