This commit is contained in:
Vince 2021-11-03 16:57:31 +08:00
parent 2d70448239
commit ce402c0b1b
3 changed files with 29 additions and 12 deletions

View file

@ -114,10 +114,23 @@
margin: 6px !important; margin: 6px !important;
padding: 0 !important; padding: 0 !important;
} }
button.close {
button.close:not(.ghost-button) {
margin: 0 !important; margin: 0 !important;
} }
button.close.ghost-button {
margin: 6px !important;
}
button.close.ghost-button:not(:active):hover {
background-color: var(--gnome-headerbar-button-hover-background) !important;
}
button.close.ghost-button:active {
background-color: var(--gnome-headerbar-button-active-background) !important;
}
/* */ /* */
#appMenu-popup .panel-banner-item[notificationid="update-restart"]::after { #appMenu-popup .panel-banner-item[notificationid="update-restart"]::after {
display: none !important; display: none !important;

View file

@ -28,7 +28,7 @@ menulist,
#sidebar-switcher-target, #sidebar-switcher-target,
#viewButton, #viewButton,
.close-icon:not(.tab-close-button), .close-icon:not(.tab-close-button),
button.close, button.close:not(.ghost-button),
.menulist-label-box, .menulist-label-box,
.expander-down, .expander-up, .expander-down, .expander-up,
.notification-button, .notification-button,
@ -120,7 +120,7 @@ menulist:hover,
#sidebar-switcher-target:hover, #sidebar-switcher-target:hover,
#viewButton:hover, #viewButton:hover,
.close-icon:not(.tab-close-button):hover, .close-icon:not(.tab-close-button):hover,
button.close:hover, button.close:not(.ghost-button):hover,
menulist:hover .menulist-label-box, menulist:hover .menulist-label-box,
.expander-down:hover, .expander-up:hover, .expander-down:hover, .expander-up:hover,
.notification-button:hover, .notification-button:hover,
@ -157,7 +157,7 @@ menulist[open],
#sidebar-switcher-target:active, #sidebar-switcher-target.active, #sidebar-switcher-target:active, #sidebar-switcher-target.active,
#viewButton[open], #viewButton[open],
.close-icon:not(.tab-close-button):active, .close-icon:not(.tab-close-button):active,
button.close:active, button.close:not(.ghost-button):active,
menulist[open] .menulist-label-box, menulist[open] .menulist-label-box,
.expander-down:active, .expander-up:active, .expander-down:active, .expander-up:active,
.notification-button:active, .notification-button:active,
@ -210,7 +210,7 @@ menulist[open] .menulist-label-box,
/* Flat buttons */ /* Flat buttons */
.subviewbutton-back:not(#hack), .subviewbutton-back:not(#hack),
.close-icon:not(.tab-close-button), .close-icon:not(.tab-close-button),
button.close, button.close:not(.ghost-button),
#protections-popup-info-button, #protections-popup-info-button,
.permission-popup-permission-remove-button { .permission-popup-permission-remove-button {
background: transparent !important; background: transparent !important;
@ -221,9 +221,10 @@ button.close,
.subviewbutton-back:not(#hack):not(:active):hover, .subviewbutton-back:not(#hack):not(:active):hover,
.close-icon:not(.tab-close-button):not(:active):hover, .close-icon:not(.tab-close-button):not(:active):hover,
button.close:not(:active):hover, button.close:not(.ghost-button):not(:active):hover,
#protections-popup-info-button:hover, #protections-popup-info-button:hover,
.permission-popup-permission-remove-button:not(:active):hover { .permission-popup-permission-remove-button:not(:active):hover {
background: var(--gnome-headerbar-button-hover-background) !important;
box-shadow: none !important; box-shadow: none !important;
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-accent-color) !important;
@ -231,12 +232,14 @@ button.close:not(:active):hover,
.subviewbutton-back:not(#hack):active, .subviewbutton-back:not(#hack):active,
.close-icon:not(.tab-close-button):active, .close-icon:not(.tab-close-button):active,
button.close:active, button.close:not(.ghost-button):active,
#protections-popup-info-button:active, #protections-popup-info-button:active,
.permission-popup-permission-remove-button:active { .permission-popup-permission-remove-button:active {
box-shadow: none !important; box-shadow: none !important;
background: var(--gnome-headerbar-button-active-background) !important;
} }
button.close,
.close-icon:not(.tab-close-button) { .close-icon:not(.tab-close-button) {
box-shadow: none !important; box-shadow: none !important;
border: none !important; border: none !important;

View file

@ -117,17 +117,18 @@ toolbarspring {
color: unset !important; color: unset !important;
} }
.searchbar-engine-one-off-item:first-child { .searchbar-engine-one-off-item:first-child {
border-radius: 5px 0 0 5px; border-radius: 5px 0 0 5px !important;
border-left-width: 1px !important; border-left-width: 1px !important;
} }
.searchbar-engine-one-off-item.last-engine, .searchbar-engine-one-off-item:last-child { .searchbar-engine-one-off-item.last-engine, .searchbar-engine-one-off-item:not(.search-setting-button):last-child {
border-radius: 0 5px 5px 0; border-radius: 0 5px 5px 0 !important;
} }
#urlbar-anon-search-settings-compact { #urlbar-anon-search-settings-compact,
.search-setting-button {
border-left-width: 1px !important; border-left-width: 1px !important;
border-bottom: 1px solid var(--gnome-button-border-accent-color) !important; border-bottom: 1px solid var(--gnome-button-border-accent-color) !important;
border-radius: 5px; border-radius: 5px !important;
margin-left: 6px !important; margin-left: 6px !important;
} }