Commit Graph

1071 Commits

Author SHA1 Message Date
MrOtherGuy
467a53ee72 use class instead of id selector for urlbar-input elements
See bug 1610530
2024-06-16 12:00:20 +03:00
MrOtherGuy
36e6c11242 urlbar container color border: make outline follow urlbar size 2024-06-16 11:39:18 +03:00
MrOtherGuy
f1480c80e3 iconized main menu: Fix zoom-controls pseudo border 2024-05-29 05:18:57 +03:00
MrOtherGuy
cd86e74b0f Update main menu panel selector for fx128. Fixes #377
Also adds an icon for Report broken site button.
2024-05-29 05:07:15 +03:00
MrOtherGuy
4e474a7191 Make newtab background-image important
Fx126 includes styling rules for newtab wallpapers so we neeed important
2024-05-19 06:06:51 +03:00
MrOtherGuy
31cb27a5d8 Don't depend on [inFullscreen] attribute for navigator-toolbox
Just use :root[sizemode="fullscreen"] instead
2024-05-16 05:23:04 +03:00
MrOtherGuy
9d8c38dd9d Remove dummy variables from urlbar_popup_full_width 2024-05-16 05:12:38 +03:00
MrOtherGuy
cb601a0a29 remove old @supports -moz-bool-pref uses 2024-05-16 05:11:36 +03:00
MrOtherGuy
c3ef474fd1 Remove titlebar opacity changes to fix layout 2024-05-16 04:58:52 +03:00
MrOtherGuy
b471f33134 replace uses of --urlbar-toolbar-height with --urlbar-container-height 2024-05-16 04:56:03 +03:00
MrOtherGuy
f28be04e06 animated tabs border: Make all tabs have 0px margin
This style can't really work without 0px margin but browser styles add
margin for first non-pinned visible tab.
2024-05-15 20:07:06 +03:00
MrOtherGuy
80211fb6fb Remove dependency to now non-existing --tabs-navbar-shadow-size 2024-05-15 20:05:53 +03:00
MrOtherGuy
66968d544a deprecate fake_tab_tooltip.css as Firefox already does same thing better 2024-05-04 07:15:35 +03:00
MrOtherGuy
44e1db76fa create dual_color_tab_attention_indicator.css 2024-04-23 17:33:02 +03:00
MrOtherGuy
1ca25bb300 vertical tabs: small layout fixes for pinned tabs 2024-04-21 20:41:38 +03:00
MrOtherGuy
e4d07e090e button effects: Apply scaling to several more button like elements
Fixes #362

This adds scaling to:
Downloads button
Reveal file button within downloads panel
Urlbar informational icons
Extension menu button within extensions panel
Tab close button
2024-04-21 20:25:47 +03:00
MrOtherGuy
e99abe83da Merge branch 'master' of https://github.com/MrOtherGuy/firefox-csshacks 2024-04-20 19:38:14 +03:00
MrOtherGuy
e9c84907ed vertical popup menubar: replace menubar tag selectors with #main-menubar
This prevents the style from applying to other menubars such as that of
Library
2024-04-20 19:36:46 +03:00
asteroidcow
008571e46d Popup windows without toolbars don't need padding (#361)
Co-authored-by: asteroidcow <asteroid.master0@gmail.com>
2024-04-20 08:40:34 +03:00
MrOtherGuy
4fc5e43136 remove padding and appearance from titlebar-buttons
This should correctly fix #359
2024-04-17 19:16:12 +03:00
MrOtherGuy
a6f4dae64c compact extensions panel: don't apply padding to toolbar buttons 2024-04-17 16:51:18 +03:00
MrOtherGuy
1be0e7d40f update rules in window_control_force_linux_system_style
Fixes #359
The appearance rules are nowadays applied to .toolbarbutton-icon, and
not the .titlebar-button itself
2024-04-17 16:49:19 +03:00
MrOtherGuy
822be8f660 Disable titlebar opacity changes in click_selected_tab_to_focus_urlbar 2024-04-16 20:15:40 +03:00
MrOtherGuy
0cc24d4211 compact extensions panel: reduce menuitem padding a bit
This patch also makes the menu button a bit bigger because it was much
smaller than menuitem height.
2024-04-12 16:56:25 +03:00
MrOtherGuy
c196712821 autohide_tabstoolbar: make transitions important
New window inactivity indicator transitions opacity, so we need to
override those. This fixes #355
2024-04-11 18:40:13 +03:00
MrOtherGuy
daf2d17b36 vertical menubar: rewrite to make only menubar fixed positioned
This allows this style to work with several other styles such as
tabs_on_bottom.css

This patch also introduces a pref with which the side of the vertical
strip can be changed - the default is now on left
2024-04-02 19:25:15 +03:00
MrOtherGuy
cc93a34f04 Hide container name box unless urlbar is hovered
Fixes #353
2024-03-26 19:31:48 +02:00
sonofevil
da374c6975 glitch fix and cosmetic improvement (#352)
* glitch fix and cosmetic improvement

fix: rule briefly failed to apply when opening new tab
improvement: divider alignment

* Update shrinking_pinned_tabs.css
2024-03-25 19:23:29 +02:00
MrOtherGuy
fc7b95c037 Remove background-image from titlebar-button > image drawn by firefox
Nowadays the icon is drawn as background-image, not list-style-image
2024-03-24 07:30:32 +02:00
MrOtherGuy
f821134c4a Fix bunch of issues with vertical_popup_menubar.css
Fixes #350 by applying workaround for titlebar will-change and opacity
layering issues

Makes the menubar menu coloring work on default theme

Make menubar bottom-margin computation use the same values as menubar
height - this should make other toolbars stay in place without moving
up/down on most setups, probably.
2024-03-23 20:57:15 +02:00
MrOtherGuy
6e37932a8c Make multi-row_tabs patch depend on window_cotrol support style
This change achieves multiple things:

* The sizing options for placeholder are in one place
* Improves compatibility with other styles
* Improves compatibility with other window control placements
* Makes fullscreen work
* Makes menubar not take any space when disabled

Previously, when Firefox did not have :has selector support, we needed
to create :hover triggered space to activate menubar, this took some
space from toolbar and required special styling to support translucent
toolbar background colors. But it was necessary, because otherwise there
would have been no way to access menubar items.

This still assumes that the user has menubar disabled, but that is fine,
because if menubar is enabled, then there is no reason to use this style
in the first place.
2024-03-22 12:49:05 +02:00
MrOtherGuy
0936153495 Make multi-row-tabs patch handle translucent toolbar a bit better 2024-03-22 07:38:53 +02:00
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