Fixed issues

This commit is contained in:
vinceliuice 2024-09-05 13:39:53 +08:00
parent 3900606796
commit d619cfffc0
2 changed files with 31 additions and 8 deletions

View File

@ -43,6 +43,10 @@ dialog {
padding: 0 !important; padding: 0 !important;
} }
dialog#handling {
padding: 8px 0 6px !important;
}
dialog[subdialog] { dialog[subdialog] {
background-color: var(--gnome-popover-background) !important; background-color: var(--gnome-popover-background) !important;
border-radius: 12px !important; border-radius: 12px !important;
@ -64,6 +68,10 @@ dialog[subdialog] {
padding-bottom: 0; padding-bottom: 0;
} }
#description {
margin: 8px 10px 16px !important;
}
#description-box { #description-box {
margin: 24px 24px 0 !important; margin: 24px 24px 0 !important;
} }
@ -146,8 +154,9 @@ dialog[subdialog] {
background-position: right 12px center !important; background-position: right 12px center !important;
background-repeat: no-repeat !important; background-repeat: no-repeat !important;
background-size: auto 12px !important; background-size: auto 12px !important;
background-clip: padding-box !important;
border: 1px solid var(--gnome-button-border-color) !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; border-radius: 8px !important;
padding: 2px 12px !important; padding: 2px 12px !important;
min-height: 28px !important; min-height: 28px !important;
@ -162,8 +171,9 @@ dialog[subdialog] {
min-height: 28px !important; min-height: 28px !important;
border-radius: 8px !important; border-radius: 8px !important;
border: 1px solid var(--gnome-button-border-color) !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; color: var(--gnome-toolbar-color) !important;
background-clip: padding-box !important;
} }
#print-button.primary { #print-button.primary {
@ -191,8 +201,9 @@ dialog[subdialog] {
} }
.toggle-group-label { .toggle-group-label {
background-clip: padding-box !important;
border: 1px solid var(--gnome-button-border-color) !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 { .toggle-group-label:first-of-type {
@ -224,7 +235,7 @@ dialog[subdialog] {
#print-button.primary { #print-button.primary {
border-color: var(--gnome-button-border-color) !important; 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 { .toggle-group-label {
@ -233,7 +244,7 @@ dialog[subdialog] {
.toggle-group-input:enabled:checked + .toggle-group-label { .toggle-group-input:enabled:checked + .toggle-group-label {
border-color: var(--gnome-button-border-color) !important; 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, :root[dialogroot] select,

View File

@ -173,7 +173,7 @@ panelview {
/* Style popovers menu buttons */ /* Style popovers menu buttons */
menuitem, menupopup menu, menuitem, menupopup menu,
.subviewbutton:not(#appMenu-fxa-label2), .subviewbutton:not(#appMenu-fxa-label2, #downloadsHistory),
.toolbarbutton-1, .toolbarbutton-1,
.protections-popup-footer-button, .protections-popup-footer-button,
.protections-popup-category, .protections-popup-category,
@ -187,10 +187,22 @@ menuitem, menupopup menu,
min-height: 28px !important; min-height: 28px !important;
} }
#downloadsHistory {
border-radius: 6px !important;
}
.toolbar-menupopup :is(menu, menuitem) { .toolbar-menupopup :is(menu, menuitem) {
margin: 0 !important; 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, .subviewbutton,
.protections-popup-footer-button, .protections-popup-footer-button,
.protections-popup-category, .protections-popup-category,
@ -245,7 +257,7 @@ menupopup menu[disabled="true"][_moz-menuactive],
/* Menu buttons hover */ /* Menu buttons hover */
menuitem:not([disabled="true"]):is(:hover, [_moz-menuactive]), menuitem:not([disabled="true"]):is(:hover, [_moz-menuactive]),
menupopup menu: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-footer-button:not([disabled="true"]):hover,
#protections-popup-show-report-stack:hover .protections-popup-footer-button, #protections-popup-show-report-stack:hover .protections-popup-footer-button,
.protections-popup-category:not([disabled="true"]):hover, .protections-popup-category:not([disabled="true"]):hover,
@ -257,7 +269,7 @@ menupopup menu:not([disabled="true"]):is(:hover, [_moz-menuactive]),
} }
/* Menu buttons active */ /* 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-footer-button:not([disabled="true"]):active,
#protections-popup-show-report-stack:active .protections-popup-footer-button, #protections-popup-show-report-stack:active .protections-popup-footer-button,
.protections-popup-category:not([disabled="true"]):active, .protections-popup-category:not([disabled="true"]):active,