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
MrOtherGuy
9fe466140a
Further improve selected_tab_as_urlbar and selected_tab_to_focus ulrbar
2023-10-22 14:19:16 +03:00
MrOtherGuy
15074a8b29
click_selecte_tab_to_focus_urlbar: fix capture box sizing
2023-10-22 12:21:33 +03:00
MrOtherGuy
5e3164aa35
selected_tab_as_urlbar: fix various issues and add support for menubar
2023-10-22 12:18:59 +03:00
MrOtherGuy
b504c639a7
curved tabs: use @media based -moz-bool-pref
...
With this change the optional features now require Firefox 120
2023-10-22 11:41:47 +03:00
MrOtherGuy
ca4b506dea
Fix various issues with combined_tabs_and_main_toolbars
...
This requires Fx 120 now but it didn't work previously anyway so that's
fine
2023-10-22 11:39:28 +03:00
MrOtherGuy
26709ba52a
Fix bunch of issues with hide_tabs_toolbar_w_alltabs_button
...
This really didn't work at all with left-hand side window cotrols
layout, and window dragging didn't work - but now they do at least to
some extent.
2023-10-22 10:59:25 +03:00
MrOtherGuy
38d48b5911
round_ui_items: remove old rules that don't make sense with proton ui
2023-10-18 04:50:54 +03:00