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
12 months ago
MrOtherGuy
2b284ede80
vertical context navigation: fix small misalignment issue
12 months ago
MrOtherGuy
1619a0010b
hide tabs w one tab: use [overflow] as boolean attribute selector
...
Otherwise this would always hide alltabs button
12 months ago
MrOtherGuy
a0070f74fd
tabs below content: don't apply TabsToolbar bg color to default theme
12 months ago
MrOtherGuy
a16f88fab3
Fix some background-image alignment issues for autohidden bm toolbar
12 months ago
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
12 months ago
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)
12 months ago
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.
12 months ago
MrOtherGuy
c8738a10ee
non_floating_sharp_tabs: Fix tab coloring when using system auto theme
...
Fixes #313
Fixes #314
1 year ago
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
1 year ago
MrOtherGuy
9fe466140a
Further improve selected_tab_as_urlbar and selected_tab_to_focus ulrbar
1 year ago
MrOtherGuy
15074a8b29
click_selecte_tab_to_focus_urlbar: fix capture box sizing
1 year ago
MrOtherGuy
5e3164aa35
selected_tab_as_urlbar: fix various issues and add support for menubar
1 year ago
MrOtherGuy
b504c639a7
curved tabs: use @media based -moz-bool-pref
...
With this change the optional features now require Firefox 120
1 year ago
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
1 year ago
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.
1 year ago
MrOtherGuy
38d48b5911
round_ui_items: remove old rules that don't make sense with proton ui
1 year ago
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
1 year ago
MrOtherGuy
6518dfbc39
Add icons for translations and zoom items in main menu. fixes #311
1 year ago
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
1 year ago
MrOtherGuy
fe6a29dbcd
remaining -moz-box-x cleanup
1 year ago
MrOtherGuy
a504b365c8
fix incorrect notification bar layout
1 year ago
MrOtherGuy
1ff9383984
Remove even more old Firefox < 112 compatibility rules
1 year ago
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.
1 year ago
MrOtherGuy
3430203e6f
centered tab label: make margin on close-button to be 6px instead of 7px
1 year ago
MrOtherGuy
13e1340e9a
remove old Fx <112 compatibility rules
1 year ago
MrOtherGuy
ed5a677a15
rework navigator-toolbox-background selectors
1 year ago
MrOtherGuy
aad2575816
Make bunch of attribute selectors boolean checks
...
This is related to bug 1849904
1 year ago
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.
1 year ago
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.
1 year ago
MrOtherGuy
5ea61e3d40
Add workarounds for bug 1705215
1 year ago
fortystory
a67074ccfa
change min-width ( #299 )
1 year ago
MrOtherGuy
2df24c36a2
compact_extensions_panel: make it work in Fx115
1 year ago
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
1 year ago
MrOtherGuy
caa8fd1dc0
Format some comments a bit better
1 year ago
MrOtherGuy
884fdc0dee
create toolbarbuttons_in_tabs_periphery.css
1 year ago
MrOtherGuy
190302b473
create tab_closing_animation.css
1 year ago
MrOtherGuy
d6eb2ac027
Remove old -moz-os-version media queries
...
They aren't needed anymore since ESR supports -moz-platform already
1 year ago
MrOtherGuy
2a6e95b5dc
Don't show menubar on popoup windows where it is supposed to be hidden
1 year ago
MrOtherGuy
337c8d05ef
selected_tab_as_urlbar: Make selected tab grow more than other tabs
1 year ago
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
1 year ago
MrOtherGuy
c09e848846
multi-row tabs: Make flex-grow !important for fixed-width tabs to work
1 year ago
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.
1 year ago
MrOtherGuy
d9ed3a66b6
centered statuspanel: remove min-width from statuspanel when loading
...
Firefox gives min-width as inline style to the statuspanel while page is
loading
1 year ago
MrOtherGuy
26489fc1f8
create centered_statuspanel.css and deprecate old one
...
This new defaults to bottom layout, but can be moved to top by setting
pref userchrome.centered-statuspanel.on-top.enabled
1 year ago
MrOtherGuy
e8e15af36c
vertical_bookmarks_toolbar: Enable webkit-box layout for Firefox 113
1 year ago
MrOtherGuy
0d76e913ac
centered_top_statuspanel: center statuspanel using justify-self
1 year ago
MrOtherGuy
b26f1d3fc6
centered top statuspanel: use inline margin to center the statuspanel
1 year ago
MrOtherGuy
2a0f40b305
floating findbar: Derive findbar background from theme colors
...
Previously this just used --toolbar-bgcolor which may have transparency
leading to poor readability. Similar results might still happen if theme
has poor text-background contrast, but now the result should be less
unpredicatable.
1 year ago
MrOtherGuy
512a39ba57
remove remaining uses of -moz-inline-box
2 years ago
MrOtherGuy
607bf5c08d
centered_tab_content: Make it do what it was actually supposed to do
2 years ago
MrOtherGuy
a437fe6dd1
centered tab content: don't add negative margin to pinned tabs
2 years ago
MrOtherGuy
d6179b1b54
rewrite centered_tab_content.css
2 years ago
MrOtherGuy
0b81416657
placeholder_support: Make placeholder border transparent
...
This patch makes the placeholder borders use transparent borders instead
of color derived from your theme. Instead the background-clip is
extended to border-box (which it already was on non-Windows systems)
2 years ago
MrOtherGuy
21750e272b
vertical_bookmarks_toolbar: make placesToolbarItems default to flex
...
-webkit-box doesn't work correctly in Firefox 112 and 113 so lets
default to flex again and make webkit-box opt-in. It is required for
Fx 114 though, but nightly users need to opt-in to using it.
2 years ago
MrOtherGuy
97b9f5c3d8
create status_inside_menubar.css
2 years ago
MrOtherGuy
0c1a86cec5
vertical_bookmarks_toolbar: Make PlacesToolbarItems use -webkit-box
...
This is because scrollbox[orient="horizontal"] has a UA sheet set
important row flex-direction which we cannot override.
2 years ago
MrOtherGuy
92be3549cd
buttonlike buttons: Remove custom styling of zoom items in overflow menu
2 years ago
MrOtherGuy
1f74ecee91
buttonlike toolbarbuttons: also remove styling from pinned overflow menu
2 years ago
MrOtherGuy
bb8d623ced
buttonlike toolbarbuttons: remove custom sizing inside panels
2 years ago
MrOtherGuy
76f260269d
Use scrollbar-gutter in multi-row tabs and bookmarks
...
This should prevent the appearing/disappearing scrollbar from reflowing
content.
2 years ago
MrOtherGuy
e98c0b62a5
create tab_animated_active_border.css
2 years ago
MrOtherGuy
3377abf584
buttonlike toolbarbuttons: remove normal background from extensions
2 years ago
MrOtherGuy
0722603222
buttonlike_toolbarbuttons: apply to menubar and tabs toolbar
...
This patch simplies a lot of selectors and makes the changes apply to
buttons in menubar and tabs toolbar. With the exception of
tabs-newtab-button. Additionally, this makes the style
much better support dropdown buttons, combined buttons and findbar
buttons.
2 years ago
MrOtherGuy
5ab29bc53e
tabs below content: Add support for reversed window controls
2 years ago
MrOtherGuy
647b413152
Remove xul-box use from bunch of styles
2 years ago
MrOtherGuy
a9201944a9
selected_tab_as_urlbar: horizontally center urlbarview to window
2 years ago
MrOtherGuy
0aa8c49b99
selected_tab_as_urlbar: Add mechanism to show back and forward buttons
2 years ago
MrOtherGuy
4650a9fb00
selected_tab_as_urlbar: don't hide nav-bar items is customization view
2 years ago
MrOtherGuy
6d00a86ace
Make tabs_on_bottom_menubar_on_top_patch use menubar window controls
2 years ago
MrOtherGuy
505d247b8f
floating-findbar: Don't let labels wrap in findbar
2 years ago
MrOtherGuy
b393f711a8
vertical_bookmarks_toolbar: Add workaround for flexbox changes
2 years ago
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.
2 years ago
MrOtherGuy
0db37c5d77
classic_firefox_menu_button: make menu-button text ignore theme colors
2 years ago
MrOtherGuy
c8f143e3c7
create compact_extensions_panel.css
2 years ago
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.
2 years ago
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.
2 years ago
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
2 years ago
MrOtherGuy
8c41908dd8
Replace uses of [{first,last}-visible-tab] with pseudo-classes
...
Those attributes don't exist anymore in Firefox 109
2 years ago
MrOtherGuy
eeba98f261
Fix centering of toolbarbutton label
2 years ago
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.
2 years ago
MrOtherGuy
8764747ff1
floating findbar: Add preffed option to move findbar to left side
2 years ago
MrOtherGuy
0e2b52fcaa
Selected tab as urlbar: Remove outline from urlbar
2 years ago
MrOtherGuy
c48a197a63
iconized_menubar_items: only remove label from main-window menubar
2 years ago
sonofevil
bbedf1e5c4
fix flicker glitch ( #248 )
...
* fix flicker glitch
* fix incorrect selector
2 years ago
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.
2 years ago
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
2 years ago
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
2 years ago
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.
2 years ago
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
2 years ago
MrOtherGuy
bba50ef2f3
Don't remove borders from nearby tabs when moving tabs
2 years ago
MrOtherGuy
59af5985f5
Hide tab separator lines for multiselected tabs.
2 years ago
MrOtherGuy
cc6603de10
create overlay_sidebar_header.css
2 years ago
MrOtherGuy
99a58e8208
Add "deprecated/" to address of deprecated files
2 years ago
MrOtherGuy
7953cb9d8e
Move "legacy" or otherwise deprecated styles into sub-folder
2 years ago
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.
2 years ago
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.
2 years ago
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.
2 years ago
MrOtherGuy
ef199c5c24
Clip button width to 12ch for toolbarbuttons_icon+label
2 years ago
MrOtherGuy
134491e41a
buttonlike_toolbarbuttons.css: Update the style for Firefox 108
2 years ago