Commit graph

884 commits

Author SHA1 Message Date
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.
2022-05-08 15:58:27 +03:00
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.
2022-05-07 20:46:15 +03:00
MrOtherGuy
352677b8b8 Return little less early when initializing code-block content. 2022-05-07 19:31:59 +03:00
MrOtherGuy
d038f7c1a1 Add early return when determining content to load. 2022-05-07 18:58:38 +03:00
MrOtherGuy
7d083242c2 Update private-browsing icon source 2022-05-07 13:58:59 +03:00
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.
2022-05-06 10:16:49 +03:00
MrOtherGuy
961c40c34b Add some missing variables 2022-04-19 11:02:26 +03:00
MrOtherGuy
4542a03f38 Add comment to notify about non_pinned_sharp_tabs being a requirement 2022-04-19 11:01:44 +03:00
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.
2022-04-19 10:55:58 +03:00
MrOtherGuy
fa620a9730 classic_grid_main_menu_popup: rewrite for Firefox 99 style 2022-04-18 15:33:08 +03:00
MrOtherGuy
a383071f10 remove legacy .tabbrowser-arrowscrollbox selectors 2022-04-17 15:56:22 +03:00
MrOtherGuy
0c81924f74 add few compatibility rules for multi-row_tabs 2022-04-17 15:54:07 +03:00
MrOtherGuy
4a263d029a add few multi-row_tabs compatibility rules
Empty tabs toolbar won't collapse otherwise because of how flexbox
treats visibility:collapse
2022-04-17 15:44:57 +03:00
MrOtherGuy
c5eb21c3dd reduce selector specificity when setting tab height 2022-04-17 15:26:22 +03:00
MrOtherGuy
cd53cad31c update compact_addons_manager.css to work in Fx99 2022-04-16 08:42:13 +03:00
MrOtherGuy
db4d9f86c5 Use --uc-titlebar-padding in extra Windows toolbox padding.
This makes the style compatible with tabs_on_bottom :)
2022-04-11 16:19:37 +03:00
MrOtherGuy
3241bdbfe1 autohide_toolbox.css: adjust toolbox margins on hidpi screens 2022-04-08 20:31:56 +03:00
MrOtherGuy
be838e98f3 remove remaining --proton-* variables. fixes #111 2022-04-06 11:40:43 +03:00
MrOtherGuy
6542097da9 remove ancient titlebar-placeholder selectors 2022-04-06 10:02:09 +03:00
MrOtherGuy
5cf3467964 Handle fullscreen and private-browsing mode styling better
This patch should mostly fix issues described in #149
2022-04-06 09:58:22 +03:00
MrOtherGuy
23e4e0a377 rename urlbar_connection_type_colors.css to *type_text_colors.css 2022-04-03 21:02:42 +03:00
MrOtherGuy
9276c9f7fb create urlbar_connection_type_background_colors.css 2022-04-03 21:00:50 +03:00
MrOtherGuy
cdeb11acfc Merge branch 'codeblock' 2022-04-03 15:03:29 +03:00
MrOtherGuy
97e42e134a tag-browser: use separate <code-block> module for style preview 2022-04-03 15:01:07 +03:00
MrOtherGuy
8d25156001 curved-tabs: move tabs away from the window edge with pinned tabs
With positioninnedtabs, the left-most tab might end up outside of the
window under some circumstances (for example when menubar is enabled).
This patch moves tabbrowser-tabs away from the window edge equal to the
curve-size and makes the pre-tabs spacer a bit narrower to make the
space not look too large when the spacer is shown.
2022-04-02 14:49:03 +03:00
MrOtherGuy
b9e140dbbd Rewrite combined_favicon_and_tab_close_button.css
This rewrites the style to achieve compatibility with
inline_tab_audio_icons.css. compatibility only requires few small
non-affecting extra rules in inline_tab_audio_icons. This patch also
makes combined_favicon_and_tab_close_button work with themes where tab
background is not full opaque which is a nice bonus :)
2022-03-29 17:14:40 +03:00
MrOtherGuy
74d5d67e71 Remove use of :-moz-lwtheme-{bright,dark}
This pseudo-class won't be supported in Firefox 100,
and we can just use :root[lwthemetextcolor="bright"] instead.
2022-03-27 16:19:56 +03:00
MrOtherGuy
82444fcf07 deprecate theme_aware_modal-prompts.css
These are already styled based on theme in recent Firefox versions
2022-03-27 16:18:11 +03:00
MrOtherGuy
ea17cb7f1f Show window global notificationbox in same order as tab modal 2022-03-27 15:31:59 +03:00
MS_Y
d7f813e96b
Tabs on bottom menubar on top patch at non activated menubar (#182) 2022-03-27 14:26:36 +03:00
MrOtherGuy
5b67ff233a Make tabs_on_bottom and *_menubar_on_top_patch compatible again
This patch makes it so that menubar window controls are to be shown
when the patch file is applied.
2022-03-25 10:39:13 +02:00
MrOtherGuy
44fa2f0f0d Merge branch 'master' of https://github.com/MrOtherGuy/firefox-csshacks 2022-03-25 10:29:10 +02:00
MS_Y
10515e618c
Tabs on bottom at menubar (#181) 2022-03-25 10:28:59 +02:00
MrOtherGuy
809d3e0eb9 Don't set padding to .titlebar-button elements
This fixes odd menubar titlebar button sizing on linux
2022-03-25 09:55:14 +02:00
MrOtherGuy
5f30eee1a3 Don't collapse tabbrowser-tabs but just make it inivisible
Collapsing disables alltabs button. This patch additionally adds more
rules for aligning alltabs-button better under various circumstances.
2022-03-23 11:12:31 +02:00
MrOtherGuy
4e66bf4d64 Don't remove window control placeholder space in fullscreen mode 2022-03-23 10:16:10 +02:00
MrOtherGuy
1d415561a2 Handle fullscreen window control placeholder size on linux 2022-03-23 10:15:37 +02:00
MS_Y
b046ab7119
Window control placeholder consider titlebar mode's fullscreen (#180) 2022-03-23 09:59:00 +02:00
MrOtherGuy
b4e09dcdfc Merge branch 'master' of https://github.com/MrOtherGuy/firefox-csshacks 2022-03-21 09:24:22 +02:00
MrOtherGuy
0e42e3c396 create compact_about_config.css 2022-03-21 09:23:47 +02:00
MS_Y
1f2e984853
centered tab label vertical align to center (#179) 2022-03-21 07:28:26 +02:00
MrOtherGuy
1a67388c7f Use content property to set icon source 2022-03-20 07:01:52 +02:00
MrOtherGuy
19c1452193 toolbars_below_content: make it able to drag the window from menubar
Dragging the window is still disabled when using only
autohide_menubar.css. But if you use both then dragging menubar should
work.
2022-03-19 08:34:48 +02:00
MrOtherGuy
0bc77cc515 autohide_menubar.css: Increase the size of menubar triggering area
The window frame area (at least on Win10) is wider in Fx98 which
prevents menubar items from showing up. This patch simply increases the
size by few pixels.
2022-03-01 11:41:38 +02:00
MrOtherGuy
ceb88176a7 make buttons inside urlbar clickable 2022-02-17 05:13:44 +02:00
MrOtherGuy
9272f36cd4 create drag_window_from_urlbar.css 2022-02-16 16:11:05 +02:00
MrOtherGuy
a5ac138086 fix typo in platform media queries 2022-02-13 21:26:15 +02:00
MrOtherGuy
71fe0e87c7 add basic support for -moz-platform media query 2022-02-12 09:20:20 +02:00
MrOtherGuy
1621ecc3f4 set visibility:hidden for items in bookmarks toolbar when collapsed 2022-02-06 09:36:12 +02:00
MrOtherGuy
03f4d098da sort tags again 2022-02-04 19:32:45 +02:00