Commit Graph

1240 Commits

Author SHA1 Message Date
MrOtherGuy
d43bf20eef hide tabs toolbar: Remove uses of [tabsintitlebar] 2025-11-02 19:06:49 +02:00
MrOtherGuy
c234f4a548 hide tabs toolbar: Remove remaining -moz-bool-pref queries 2025-11-02 19:05:29 +02:00
MrOtherGuy
f54dcd8b99 Fix broken negation pseudo-class selectors from 9e39c99 2025-11-02 19:03:13 +02:00
MrOtherGuy
bcff6cce21 update tag browser tags 2025-11-02 07:05:52 +02:00
MrOtherGuy
8d3c6ab4fc code cleanup: remove uses of -moz-bool-pref 2025-11-02 06:45:00 +02:00
MrOtherGuy
c0eb3732a8 code cleanup: deprecate bunch of old styles
These all have either better replacements or can be done without the style
2025-11-02 06:29:33 +02:00
MrOtherGuy
a7bcb11625 code cleanup: remove rules using #titlebar 2025-11-02 06:23:35 +02:00
MrOtherGuy
3e6975e347 code cleanup: remove uses of [tabsintitlebar] 2025-11-02 06:10:20 +02:00
MrOtherGuy
b3c2d27f24 deprecate multi-row_main_toolbar.css 2025-11-02 06:09:16 +02:00
MrOtherGuy
41d995ac7b menubar in main toolbar: rewrite to use grid layout 2025-10-27 16:30:51 +02:00
MrOtherGuy
73d183120b Show autohiding toolbars when a window modal dialog is open.
Toolbar layout properties, notably --urlbar-container-height, is
re-computed when window modal dialog is closed and the values would be
totally incorrect if the toolbars are hidden at that time. This fixes #582
and likely several other issues as well.
2025-10-24 06:01:52 +03:00
MrOtherGuy
4ca42c4c8d hide tabs toolbar: Hide sidebar launcher splitter when vertical tabs are enabled
This prevents activating window resizing cursor appearing when fullscreen on linux.
2025-10-16 17:45:58 +03:00
MrOtherGuy
7880f2e9a3 autohide tabstoolbar: Make vertical tabs stay expanded while dragging tab 2025-10-16 16:53:20 +03:00
MrOtherGuy
a53bb3bf96 autohide tabstoolbar v2: Add a hover target pseudo-element to capture hovering
Previously we were showing tabs toolbar when the whole toolbox became hovered
which would make using bookmarks and navigation toolbars pretty annoying.
2025-10-10 18:36:50 +03:00
MrOtherGuy
7782493221 Deprecate window_control_force_linux_system_style.css 2025-10-03 16:31:50 +03:00
MrOtherGuy
c9cc22f418 compact urlbar megabar: Fix for misaligned icons
Also adds :where(#urlbar) for few selectors in anticipation of searchbar
rework
2025-09-22 16:23:18 +03:00
MrOtherGuy
9e39c99f50 Support [autohide] as boolean attribute
Firefox 143 uses authide as boolean attribute, so we need to support
both versions, thus selectors looking mildly horrifying
2025-09-18 17:06:31 +03:00
MrOtherGuy
41e003708f bookmarks below content: PersonalToolbar needs position: fixed
Because navigator-toolbox has position: relative
2025-09-16 06:02:21 +03:00
MrOtherGuy
f87fcdf68c Handle both [collapsed="true"] and [collpsed=""] attributes
Firefox 143 use collapsed attribute as regular boolean attribute, so we
need to handle both cases.
2025-09-16 05:59:34 +03:00
MrOtherGuy
e31863b288 curved-tabs: remove overflow and margin from tabs in collapsed groups 2025-09-11 17:23:39 +03:00
MrOtherGuy
9bb5b59e3a Don't use svg icons in window controls anymore
Firefox 141 changed Window control buttons to use font-icons from MDL2
and removed old icon files. So let's use the font instead.
2025-08-29 05:28:06 +03:00
MrOtherGuy
0903662c2b tab loading line indicator: Pinned tab icon display needs !important tag 2025-08-23 13:49:27 +03:00
MrOtherGuy
dfeb25f711 iconized main menu: Apply transparent stroke to the icon of quit button 2025-08-21 09:32:06 +03:00
MrOtherGuy
2addb23819 classic grid main menu: Fix old proton-related ids and make this work 2025-08-20 18:08:51 +03:00
MrOtherGuy
38d54d3f29 iconized main menu: forward stroke: transparent to quit icon 2025-08-20 18:08:05 +03:00
MrOtherGuy
b169686cc3 Make custom_menupopup_check_icons.css do something 2025-08-02 10:03:32 +03:00
MrOtherGuy
8ae2da6590 Add selectors for urlbar-background as class 2025-08-02 09:51:40 +03:00
MrOtherGuy
14d2fa0d03 Add #notifications-toolbar as selector where notifications are styled 2025-07-27 07:08:51 +03:00
MrOtherGuy
1c158ec2dc Apply styles affecting #tabbrowser-arrowsrollbox to pinned container 2025-07-25 12:37:04 +03:00
MrOtherGuy
cb6e193ff8 Add fallback for --lwt-accent-color 2025-07-25 12:28:23 +03:00
MrOtherGuy
f1da322d1d Remove uses of [positionpinnedtabs] 2025-07-25 12:27:11 +03:00
MrOtherGuy
8eda953922 curved-tabs: Various fixes 2025-07-25 12:05:19 +03:00
MrOtherGuy
eaddc9b4dd Merge branch 'master' of https://github.com/MrOtherGuy/firefox-csshacks 2025-07-23 07:06:18 +03:00
MrOtherGuy
61301d7475 Replace overflow: -moz-hidden-unscrollable with overflow: clip 2025-07-22 19:25:21 +03:00
soulhotel
bedf5da513 Makes the bookmarks toolbar scrollable (#557)
* Makes the bookmarks toolbar scrollable

* Update scrollable_bookmarks_toolbar.css

* Make the bookmarks toolbar scrollable (comment corrections)
2025-06-29 07:29:41 +03:00
MrOtherGuy
c675b129c0 overlay tab audio icons: improve the audio icon alignment a bit 2025-06-27 11:41:38 +03:00
MrOtherGuy
791e1e59ca hide tabs scrollbuttons: Add fallback --tab-shadow-max-size prop
--tab-shadow-max-size property doesn't exist anymore and thus our margin
computation for the scrollbuttons doesn't work anymore. This patch
fixes #555
2025-06-25 16:48:54 +03:00
MrOtherGuy
b8e0cb847e standalone images: Don't set auto margin by default
It break zoomed-in images.
2025-06-04 19:19:21 +03:00
MrOtherGuy
96476e85ac multi-row-tabs: Use tabbrowser-tabs as the tab container
This makes tabs scrollboxes have display:contents and thus makes tabs
use tabbrowser-tabs as their parent container.

Reason being that in firefox 141 the pinned tabs are moved to separate
scrollbox which would then have it's own display block.
Fixes #551
2025-06-04 16:33:27 +03:00
MrOtherGuy
a9d0818e2c iconized menubar items: Update selectors a bit 2025-06-02 05:42:57 +03:00
MrOtherGuy
20830b8677 autohide sidebar: handle .sidebar-browser-stack wrapper 2025-05-22 18:19:26 +03:00
MrOtherGuy
c880ab119a autohide sidebar: set sidebar-box directionality only based on side 2025-05-03 20:27:34 +03:00
MrOtherGuy
7f4f4511ba autohide sidebar: Add option for fixed-layout sidebar via pref 2025-04-30 12:43:20 +03:00
MrOtherGuy
b57c0b5456 autohide-sidebar: make sidebar rules use [sidebar-positionend] attribute
And also remove extra border for revamped sidebar.
This fixes #542
2025-04-30 12:37:30 +03:00
MrOtherGuy
016521f0a2 Update menuitem rules to reflect simplifications from 1959540 2025-04-15 21:32:22 +03:00
MrOtherGuy
db143f9f42 toolbars below content: use linux top margin hack to extension panels
We already apply computed top margin to notification popup and
permission popup so that they are visible. But it seems that if the
panel is close enough to screen bottom edge (such as in maximized
windows) then the panel contents fail typically fail to render. For
whatever reason, changing the default margin for
customizationui-widget-panel makes the failures much less frequent
although it doesn't appear to get rid of the issue completely.
2025-04-13 11:38:10 +03:00
MrOtherGuy
be179ef099 autohide tabstoolbar: fix positionend selectors for fx138 2025-04-05 09:40:56 +03:00
MrOtherGuy
fa0ac7036e autohide tabstoolbar: inherit background from sidebar-wrapper 2025-04-05 06:43:36 +03:00
MrOtherGuy
9bf9c83944 autohide toolbox: clamp urlbar-input box block padding
When the user exits customize mode, Firefox re-evaluates urlbar
dimensions and the result ends up with --urlbar-height becoming 0px
since the urlbar gets hidden.

The input box uses --urlbar-height to calculate its block padding which
in turn evaluates to full urlbar-height - thus making the contents of
input-box 0px leading to "invisible" input-box.

As a workaround we now clamp the padding-block calculation to 4px.
2025-03-30 07:46:58 +03:00
MrOtherGuy
2eaffa57ff autohiding styles: exclude more selectors from triggering auto-show
Fixes #535
2025-03-29 04:59:22 +02:00