Commit graph

786 commits

Author SHA1 Message Date
MrOtherGuy
4650a9fb00 selected_tab_as_urlbar: don't hide nav-bar items is customization view 2023-03-24 10:16:57 +02:00
MrOtherGuy
6d00a86ace Make tabs_on_bottom_menubar_on_top_patch use menubar window controls 2023-03-23 20:27:59 +02:00
MrOtherGuy
505d247b8f floating-findbar: Don't let labels wrap in findbar 2023-03-22 07:03:47 +02:00
MrOtherGuy
b393f711a8 vertical_bookmarks_toolbar: Add workaround for flexbox changes 2023-03-22 07:03:15 +02:00
MrOtherGuy
0ff12e01fe Add support for modern flexbox layout
Flexbox model will replace old xul box as the default display model so
this patch adds support for that in a whole bunch of styles.

A lot of style rules are marked as "Fx < 112 compatibility" rules and
those can be removed when 112 hits release.
2023-03-11 12:26:07 +02:00
MrOtherGuy
0db37c5d77 classic_firefox_menu_button: make menu-button text ignore theme colors 2023-02-25 13:28:33 +02:00
MrOtherGuy
c8f143e3c7 create compact_extensions_panel.css 2023-02-21 18:46:39 +02:00
MrOtherGuy
055e742a87 non_floating_tabs: apply relative selected tab position to pinned tabs
In overflow mode Firefox will override that anyway so no need to exclude
all pinned tabs.
2023-02-16 05:28:48 +02:00
MrOtherGuy
b906186eb9 Autohide_bookmarks_toolbar: Provide fallback for --toolbar-bgimage
This fixes an issue where the background-image: would compute to none if
--toolbar-bgimage is missing.
2023-02-15 05:40:29 +02:00
MrOtherGuy
5facc2e8c9 non-floating-tabs: Make selected tab have position: relative again
Firefox 110 made selected tab static, but we need it to be relative so
that it gets drawn over the navbar top box-shadow
2023-02-15 05:09:44 +02:00
MrOtherGuy
8c41908dd8 Replace uses of [{first,last}-visible-tab] with pseudo-classes
Those attributes don't exist anymore in Firefox 109
2023-01-29 20:49:11 +02:00
MrOtherGuy
eeba98f261 Fix centering of toolbarbutton label 2023-01-22 07:49:57 +02:00
MrOtherGuy
ab3a999c3b floating findbar: Make the style default to left-side placement
Findbar items are normally at left-side in Firefox so this fits better.
2023-01-21 09:56:17 +02:00
MrOtherGuy
8764747ff1 floating findbar: Add preffed option to move findbar to left side 2023-01-21 09:25:38 +02:00
MrOtherGuy
0e2b52fcaa Selected tab as urlbar: Remove outline from urlbar 2023-01-21 08:53:29 +02:00
MrOtherGuy
c48a197a63 iconized_menubar_items: only remove label from main-window menubar 2023-01-19 05:15:58 +02:00
sonofevil
bbedf1e5c4
fix flicker glitch (#248)
* fix flicker glitch

* fix incorrect selector
2023-01-18 15:57:11 +02:00
MrOtherGuy
715ab86abc Fix some comments in tabs_on_bottom.css
This just removes an ancient leftover comment and reorders comments at
the top of the file.
2023-01-12 23:32:27 +02:00
MrOtherGuy
d4b5627473 Make proton-like context menus look a bit nicer with compact density.
This patch also adds a few more color variables to optional settings
2023-01-12 11:57:41 +02:00
MrOtherGuy
036af1d3a0 Small improvements to context_menus_more_proton.css
This increases menupop corner rounding to match arrowpanels and makes
context-navigation hover color match other menuitem backgrounds
2023-01-11 10:53:23 +02:00
MrOtherGuy
76867a5f57 tab-separator-lines: switch to using border-inline-start for border
Previously we used border-inline-end but that won't work in Firefox 110
because tabs aren't given certain attributes anymore.
2023-01-10 09:41:48 +02:00
MrOtherGuy
b88c1f5bf1 Improvements for hide_tabs_scrollbuttons
This patch "unhides" tabs scrollbox overflow indicators as well as adds
background for scrollbuttons when re-oredering tabs. Both of these are
pretty complicated things to achieve, so this patch also adds a small
compatibility layer for non_floating_sharp_tabs.css
2023-01-05 15:21:48 +02:00
MrOtherGuy
bba50ef2f3 Don't remove borders from nearby tabs when moving tabs 2023-01-05 14:33:54 +02:00
MrOtherGuy
59af5985f5 Hide tab separator lines for multiselected tabs. 2023-01-05 10:44:05 +02:00
MrOtherGuy
cc6603de10 create overlay_sidebar_header.css 2023-01-03 16:30:29 +02:00
MrOtherGuy
99a58e8208 Add "deprecated/" to address of deprecated files 2023-01-01 18:44:45 +02:00
MrOtherGuy
7953cb9d8e Move "legacy" or otherwise deprecated styles into sub-folder 2023-01-01 18:40:37 +02:00
MrOtherGuy
a46d28bcab replace uses of #browser-bottombox with #main-window > body::after
Browser-bottombox element has been removed from Firefox in 109 so lets
not use that anymore.
2022-12-30 16:59:07 +02:00
MrOtherGuy
b434a2d9f5 fake_statusbar: fix and improve layout
browser-bottombox doesn't exist anymore so create space using
body::after instead. This patch additionally fixes various alignment
issues with elements in the statusbar.
2022-12-30 16:44:02 +02:00
MrOtherGuy
f9b3e20163 Fix bunch of clipping issues in curved_tabs.css
There is still one(known?) case that happens if one uses a theme with
non-opaque toolbar background-color with optional extra-border rules.
But that option isn't too nice with non-opaque colors anyway so left as
todo.

In addition, this patch makes the optional rules use @supports
-moz-bool-pref rules instead of having to remove commented sections in
the css file.
2022-12-27 11:30:06 +02:00
MrOtherGuy
ef199c5c24 Clip button width to 12ch for toolbarbuttons_icon+label 2022-12-26 18:59:43 +02:00
MrOtherGuy
134491e41a buttonlike_toolbarbuttons.css: Update the style for Firefox 108 2022-12-26 12:29:31 +02:00
MrOtherGuy
19b2e4fa1f fake_statusbars: Cover tabpanels with opaque color
Normally web-content hides the real statusbar but with RFP letterboxing
that might not happen. So lets inherit the background-color from
tabbrowser-tabpanels to make sure it's covered properly.
2022-12-24 09:35:54 +02:00
MrOtherGuy
be90242a5c Update navbar_tabs_oneliner_tabs_on_left
This patch makes the style use same logic for window controls on left
layout that we now use elsewhere.
2022-12-24 08:37:45 +02:00
MrOtherGuy
fd7b8500db Apply correct colors to textual_context_navigation.css 2022-12-23 17:49:08 +02:00
MrOtherGuy
86fd7202c5 Use correct pref name in tabs_on_bottom.css 2022-12-23 14:26:23 +02:00
MrOtherGuy
95fbda2710 Improve support for gtk-csd-reversed-placement
This patch changes how we deal with window control buttons on left
layouts. Previously, we looked to a pref that was only set on macos
but with this patch we use media queries to detect whether the system
is macOS or gtk-csd buttons use left-side layout.

To support old-style "override pref" this patch also introduces a
new custom pref userchrome.force-window-controls-on-left.enabled
which can be used e.g on Windows to move window controls to left side.
This logic is currently only supported in styles that use
window_control_placeholder_support.css
2022-12-23 13:53:51 +02:00
MrOtherGuy
c07ce454e8 Make tab separator lines border-image important. Fixes #239
On MacOS tabs have border:none which resets border-image. This patch
overrides that rule.
2022-12-23 08:43:48 +02:00
MrOtherGuy
7ef22f7807 Use CSS containment to make hide_tabs_with_one_tab work reasonably 2022-12-18 13:49:56 +02:00
MrOtherGuy
024f9dcee7 window_title_in_menubar: Make title clip with ellipsis instead of wrapping 2022-12-17 09:41:53 +02:00
MrOtherGuy
f5c703c547 toolbars_below_content: remove negative bottom value from urlbar
This fixes urlbar moving a bit when it's being opened
2022-12-16 11:13:59 +02:00
MrOtherGuy
0830700dc0 navbar_below_content: remove negative bottom value from urlbar
This fixes an issue where the urlbar moves a bit when opened
2022-12-16 11:09:38 +02:00
MrOtherGuy
f621bb7a7a some improvements to compact_urlbar_megabar.css
Fix code formatting and tweaks to urlbar-input-container sizing
2022-12-16 11:07:17 +02:00
MrOtherGuy
b1bae62e32 vertical_bookmarks_toolbar.css: Make PlacesToolbar flow vertically 2022-12-14 21:36:25 +02:00
MrOtherGuy
0c0ba80f0b adjustments for bookmarks toolbar item sizing
This fixes an issue with Firefox 108 where an empty "placeholder" space
would appear below tabs toolbar.
2022-12-14 09:16:30 +02:00
MrOtherGuy
4918f31c82 Improvements for centered_tab_label.css
This patch makes tab label work better when label has rtl text.
Secondary tab label (like "muted" etc.) is now also centered.
2022-12-08 16:19:36 +02:00
MrOtherGuy
a25da9fe49 multi-row_tabs_below_content.css: make arrowscrollbox use display:inline 2022-11-28 23:41:25 +02:00
AMS777
a0a477cebf
Fix empty tab rows on Firefox 107 (#232)
On Firefox 107, the tab bar displays all the tab rows, even if they are empty because there are few tabs.
This change removes the empty tab rows and restores the right behavior, only displaying tab rows when there are too many tabs to fit in one row.
2022-11-28 23:38:01 +02:00
MrOtherGuy
9a66b9e88f status_inside_urlbar: pack statuspanel label to center when asked to
Loading status label is rendered as pseudo-element in Firefox 109 and
this change is necessary to correctly center the label in that case.
2022-11-28 09:01:48 +02:00
MrOtherGuy
6fa2a9beb4 various improvements for combined_tabs_and_main_toolbars.css
This patch makes focused urlbar overlay other toolbar instead of being
constrained to urlbar-container width. This also disables that weird
bookmarks toolbar margin by default, but leaves code for Firefox <108
compatibility. Unpinned tabs are now visible by default but that can be
reversed by setting a pref. And lastly this disables tabs
arrowwscrollbox css containment which would cause the style to not work
in Firefox 108.
2022-11-21 08:29:41 +02:00