From 4c86414e74eebccaa38f7caefebc44bf5539c92e Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Wed, 15 Sep 2021 02:09:22 +0900 Subject: [PATCH 01/15] Fix: Menu Padding- Windows7, 8's border size --- userChrome.css | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/userChrome.css b/userChrome.css index 66fe651..1028255 100644 --- a/userChrome.css +++ b/userChrome.css @@ -97,7 +97,7 @@ @media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) { menupopup > menu, menupopup > menuitem { - border: 1px solid transparent; + border: 1px solid transparent; /* Need reduce 2px at menu */ } menu[_moz-menuactive="true"], menuitem[_moz-menuactive="true"] { @@ -873,6 +873,14 @@ padding-inline-start: 0.5em; } + @media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) { + menupopup > menuitem, + menupopup > menu { + /* Remove border */ + padding-block: calc(var(--menu-padding) - 2px) !important; + } + } + @supports not -moz-bool-pref("layout.css.osx-font-smoothing.enabled") { :root:not([uidensity="touch"]) .menu-text, :root:not([uidensity="touch"]) .menu-iconic-text { From ab12b7ac8be832e0b6bdf3d4d6865413f69d4a13 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Wed, 15 Sep 2021 02:14:52 +0900 Subject: [PATCH 02/15] Fix: Menu padding - Windows8 --- userChrome.css | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/userChrome.css b/userChrome.css index 1028255..8b2cab0 100644 --- a/userChrome.css +++ b/userChrome.css @@ -2191,10 +2191,17 @@ } } - @media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) { + @media (-moz-os-version: windows-win7) { :root { --context-menu-background-padding-default: 2px; } + } + @media (-moz-os-version: windows-win8) { + :root { + --context-menu-background-padding-default: 3px; + } + } + @media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) { :not(menu, #ContentSelectDropdown, #context-navigation) > menupopup > menuitem:not(.menuitem-iconic, [type="checkbox"], [checked="true"], .in-menulist), From adec4e0d6fa68fbc7719a889e8b2e60c52258fd1 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Wed, 15 Sep 2021 02:42:26 +0900 Subject: [PATCH 03/15] Fix Menu Color - Wndows8 --- userChrome.css | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) diff --git a/userChrome.css b/userChrome.css index 8b2cab0..6747600 100644 --- a/userChrome.css +++ b/userChrome.css @@ -96,9 +96,13 @@ /*= Windows 7, 8 - Menu Active Color =======================================*/ @media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) { menupopup > menu, - menupopup > menuitem { + menupopup > menuitem, + #context-navigation > menuitem { border: 1px solid transparent; /* Need reduce 2px at menu */ } + } + + @media (-moz-os-version: windows-win7) { menu[_moz-menuactive="true"], menuitem[_moz-menuactive="true"] { background-color: color-mix(in srgb, -moz-menuhover 5%, transparent); @@ -110,6 +114,23 @@ border-color: transparent; } } + @media (-moz-os-version: windows-win8) { + menu[_moz-menuactive="true"], + menuitem[_moz-menuactive="true"] { + background-color: color-mix(in srgb, -moz-menuhover 17%, transparent) !important; + border-color: color-mix(in srgb, -moz-menuhover 80%, transparent) !important; + } + menu[_moz-menuactive="true"][disabled="disabled"], + menuitem[_moz-menuactive="true"][disabled="true"] { + background-color: color-mix(in srgb, currentColor 17%, transparent) !important; + border-color: color-mix(in srgb, currentColor 80%, transparent) !important; + } + + #main-menubar > menu[open="true"], + #main-menubar > menu[_moz-menuactive="true"] { + background-color: -moz-menuhover !important; /* Make to original */ + } + } /*= Linux- Global Menubar Active Color =====================================*/ @media (-moz-gtk-csd-available) { From 623008bc1b7f8ba2b7a1184c5d0eef149e06b41d Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Wed, 15 Sep 2021 02:52:24 +0900 Subject: [PATCH 04/15] Fix: Context Navigation - Win7, 8 bottom padding to original --- userChrome.css | 21 +++++++++++++-------- 1 file changed, 13 insertions(+), 8 deletions(-) diff --git a/userChrome.css b/userChrome.css index 6747600..7845b5b 100644 --- a/userChrome.css +++ b/userChrome.css @@ -894,14 +894,6 @@ padding-inline-start: 0.5em; } - @media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) { - menupopup > menuitem, - menupopup > menu { - /* Remove border */ - padding-block: calc(var(--menu-padding) - 2px) !important; - } - } - @supports not -moz-bool-pref("layout.css.osx-font-smoothing.enabled") { :root:not([uidensity="touch"]) .menu-text, :root:not([uidensity="touch"]) .menu-iconic-text { @@ -918,6 +910,19 @@ } } + @media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8) { + /* Remove border */ + menupopup > menuitem, + menupopup > menu { + padding-block: calc(var(--menu-padding) - 2px) !important; + } + + /* Make to original */ + :root:not([uidensity="touch"]) #context-navigation:not([hidden]) { + padding: 0 0 4px !important; + } + } + /* Arrow Icon Align to Right */ .bookmark-item.subviewbutton > .menu-right { margin-inline-end: 0 !important; From bcac6caf338b5aaed798ccae4cbdab97f0342298 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Wed, 15 Sep 2021 04:18:40 +0900 Subject: [PATCH 05/15] Fix: Menu Color - disabled, meubar menu at Windows7 --- userChrome.css | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/userChrome.css b/userChrome.css index 7845b5b..01e7d01 100644 --- a/userChrome.css +++ b/userChrome.css @@ -100,6 +100,11 @@ #context-navigation > menuitem { border: 1px solid transparent; /* Need reduce 2px at menu */ } + + #main-menubar > menu[open="true"], + #main-menubar > menu[_moz-menuactive="true"] { + background-color: -moz-menuhover !important; /* Make to original */ + } } @media (-moz-os-version: windows-win7) { @@ -110,8 +115,8 @@ } menu[_moz-menuactive="true"][disabled="disabled"], menuitem[_moz-menuactive="true"][disabled="true"] { - background-color: transparent; - border-color: transparent; + background-color: color-mix(in srgb, currentColor 5%, transparent) !important; + border-color: color-mix(in srgb, currentColor 60%, transparent) !important; } } @media (-moz-os-version: windows-win8) { @@ -125,11 +130,6 @@ background-color: color-mix(in srgb, currentColor 17%, transparent) !important; border-color: color-mix(in srgb, currentColor 80%, transparent) !important; } - - #main-menubar > menu[open="true"], - #main-menubar > menu[_moz-menuactive="true"] { - background-color: -moz-menuhover !important; /* Make to original */ - } } /*= Linux- Global Menubar Active Color =====================================*/ From 77b2c56c080b152ea2e43c31ef9cbf6825580a07 Mon Sep 17 00:00:00 2001 From: MS_Y Date: Thu, 16 Sep 2021 00:06:51 +0000 Subject: [PATCH 06/15] Fix: Smooth Scroll - currentVelocityWeighting `0.15` -> `0.12` --- user.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/user.js b/user.js index 5f139fa..09c18fe 100644 --- a/user.js +++ b/user.js @@ -36,7 +36,7 @@ user_pref("apz.force_disable_desktop_zooming_scrollbars", false); / user_pref("apz.paint_skipping.enabled", true); /// true user_pref("apz.windows.use_direct_manipulation", true); /// true user_pref("dom.event.wheel-deltaMode-lines.always-disabled", true); /// false -user_pref("general.smoothScroll.currentVelocityWeighting", "0.15"); /// "0.25" <- 1. If scroll too fast, set to "0.12" +user_pref("general.smoothScroll.currentVelocityWeighting", "0.12"); /// "0.25" <- 1. If scroll too slow, set to "0.15" user_pref("general.smoothScroll.durationToIntervalRatio", 1000); /// 200 user_pref("general.smoothScroll.lines.durationMaxMS", 100); /// 150 user_pref("general.smoothScroll.lines.durationMinMS", 0); /// 150 From 7bf6f90f2fdf20b56b6d3cbf5e88c19149548fd3 Mon Sep 17 00:00:00 2001 From: MS_Y Date: Thu, 16 Sep 2021 08:52:43 +0000 Subject: [PATCH 07/15] Fix: Prettier commit message --- .github/workflows/format.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.github/workflows/format.yml b/.github/workflows/format.yml index b7cd3db..b7ad9b8 100644 --- a/.github/workflows/format.yml +++ b/.github/workflows/format.yml @@ -23,5 +23,6 @@ jobs: with: # This part is also where you can pass other options, for example: prettier_options: --write . + commit_message: "Clean: Prettified Code!" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} From 88a323b8479fdd6cff580f36873f7620bcf50131 Mon Sep 17 00:00:00 2001 From: alstjr7375 Date: Fri, 17 Sep 2021 10:02:37 +0900 Subject: [PATCH 08/15] Fix: Activity Stream - site border overflow #221 --- userContent.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/userContent.css b/userContent.css index c3bfa2b..91963f4 100644 --- a/userContent.css +++ b/userContent.css @@ -17,6 +17,10 @@ } /** Activity Stream - Web Site Icon: full size ****************************/ + .top-site-outer .tile { + overflow: hidden; + } + .top-site-outer .tile .icon-wrapper { width: 100% !important; /* Original: 48px */ height: 100% !important; /* Original: 48px */ From 5a20ca0f47226e10a62a7f92ea2031ce7aaf6e3f Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Sat, 18 Sep 2021 22:57:54 +0900 Subject: [PATCH 09/15] Fix: addon.org - reply author text color --- userContent.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/userContent.css b/userContent.css index 91963f4..688a3d5 100644 --- a/userContent.css +++ b/userContent.css @@ -436,6 +436,8 @@ .Paginate-page-number, .AddonSummaryCard-addonAverage, .AddonReviewCard-authorByLine, + .UserReview-byLine, + .UserReview-reply-header, .Home-heroHeader-subtitle, .blog-entry-date, .blogpost-breadcrumb *, From a96fab298cc978d55c762ae139fc3a4896a9c651 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Sun, 19 Sep 2021 21:52:51 +0900 Subject: [PATCH 10/15] Fix: Menu Bar - Weird title container order behavior #219 --- userChrome.css | 15 +++------------ 1 file changed, 3 insertions(+), 12 deletions(-) diff --git a/userChrome.css b/userChrome.css index 01e7d01..f1b1776 100644 --- a/userChrome.css +++ b/userChrome.css @@ -945,18 +945,9 @@ /*= Global Menu - Set Padding ==============================================*/ /* Prevent layout shifts */ - @media (-moz-os-version: windows-win7), (-moz-os-version: windows-win8), (-moz-os-version: windows-win10) { - #toolbar-menubar { - display: flex !important; - flex-direction: row; - justify-content: space-between; - } - #toolbar-menubar > spacer { - order: 1000; /* as Original's -moz-box-ordinal-group: 1000 */ - flex: 1; /* Fill row */ - } - #toolbar-menubar > .titlebar-buttonbox-container { - order: 1000; /* as Original's -moz-box-ordinal-group: 1000 */ + @media (-moz-os-version: windows-win10) { + #main-menubar { + height: 28px; /* Hard coded for compatibility */ } } From c08af26efc1cb97043807d7c333b2190df5221d8 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Mon, 20 Sep 2021 01:58:42 +0900 Subject: [PATCH 11/15] Fix: Menu Bar - Remove hardcode #219 https://www.reddit.com/r/FirefoxCSS/comments/pr56cd/titlebar_buttonbox_container_position_problem/ --- userChrome.css | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/userChrome.css b/userChrome.css index f1b1776..b493f10 100644 --- a/userChrome.css +++ b/userChrome.css @@ -944,17 +944,9 @@ } /*= Global Menu - Set Padding ==============================================*/ - /* Prevent layout shifts */ - @media (-moz-os-version: windows-win10) { - #main-menubar { - height: 28px; /* Hard coded for compatibility */ - } - } - /* Vertical Align - Center & Height: 100% */ - #menubar-items, #main-menubar { - display: flex !important; + -moz-box-flex: 1 !important; } /* Rounding */ From e74ecfce29f972dbe6e109cd6c62c99755498265 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Mon, 20 Sep 2021 03:45:38 +0900 Subject: [PATCH 12/15] Fix: Bookmark Menu - Remove border at win7, 8 --- userChrome.css | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/userChrome.css b/userChrome.css index b493f10..bda4922 100644 --- a/userChrome.css +++ b/userChrome.css @@ -105,6 +105,13 @@ #main-menubar > menu[_moz-menuactive="true"] { background-color: -moz-menuhover !important; /* Make to original */ } + + #PlacesToolbar menu, + #PlacesToolbar menuitem, + #BMB_bookmarksPopup menu, + #BMB_bookmarksPopup menuitem { + border: none !important; /* Remove border */ + } } @media (-moz-os-version: windows-win7) { From 1589669254d6454112fed29745d38ed7d0d5acdc Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Mon, 20 Sep 2021 03:47:47 +0900 Subject: [PATCH 13/15] Fix: Menu - Hover background color at Win7 make to `!important` --- userChrome.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/userChrome.css b/userChrome.css index bda4922..3c0517e 100644 --- a/userChrome.css +++ b/userChrome.css @@ -117,8 +117,8 @@ @media (-moz-os-version: windows-win7) { menu[_moz-menuactive="true"], menuitem[_moz-menuactive="true"] { - background-color: color-mix(in srgb, -moz-menuhover 5%, transparent); - border-color: color-mix(in srgb, -moz-menuhover 60%, transparent); + background-color: color-mix(in srgb, -moz-menuhover 5%, transparent) !important; + border-color: color-mix(in srgb, -moz-menuhover 60%, transparent) !important; } menu[_moz-menuactive="true"][disabled="disabled"], menuitem[_moz-menuactive="true"][disabled="true"] { From 887333fc3a7edc39626f8ebe0e5b27db4d74e615 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Mon, 20 Sep 2021 04:13:13 +0900 Subject: [PATCH 14/15] Fix: Menu Bar - light weight theme at Win7, Win8 --- userChrome.css | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/userChrome.css b/userChrome.css index 3c0517e..df38fc4 100644 --- a/userChrome.css +++ b/userChrome.css @@ -105,6 +105,11 @@ #main-menubar > menu[_moz-menuactive="true"] { background-color: -moz-menuhover !important; /* Make to original */ } + :root:-moz-lwtheme #main-menubar > menu[open="true"], + :root:-moz-lwtheme #main-menubar > menu[_moz-menuactive="true"] { + color: inherit !important; /* Original: -moz-menubarhovertext */ + background-color: color-mix(in srgb, currentColor 20%, transparent) !important; /* Original: -moz-menuhover */ + } #PlacesToolbar menu, #PlacesToolbar menuitem, @@ -125,6 +130,18 @@ background-color: color-mix(in srgb, currentColor 5%, transparent) !important; border-color: color-mix(in srgb, currentColor 60%, transparent) !important; } + + /* Remove text shadow */ + :root:-moz-lwtheme #toolbar-menubar { + text-shadow: unset !important; + /* Original: 0 0 .5em white, 0 0 .5em white, 0 1px 0 rgba(255, 255, 255, .4) */ + } + + /* Remove Color */ + :root:-moz-lwtheme #main-menubar:not(:-moz-window-inactive) { + background-color: unset !important; /* Original: rgba(255, 255, 255, .5) */ + color: unset !important; /* Original: black */ + } } @media (-moz-os-version: windows-win8) { menu[_moz-menuactive="true"], From f2977bd3040f0246674a9cec6c44651a524b76e7 Mon Sep 17 00:00:00 2001 From: BlaCk_Void Date: Mon, 20 Sep 2021 04:30:08 +0900 Subject: [PATCH 15/15] Fix: Bookmark Menu - Hover background color at Win7, Win8 --- userChrome.css | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/userChrome.css b/userChrome.css index df38fc4..6149f87 100644 --- a/userChrome.css +++ b/userChrome.css @@ -117,6 +117,12 @@ #BMB_bookmarksPopup menuitem { border: none !important; /* Remove border */ } + #PlacesToolbar menu:not([disabed], :active)[_moz-menuactive="true"], + #PlacesToolbar menuitem:not([disabed], :active)[_moz-menuactive="true"], + #BMB_bookmarksPopup menu:not([disabed], :active)[_moz-menuactive="true"], + #BMB_bookmarksPopup menuitem:not([disabed], :active)[_moz-menuactive="true"] { + background-color: var(--button-hover-bgcolor) !important; + } } @media (-moz-os-version: windows-win7) {