Commit Graph

861 Commits

Author SHA1 Message Date
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
MrOtherGuy
2df24c36a2 compact_extensions_panel: make it work in Fx115 2023-07-05 17:59:21 +03:00
MrOtherGuy
9276283311 tabs periphery toolbarbuttons: add workaround to not trigger overflow
This adds a 2px margin to periphery which acts as buffer-zone so when
a tab is added or removed the layout won't immediately cause
overflow-mode to activate
2023-05-28 06:39:08 +03:00
MrOtherGuy
caa8fd1dc0 Format some comments a bit better 2023-05-27 09:16:53 +03:00
MrOtherGuy
884fdc0dee create toolbarbuttons_in_tabs_periphery.css 2023-05-27 09:11:32 +03:00
MrOtherGuy
190302b473 create tab_closing_animation.css 2023-05-18 12:18:37 +03:00
MrOtherGuy
d6eb2ac027 Remove old -moz-os-version media queries
They aren't needed anymore since ESR supports -moz-platform already
2023-05-16 06:38:41 +03:00
MrOtherGuy
2a6e95b5dc Don't show menubar on popoup windows where it is supposed to be hidden 2023-05-16 06:34:22 +03:00
MrOtherGuy
337c8d05ef selected_tab_as_urlbar: Make selected tab grow more than other tabs 2023-05-15 18:17:02 +03:00
MrOtherGuy
8aab757dda oneliners: allow ulrbar-container to shrink a bit
This fixes a problem where urlbar would cause items in the toolbar to
overflow the whole toolbar too early
2023-05-14 10:36:41 +03:00
MrOtherGuy
c09e848846 multi-row tabs: Make flex-grow !important for fixed-width tabs to work 2023-05-12 16:59:43 +03:00
MrOtherGuy
b2e37ffc57 overlay_tab_audio_icons: Set fill color and fill-opacity for icons
This makes sure that the icon stays visible unless your theme colors
explicitly tells otherwise. Setting full fill-opacity makes the icons
look same between pinned and non-pinned tabs.
2023-05-11 19:26:44 +03:00