Commit Graph

1024 Commits

Author SHA1 Message Date
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
MrOtherGuy
3b184df8c4 fake statusbar w bookmarks: invent a new css variable to control height
Old method was based on toolbarbutton-inner-padding but that has way too
much variability between setups to be consistent
2023-10-14 10:38:04 +03:00
MrOtherGuy
6518dfbc39 Add icons for translations and zoom items in main menu. fixes #311 2023-10-07 18:13:31 +03:00
MrOtherGuy
daf7624553 Remove now-unnecessary rules from autohide-bookmarks_and_main_toolbars
These rules were once needed to make sure that invisible toolbox didn't
steal pointer events from sidebar. Not needed anymore, and this removal
also fixes #305
2023-09-26 19:43:51 +03:00
MrOtherGuy
fe6a29dbcd remaining -moz-box-x cleanup 2023-09-26 19:38:21 +03:00
MrOtherGuy
a504b365c8 fix incorrect notification bar layout 2023-09-26 19:37:57 +03:00
MrOtherGuy
1ff9383984 Remove even more old Firefox < 112 compatibility rules 2023-09-10 06:55:31 +03:00
MrOtherGuy
b2bb9d3b84 fake statusbar w bookmarks: flex-space should have !important flex-grow
author styles set it to 1, so without !important there is no effect.
2023-09-09 05:50:43 +03:00
MrOtherGuy
3430203e6f centered tab label: make margin on close-button to be 6px instead of 7px 2023-09-07 20:22:09 +03:00
MrOtherGuy
13e1340e9a remove old Fx <112 compatibility rules 2023-09-07 20:20:40 +03:00
MrOtherGuy
ed5a677a15 rework navigator-toolbox-background selectors 2023-09-07 20:09:55 +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
7daa9b45e3 status_inside_urlbar: let urlbar menupopup show again
Previously we hid it on purpose because it caused pretty major layout
issues when urlbar's grid layout interacted with xul layout.

But now with flexbox it should work just fine.
2023-08-15 21:01:00 +03:00
MrOtherGuy
05ad86ab51 tabs_below_content: Add support for showing tabs toolbar in fullscreen
This patch uses browser.fullscreen.autohide to detect if toolbars should
hide - and if so then tabs toolbar is hidden unless hovered.
2023-07-21 18:52:13 +03:00
MrOtherGuy
5ea61e3d40 Add workarounds for bug 1705215 2023-07-18 19:16:42 +03:00
fortystory
a67074ccfa change min-width (#299) 2023-07-10 07:19:33 +03:00