Commit Graph

1092 Commits

Author SHA1 Message Date
Michael A. 6fc627e1cb Update multi-row_tabs.css: grow tabs only when horizontal (#603) 2026-02-11 15:46:21 +02:00
MrOtherGuy 4d1fbb1679 icon-only tabs: Collapse the tab icons when a tab group is collapsed
Fixes #602
2026-02-07 09:29:17 +02:00
MrOtherGuy bcb85f0476 autohide sidebar: add optional way to also hide sidebar main 2026-01-16 16:11:00 +02:00
MrOtherGuy 021da269f0 Support boolean attributes for xul checked and disabled attributes
See bug 2008041
2026-01-07 19:05:48 +02:00
MrOtherGuy 1a3b86bff8 autohiding toolbars: Wait for [sessionrestored] before setting urlbar transition
--urlbar-container-height, which is set for #urlbar-container, is computed
dynamically early on startup. If we set transition to it, then it will transition
from the initial height to the new value and because of that the computed value
is determined using the initial height instead of the "correct" value set by
toolbar density options. The issue most noticeably occurs when initial window
has startup page as blank, and when compact density is selected, but it does
but really it can also happen without them, the effect just might be so subtle
that it's not perceivable.
2026-01-04 12:35:58 +02:00
MrOtherGuy ab752a5b27 autohide main toolbar: Create compatibility rules for tabs_on_bottom_v2.css 2025-12-21 18:30:15 +02:00
MrOtherGuy 2f30a2283b Keep autohiding tabs toolbar open also when tabgroup preview panel is open 2025-11-12 21:06:24 +02:00
MrOtherGuy 2f9633a680 tabs on bottom: show window controls in nav-bar when menubar is collapsed
Fixes #589
2025-11-12 20:41:14 +02:00
MrOtherGuy c7108cdc79 Keep autohiding toolbars shown when tab-group-editor panel is open
Fixes #590
2025-11-12 20:39:48 +02:00
MrOtherGuy a7a29f9ac9 Fix bad logic with some [autohide] attribute selectors 2025-11-02 19:35:22 +02:00
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 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 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