From d619cfffc0a56083073e0511fce798325b79092a Mon Sep 17 00:00:00 2001 From: vinceliuice Date: Thu, 5 Sep 2024 13:39:53 +0800 Subject: [PATCH] Fixed issues --- src/other/firefox/common/parts/dialogs.css | 21 ++++++++++++++++----- src/other/firefox/common/parts/popups.css | 18 +++++++++++++++--- 2 files changed, 31 insertions(+), 8 deletions(-) diff --git a/src/other/firefox/common/parts/dialogs.css b/src/other/firefox/common/parts/dialogs.css index be8bbcac..3d410194 100644 --- a/src/other/firefox/common/parts/dialogs.css +++ b/src/other/firefox/common/parts/dialogs.css @@ -43,6 +43,10 @@ dialog { padding: 0 !important; } +dialog#handling { + padding: 8px 0 6px !important; +} + dialog[subdialog] { background-color: var(--gnome-popover-background) !important; border-radius: 12px !important; @@ -64,6 +68,10 @@ dialog[subdialog] { padding-bottom: 0; } +#description { + margin: 8px 10px 16px !important; +} + #description-box { margin: 24px 24px 0 !important; } @@ -146,8 +154,9 @@ dialog[subdialog] { background-position: right 12px center !important; background-repeat: no-repeat !important; background-size: auto 12px !important; + background-clip: padding-box !important; border: 1px solid var(--gnome-button-border-color) !important; - border-bottom-color: var(--gnome-button-border-accent-color) !important; + border-bottom-color: var(--gnome-button-border-bottom-color) !important; border-radius: 8px !important; padding: 2px 12px !important; min-height: 28px !important; @@ -162,8 +171,9 @@ dialog[subdialog] { min-height: 28px !important; border-radius: 8px !important; border: 1px solid var(--gnome-button-border-color) !important; - border-bottom-color: var(--gnome-button-border-accent-color) !important; + border-bottom-color: var(--gnome-button-border-bottom-color) !important; color: var(--gnome-toolbar-color) !important; + background-clip: padding-box !important; } #print-button.primary { @@ -191,8 +201,9 @@ dialog[subdialog] { } .toggle-group-label { + background-clip: padding-box !important; border: 1px solid var(--gnome-button-border-color) !important; - border-bottom-color: var(--gnome-button-border-accent-color) !important; + border-bottom-color: var(--gnome-button-border-bottom-color) !important; } .toggle-group-label:first-of-type { @@ -224,7 +235,7 @@ dialog[subdialog] { #print-button.primary { border-color: var(--gnome-button-border-color) !important; - border-bottom-color: var(--gnome-button-border-accent-color) !important; + border-bottom-color: var(--gnome-button-border-bottom-color) !important; } .toggle-group-label { @@ -233,7 +244,7 @@ dialog[subdialog] { .toggle-group-input:enabled:checked + .toggle-group-label { border-color: var(--gnome-button-border-color) !important; - border-bottom-color: var(--gnome-button-border-accent-color) !important; + border-bottom-color: var(--gnome-button-border-bottom-color) !important; } :root[dialogroot] select, diff --git a/src/other/firefox/common/parts/popups.css b/src/other/firefox/common/parts/popups.css index a467d579..d379e81f 100644 --- a/src/other/firefox/common/parts/popups.css +++ b/src/other/firefox/common/parts/popups.css @@ -173,7 +173,7 @@ panelview { /* Style popovers menu buttons */ menuitem, menupopup menu, -.subviewbutton:not(#appMenu-fxa-label2), +.subviewbutton:not(#appMenu-fxa-label2, #downloadsHistory), .toolbarbutton-1, .protections-popup-footer-button, .protections-popup-category, @@ -187,10 +187,22 @@ menuitem, menupopup menu, min-height: 28px !important; } +#downloadsHistory { + border-radius: 6px !important; +} + .toolbar-menupopup :is(menu, menuitem) { margin: 0 !important; } +#downloadsPanel-mainView .download-state .downloadButton { + border: none !important; + background: none !important; + box-shadow: none !important; + --button-hover-bgcolor: var(--gnome-popover-button-hover-background) !important; + --button-active-bgcolor: var(--gnome-popover-button-active-background) !important; +} + .subviewbutton, .protections-popup-footer-button, .protections-popup-category, @@ -245,7 +257,7 @@ menupopup menu[disabled="true"][_moz-menuactive], /* Menu buttons hover */ menuitem:not([disabled="true"]):is(:hover, [_moz-menuactive]), menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]), -.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2):hover, +.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2, #downloadsHistory):hover, .protections-popup-footer-button:not([disabled="true"]):hover, #protections-popup-show-report-stack:hover .protections-popup-footer-button, .protections-popup-category:not([disabled="true"]):hover, @@ -257,7 +269,7 @@ menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]), } /* Menu buttons active */ -.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2):active, +.subviewbutton:not([disabled="true"], #appMenu-zoom-controls2, #appMenu-fxa-label2, #downloadsHistory):active, .protections-popup-footer-button:not([disabled="true"]):active, #protections-popup-show-report-stack:active .protections-popup-footer-button, .protections-popup-category:not([disabled="true"]):active,