760 Commits (7953cb9d8e37042d888ab40a26e0c53c51035401)

Author SHA1 Message Date
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
MrOtherGuy be838e98f3 remove remaining --proton-* variables. fixes #111 3 years ago
MrOtherGuy 6542097da9 remove ancient titlebar-placeholder selectors 3 years ago
MrOtherGuy 5cf3467964 Handle fullscreen and private-browsing mode styling better
This patch should mostly fix issues described in #149
3 years ago
MrOtherGuy 23e4e0a377 rename urlbar_connection_type_colors.css to *type_text_colors.css 3 years ago
MrOtherGuy 9276c9f7fb create urlbar_connection_type_background_colors.css 3 years ago
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.
3 years ago
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 :)
3 years ago
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.
3 years ago
MrOtherGuy 82444fcf07 deprecate theme_aware_modal-prompts.css
These are already styled based on theme in recent Firefox versions
3 years ago
MrOtherGuy ea17cb7f1f Show window global notificationbox in same order as tab modal 3 years ago
MS_Y d7f813e96b
Tabs on bottom menubar on top patch at non activated menubar (#182) 3 years ago
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.
3 years ago
MrOtherGuy 44fa2f0f0d Merge branch 'master' of https://github.com/MrOtherGuy/firefox-csshacks 3 years ago
MS_Y 10515e618c
Tabs on bottom at menubar (#181) 3 years ago
MrOtherGuy 809d3e0eb9 Don't set padding to .titlebar-button elements
This fixes odd menubar titlebar button sizing on linux
3 years ago
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.
3 years ago
MrOtherGuy 4e66bf4d64 Don't remove window control placeholder space in fullscreen mode 3 years ago
MrOtherGuy 1d415561a2 Handle fullscreen window control placeholder size on linux 3 years ago
MS_Y b046ab7119
Window control placeholder consider titlebar mode's fullscreen (#180) 3 years ago
MS_Y 1f2e984853
centered tab label vertical align to center (#179) 3 years ago
MrOtherGuy 1a67388c7f Use content property to set icon source 3 years ago
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.
3 years ago
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.
3 years ago
MrOtherGuy ceb88176a7 make buttons inside urlbar clickable 3 years ago
MrOtherGuy 9272f36cd4 create drag_window_from_urlbar.css 3 years ago
MrOtherGuy a5ac138086 fix typo in platform media queries 3 years ago
MrOtherGuy 71fe0e87c7 add basic support for -moz-platform media query 3 years ago
MrOtherGuy 1621ecc3f4 set visibility:hidden for items in bookmarks toolbar when collapsed 3 years ago
MrOtherGuy f0caa6d5ae create window_control_force_linux_system_style.css 3 years ago
MrOtherGuy fd644ff857 replace --tabs-border-color with --lwt-tabs-border-color 3 years ago
MrOtherGuy 19fa8eb39d Update styles to use --lwt-tab-line-color variable 3 years ago
MrOtherGuy ec17a82ede remove top border from .tab-background 3 years ago
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.
3 years ago
MrOtherGuy 1fe5d315c0 Make windows specific extra top margin only apply with [tabsintitlebar] 3 years ago
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.
3 years ago
MrOtherGuy ee89221ad0 create multi-row_tabs_separate_pinned_row_patch.css 3 years ago
MrOtherGuy b9d2dfd2f8 use placeholder image if tab doesn't have icon 3 years ago
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.
3 years ago
MrOtherGuy 817012e23c Create context_menus_more_proton.css 3 years ago
MrOtherGuy d45baf3165 make integrated-searchbar-popup radius a bit easier to adjust 3 years ago
MrOtherGuy d1b0d64f09 create integrated_searchbar_popup.css 3 years ago
MrOtherGuy 5578aa9d2d color-variables: add some variables that are used with system theme 3 years ago
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.
3 years ago
MrOtherGuy 6bf1d1f530 Merge branch 'master' of https://github.com/MrOtherGuy/firefox-csshacks 3 years ago
MrOtherGuy 3246a70d20 create page_action_buttons_on_urlbar_hover.css 3 years ago
Peter Anderson 6a5e012c0b
Issue #157: Match transition duration to page_action_buttons_on_hover.css. (#158) 3 years ago
MrOtherGuy 4bd6f389a8 don't hide remote control icon for security. 3 years ago
MrOtherGuy 878fe0fa05 create urlbar_info_icons_on_hover.css 3 years ago
MrOtherGuy 85b03c0701 only modify vertical padding of arrowpanel items 3 years ago
MrOtherGuy 82fec575ec remove uses of -moz-proton media query 3 years ago
MrOtherGuy 5118aedfad remove --proton-tab-block-margin dummy variables 3 years ago
MrOtherGuy 134fdbfb22 make vertical_menubar.css sort of work
This style was totally broken, now it at least works.
3 years ago
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.
3 years ago
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.
3 years ago
MrOtherGuy 5d5370fab3 create multi-row_main_toolbar.css 3 years ago
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.
3 years ago
MrOtherGuy 880700519a remove margin around urlbar-background
This also removes pre-proton tab-block-margin variable which isn't
supported anymore
3 years ago
MrOtherGuy b3730074ba create urlbar_container_color_border.css 3 years ago
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.
3 years ago
MrOtherGuy 2d7f31b766 make sure bookmarks toolbar isn't collapsed in fullscreen mode. fixes #154 3 years ago
MrOtherGuy fe534d6224 make #tab-notification-deck always be closest "toolbar" to content 3 years ago
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.
3 years ago
MrOtherGuy 357e5bc0b4 create selected_tab_gradient_border.css 3 years ago
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.
3 years ago
MrOtherGuy d0c5ac941c inline-audio-icons: add opacity:1 to throbber so it shows in compact mode 3 years ago
MrOtherGuy 1ae35459e1 Make developer-icon use new correct image path 3 years ago
MrOtherGuy 233d758f08 hide_tabs_toolbar: make the style work better with titlebar and menubar 3 years ago
MrOtherGuy 81a385bd63 window control button visibility changes 3 years ago
MrOtherGuy f973f447a1 use absolute positioning for window controls in fullscreen 3 years ago