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
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.
2 years ago
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.
2 years ago
MrOtherGuy
fd7b8500db
Apply correct colors to textual_context_navigation.css
2 years ago
MrOtherGuy
86fd7202c5
Use correct pref name in tabs_on_bottom.css
2 years ago
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
2 years ago
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.
2 years ago
MrOtherGuy
7ef22f7807
Use CSS containment to make hide_tabs_with_one_tab work reasonably
2 years ago
MrOtherGuy
024f9dcee7
window_title_in_menubar: Make title clip with ellipsis instead of wrapping
2 years ago
MrOtherGuy
f5c703c547
toolbars_below_content: remove negative bottom value from urlbar
...
This fixes urlbar moving a bit when it's being opened
2 years ago
MrOtherGuy
0830700dc0
navbar_below_content: remove negative bottom value from urlbar
...
This fixes an issue where the urlbar moves a bit when opened
2 years ago
MrOtherGuy
f621bb7a7a
some improvements to compact_urlbar_megabar.css
...
Fix code formatting and tweaks to urlbar-input-container sizing
2 years ago
MrOtherGuy
b1bae62e32
vertical_bookmarks_toolbar.css: Make PlacesToolbar flow vertically
2 years ago
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.
2 years ago
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.
2 years ago
MrOtherGuy
a25da9fe49
multi-row_tabs_below_content.css: make arrowscrollbox use display:inline
2 years ago
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.
2 years ago
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.
2 years ago
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.
2 years ago
MrOtherGuy
965eefc00a
Various improvements to multi-row_tabs_below_content.css
...
This patch makes the style behave better on linux as well as make
fullscreen mode work better. It also fixes an issue where invisible
menubar would prevent window from being draggable from flexible-space
placed to the left of urlbar.
2 years ago
MrOtherGuy
d10c346554
Don't restyle tabs-newtab-button, and instead just hide it
...
The button will not show up anyway so this just simplifies things.
2 years ago
MrOtherGuy
62f0d91975
remove remaining --lwt-frame variables from the codebase
2 years ago
MrOtherGuy
add8f8c1eb
Prevent accidentally setting width for places toolbar drop indicator
...
This patch fixes an issue where top row of bookmarks toolbar can become
unusable after draggin a bookmark
2 years ago
MrOtherGuy
cf3d865b7d
create vertical_urlbar_one-off_items.css
2 years ago
MrOtherGuy
b08805185f
autohide_sidebar: create sidebar-header padding using pseudo-elements.
...
This works around a layout issue where header inline-padding prevents it
from collapsing to zero-width in fullscreen mode.
2 years ago
MrOtherGuy
bf81ba74fb
remove findbar-container explicit height and close-button explicit width
2 years ago
MrOtherGuy
8d17fb1d64
multi-row bookmarks: make items in the toolbar visible
...
This is just in case that Firefox logic would hide them on some
condition even if they now can fit the toolbar.
2 years ago
MrOtherGuy
9d081f27b5
Make hide_tabs_with_one_tab_w_window... compatible with tabs_on_bottom
2 years ago
MrOtherGuy
2ed7f4c60c
Also hide labeled private-browsing indicator when not needed
2 years ago
MrOtherGuy
5be0331715
Make hide_tabs_with_one_tab_w_window_controls work in Fx108
2 years ago
MrOtherGuy
9d90aabbc0
vertical-bookmarks-toolbar: Fix fullscreen mode and make it work in 107+
2 years ago
MrOtherGuy
53eb59e017
curved_tabs: Fix curve placement on Firefox 107
2 years ago
MrOtherGuy
6192ac3b64
Make centered_top_statuspanel work with 107
2 years ago
MrOtherGuy
b958b75f2c
Make multi-row_bookmarks.css compatibility rules work in Firefox 107
...
In 107 (but not in 108) you also need to set
layout.css.moz-box-flexbox-emulation.enabled to true for things to work
2 years ago
MrOtherGuy
22a42117d0
status-inside-urlbar: add background-color to .browserStack
...
This opaque background allows us to draw statuspanel behind it.
Without this patch, the statupanel could be shown on tabs
that don't yet have associated <browser> such as when restoring
a tab after startup.
2 years ago
MrOtherGuy
8de1ddc044
Use padding instead of margin to create space inside nav-bar
...
This makes Firefox behave more sane for pushing/removing items from
overflow menu.
2 years ago
MrOtherGuy
21d9fc5403
Merge branch 'master' of https://github.com/MrOtherGuy/firefox-csshacks
2 years ago
MrOtherGuy
53526aa76e
autohide-sidebar: Apply width transitions to sidebar-header
2 years ago
GodieGun
4653c3ee7e
Update vertical_bookmarks_toolbar.css ( #214 )
...
This change makes compatible with pop-up windows. I use extensions that creates new pup-up windows and looks bad with that space in blank. this affects to other windows than don't use tabs.
2 years ago
MS_Y
a435e7507f
Fix: Show `#tabs-newtab-button` at overflow ( #212 )
2 years ago
Anarky
cebde512b5
Create newtab_button_always_on_hover.css ( #208 )
...
This is based on tab_close_button_always_on_hover.css
Co-authored-by: Anarky <ghostanarky+aur@gmail.com>
2 years ago
MrOtherGuy
f12eed50a9
Don't restyle separators unless they are actually inside PersonalToolbar
...
Someone might use this style to make the bookmarks toolbar itself
vertical housing buttons etc. but have bookmarks-toolbar-items in some
other horizontal toolbar.
2 years ago
MrOtherGuy
976df50a01
Make separators show up with vertical bookmarks toolbar
2 years ago
MrOtherGuy
2f270ca0c0
fake-statusbars: Make the styles work with new statuspanel DOM
2 years ago
MrOtherGuy
855b1f8a95
status_inside_urlbar: Update styling to work with Fx106
2 years ago
MrOtherGuy
3f5bc73e69
Remove dependence on --menu-x variables
...
Firefox 105 won't have these anymore as per
https://bugzilla.mozilla.org/show_bug.cgi?id=1782858
2 years ago
MrOtherGuy
16267fe5ef
Add header to shrinking_pinned_tabs & 40px max-width for normal density
2 years ago
sonofevil
57edf88b16
Create shrinking_pinned_tabs.css ( #201 )
2 years ago
MrOtherGuy
a9e58dcf21
Use [checked="true"] in menuitem selectors
...
This was only using [checked] to check if the item is checked, but the
attribute can also be "false".
2 years ago
MrOtherGuy
6c7abad64e
update custom_menupopup_check_icons.css to work well in Firefox 103
...
This has only been tested on Windows10 with non-native menus.
2 years ago
MrOtherGuy
7425885cb1
create reload_button_in_urlbar.css
2 years ago
MrOtherGuy
0d1ec1e56f
remove outline from .tab-background
2 years ago
MrOtherGuy
6d16966886
create tab_loading_progress_bar.css
2 years ago
MrOtherGuy
0f23af615e
add -moz-context-properties unconditionally to fallback window controls
...
Without it, the icons won't show up if one uses theme with background
image
2 years ago
MrOtherGuy
a49066b2f4
sharp_tabs: draw tabs-newtab-button icon as background-image
...
This is done because we want the button background to fill toolbar
height, but we don't actually know how tall the toolbar is and thus
working with list-style-image + padding is going to produce stretced
icon on some systems.
2 years ago
MrOtherGuy
8dc4e1c795
Apply 2px rounding only to buttons in tabs customization target
...
This allows dropping extra id selector from tabs-newtab-button
2 years ago
MrOtherGuy
8899a560d4
Add some workaround-ish rules for linux use
2 years ago
MrOtherGuy
f036a4ca23
create fake_tab_tooltip.css
2 years ago
MrOtherGuy
5aa1d1ec01
use overflow:hidden instead of -moz-hidden-unscrollable for window title
2 years ago
MrOtherGuy
6b242379ec
Remove Windows specific extra titlbar paddings from codebase
...
Firefox 101 doesn't need those anymore :)
2 years ago
MrOtherGuy
4daf1969be
modify tab-label line-height to prevent tab height increase w large font
2 years ago
MrOtherGuy
d8f027a088
Set menubar margins only when native titlebar is disabled
...
If native titlebar is enabled the rules would move tabs and navbar
partially below native titlebar. Those rules are not needed anyway
with native titlebar since window controls are in native titlebar.
2 years ago
MrOtherGuy
2f792166c3
curved_tabs: Improve style compatibility with theme images
...
This patch makes outward curves use a sliver of toolbox background-image
to mask some artifacts that are results of several semi-transparent
surfaces. This also changes the curve svg image a bit to makes
curve-border transitions more smooth.
2 years ago
MrOtherGuy
0e2727345b
inherit sidebar background color
...
inherited background is safer than using --toolbar-bgcolor which is very
likely to have transparency if theme has images.
2 years ago
MrOtherGuy
7d083242c2
Update private-browsing icon source
2 years ago
MrOtherGuy
df85873f33
Various improvements to multi-row_tabs_below_content
...
This patch makes it easier to change some settings, as well as adds an
optional behavior to show static menubar via custom pref.
2 years ago
MrOtherGuy
961c40c34b
Add some missing variables
3 years ago
MrOtherGuy
4542a03f38
Add comment to notify about non_pinned_sharp_tabs being a requirement
3 years ago
MrOtherGuy
80d6887a09
tabs_animated_gradient_border: rewrite style
...
This patch makes the style work together with non_floating sharp tabs
which is now a requirement for this style, because this style won't make
sense with proton-like tabs.
3 years ago
MrOtherGuy
fa620a9730
classic_grid_main_menu_popup: rewrite for Firefox 99 style
3 years ago
MrOtherGuy
a383071f10
remove legacy .tabbrowser-arrowscrollbox selectors
3 years ago
MrOtherGuy
0c81924f74
add few compatibility rules for multi-row_tabs
3 years ago
MrOtherGuy
4a263d029a
add few multi-row_tabs compatibility rules
...
Empty tabs toolbar won't collapse otherwise because of how flexbox
treats visibility:collapse
3 years ago
MrOtherGuy
c5eb21c3dd
reduce selector specificity when setting tab height
3 years ago
MrOtherGuy
db4d9f86c5
Use --uc-titlebar-padding in extra Windows toolbox padding.
...
This makes the style compatible with tabs_on_bottom :)
3 years ago
MrOtherGuy
3241bdbfe1
autohide_toolbox.css: adjust toolbox margins on hidpi screens
3 years ago