Commit graph

740 commits

Author SHA1 Message Date
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
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
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
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
f0caa6d5ae create window_control_force_linux_system_style.css 2022-02-03 15:57:45 +02:00
MrOtherGuy
fd644ff857 replace --tabs-border-color with --lwt-tabs-border-color 2022-01-22 06:43:57 +02:00
MrOtherGuy
19fa8eb39d Update styles to use --lwt-tab-line-color variable 2022-01-12 15:16:47 +02:00
MrOtherGuy
ec17a82ede remove top border from .tab-background 2022-01-12 08:21:27 +02:00
MrOtherGuy
fea6e47687 curved-tabs: decrease stroke-opacity of the border
This patch also adds some comments for svg.context-properties.content.enabled
which is a requirement as well as make default theme have separate
background-color for curves.
2022-01-06 17:36:44 +02:00
MrOtherGuy
1fe5d315c0 Make windows specific extra top margin only apply with [tabsintitlebar] 2022-01-02 09:37:20 +02:00
MrOtherGuy
8850c63fc9 Add optional section to show the button in top left corner of the window
This patch also updates the missing down arrow icon as well as adds some
spacing to the button like in the original.
2022-01-02 09:34:56 +02:00
MrOtherGuy
ee89221ad0 create multi-row_tabs_separate_pinned_row_patch.css 2021-12-31 08:27:33 +02:00
MrOtherGuy
b9d2dfd2f8 use placeholder image if tab doesn't have icon 2021-12-20 18:41:55 +02:00
MrOtherGuy
fcec71b08a ovrelay-scrollbars: use currentcolor instead of black for thumb
This makes the thumb visible on pages with dark background - at least
most of the time.
2021-12-12 08:59:50 +02:00
MrOtherGuy
817012e23c Create context_menus_more_proton.css 2021-12-11 21:27:02 +02:00
MrOtherGuy
d45baf3165 make integrated-searchbar-popup radius a bit easier to adjust 2021-12-11 10:44:21 +02:00
MrOtherGuy
d1b0d64f09 create integrated_searchbar_popup.css 2021-12-10 16:01:50 +02:00
MrOtherGuy
5578aa9d2d color-variables: add some variables that are used with system theme 2021-12-06 09:40:10 +02:00
MrOtherGuy
05ffcd19c3 Add a comment to remove the line that makes close-buttons always visible
This makes it more apparent that removing that one line makes pinned
tabs otherwise normal, but they don't have close-buttons.
2021-11-29 11:39:24 +02:00
MrOtherGuy
6bf1d1f530 Merge branch 'master' of https://github.com/MrOtherGuy/firefox-csshacks 2021-11-29 08:32:07 +02:00
MrOtherGuy
3246a70d20 create page_action_buttons_on_urlbar_hover.css 2021-11-29 08:30:47 +02:00
Peter Anderson
6a5e012c0b
Issue #157: Match transition duration to page_action_buttons_on_hover.css. (#158) 2021-11-29 08:22:40 +02:00
MrOtherGuy
4bd6f389a8 don't hide remote control icon for security. 2021-11-28 15:21:15 +02:00
MrOtherGuy
878fe0fa05 create urlbar_info_icons_on_hover.css 2021-11-28 15:17:56 +02:00
MrOtherGuy
85b03c0701 only modify vertical padding of arrowpanel items 2021-11-23 16:54:47 +02:00
MrOtherGuy
82fec575ec remove uses of -moz-proton media query 2021-11-23 16:49:50 +02:00
MrOtherGuy
5118aedfad remove --proton-tab-block-margin dummy variables 2021-11-21 09:42:28 +02:00
MrOtherGuy
134fdbfb22 make vertical_menubar.css sort of work
This style was totally broken, now it at least works.
2021-11-21 08:29:12 +02:00
MrOtherGuy
d64e9e129e add temporary dummy variables to support for window frame color
In 96 the old --lwt-accent-color is renamed to --lwt-frame so add some
compatibility rules for now.
2021-11-21 08:03:05 +02:00
MrOtherGuy
d35ebf1943 hide .bookmark-item elements in fullscreen mode. Fixes #154
For some reason individual .bookmark items in the toolbar are being
rendered in Firefox 96, even though the toolbar itself is hidden. This
patch applies a simple visibility:hidden to all of them.
2021-11-18 09:51:59 +02:00
MrOtherGuy
5d5370fab3 create multi-row_main_toolbar.css 2021-11-16 10:22:05 +02:00
MrOtherGuy
cd77c41af7 make it possible to extend fake border around urlbar popup
This makes the input-container use static positioning which could
potentially be problematic in some scenarios.
2021-11-14 09:44:43 +02:00
MrOtherGuy
880700519a remove margin around urlbar-background
This also removes pre-proton tab-block-margin variable which isn't
supported anymore
2021-11-14 07:56:27 +02:00
MrOtherGuy
b3730074ba create urlbar_container_color_border.css 2021-11-14 07:30:53 +02:00
MrOtherGuy
946668e9a1 Handle different bookmarks item heights better
Bookmark items in the toolbar may not be same height on all systems,
generally the text size on Linux is bigger than on Windows for example.
This patch changes the height to use min-height on bookmark items and
removes their individual block padding. Thus, thee effectively have
variable block-padding depending on the text size.

In addition this patch removes few pre-proton workarounds because those
don't need to be supported any more.
2021-11-13 09:26:18 +02:00
MrOtherGuy
2d7f31b766 make sure bookmarks toolbar isn't collapsed in fullscreen mode. fixes #154 2021-11-10 21:10:52 +02:00
MrOtherGuy
fe534d6224 make #tab-notification-deck always be closest "toolbar" to content 2021-11-06 22:23:29 +02:00
MrOtherGuy
1a9cbceb7c floating-findbar: make findbar-status able to be clipped
Before this change, the status would show fully, so on narrow windows
the input controls and close button would be pushed out of the window.
Now the status text will instead get clipped.
2021-11-06 12:10:00 +02:00
MrOtherGuy
357e5bc0b4 create selected_tab_gradient_border.css 2021-11-04 12:24:20 +02:00
MrOtherGuy
b6ae559352 multi-row-tabs: remove bottom-margin from tabs-newtab-button
The 1px bottom margin may have small visible effect for row-height computation
in which case the visible height may be thrown off by a little bit. This
patch fixes that issue.
2021-11-01 18:39:58 +02:00
MrOtherGuy
d0c5ac941c inline-audio-icons: add opacity:1 to throbber so it shows in compact mode 2021-11-01 06:58:42 +02:00
MrOtherGuy
1ae35459e1 Make developer-icon use new correct image path 2021-10-31 20:37:10 +02:00
MrOtherGuy
233d758f08 hide_tabs_toolbar: make the style work better with titlebar and menubar 2021-10-29 17:42:16 +03:00
MrOtherGuy
81a385bd63 window control button visibility changes 2021-10-16 08:51:07 +03:00
MrOtherGuy
f973f447a1 use absolute positioning for window controls in fullscreen 2021-10-16 08:47:27 +03:00
MrOtherGuy
b1125f81ff Show titlebar-buttonbox if it's last-child, and make it use --toolbar-color
Using --toolbar-color allow the icons to show up if the selected theme
has light tabs but dark toolbar, and vice versa. In 95 there is no
separate #window-controls for fullscreen, and thus the titlebar-buttonbox-container
becomes last-child which we don't want to hide.
2021-10-16 07:27:31 +03:00
MrOtherGuy
7801318d78 add -1px margin for multiselected tab-background
This makes the tabs to draw 1px on top of each other which should make
multiselected tabs look better with and without tab separators
2021-10-13 16:14:06 +03:00
MrOtherGuy
9ad96bb6f3 Set multiselected tabs to have tab hover background color. Fixes #150 2021-10-11 17:44:40 +03:00
MrOtherGuy
33a655de9e remove toolbox bottom border and improve compatibility with autohide_toolbox.css 2021-09-25 11:42:50 +03:00
MrOtherGuy
c50e8aa8aa remove max-height from panels so their content shows properly on linux 2021-09-23 23:31:21 +03:00
MrOtherGuy
6214f6e1e7 separate window-control-drag-space-width to -pre and -post
This way we can handle maximized windows not having the other drag space
like Firefox does normally. This patch additionally adds window control
width values for Win7 Win8 and linux
2021-09-19 20:31:30 +03:00
MrOtherGuy
a73238a267 fix tabs-newtab-button appearance 2021-09-19 20:15:26 +03:00
MrOtherGuy
96f2ba5977 add default disabled option to show bookmarks below tabs 2021-09-19 19:38:20 +03:00
Jan-T. Brinkmann
47111e79b5
fix window_control_placeholder_support showing buttons on fullscreen (#147) 2021-09-19 18:57:33 +03:00
MrOtherGuy
2a3c116fd1 improvements for bookmarks toolbar background image alignment 2021-09-17 20:33:22 +03:00
MrOtherGuy
bbcea9a26f make autohide_menubar and toolbars_below_content work together
This change adds a few variables to both styles that "communicate" with
each other. This autohide_menubar is pretty useful if toolbars are
below content so while this does introduce complexity, it's probably worth it.
2021-09-10 19:07:31 +03:00
MrOtherGuy
2cea8f0710 decrease the top margin specificity for menubar and browser 2021-09-10 17:21:49 +03:00
MrOtherGuy
23d779126c Make tabs use correct height 2021-09-09 16:19:46 +03:00
MrOtherGuy
50f77aea20 use correct path for private mode indicator 2021-09-09 05:25:27 +03:00
MrOtherGuy
e278651723 create menulike_bookmarks_folder_popups.css 2021-09-08 05:55:16 +03:00
MrOtherGuy
7037462678 use -webkit-box instead of flex for nav-bar so extension panels can work 2021-09-01 15:58:37 +03:00
MrOtherGuy
da2ee8b244 use display: -webkit-box instead of flex for nav-bar
display: flex breaks extension menus but -webkit-box doesn't, so lets
use that while it works.
2021-09-01 15:49:26 +03:00
MrOtherGuy
4f2cce8b10 chrome/urlbar_popup_full_width.css: fix incorrect header link 2021-08-27 23:22:44 +03:00
MrOtherGuy
bd53d19665 replace --lwt-toolbar-field-x variables with new versions
Firefox 91 still uses some old variants, so this style adds temporary
dummy variables to several styles to make <91 work.
2021-08-26 10:01:45 +03:00
MrOtherGuy
cea26c1564 replace --lwt-toolbar-field-border-color with --toolbar-field-border-color 2021-08-26 09:24:21 +03:00