This commit is contained in:
vinceliuice
2025-10-03 17:33:17 +08:00
parent 39b5831ded
commit a651c4d5a1
4 changed files with 11 additions and 8 deletions

View File

@@ -67,7 +67,7 @@
#NautilusQueryEditor { // search entry #NautilusQueryEditor { // search entry
> menubutton { > menubutton {
margin: $base_padding 0; margin: 2px 0;
> button.image-button { > button.image-button {
min-width: 16px; min-width: 16px;

View File

@@ -249,10 +249,11 @@ $titlebutton_close: $button-close;
&.minimize, &.maximize, &.close { &.minimize, &.maximize, &.close {
color: transparent; color: transparent;
background: none;
&:hover, &:active { &, &:hover, &:active, &:disabled {
box-shadow: none; box-shadow: none;
background-color: transparent;
background-image: none;
} }
&:hover, &:active { &:hover, &:active {
@@ -347,7 +348,8 @@ windowcontrols {
} }
} }
> button { > button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque),
> button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque).image-button {
@if $window_button == 'mac' { @if $window_button == 'mac' {
@extend %mac_window_button; @extend %mac_window_button;
} @else { } @else {

View File

@@ -236,7 +236,8 @@ stacksidebar row {
} }
windowcontrols { windowcontrols {
> button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) { > button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque),
> button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque).image-button {
@if $window_button == 'mac' { @if $window_button == 'mac' {
&.minimize, &.maximize, &.close { &.minimize, &.maximize, &.close {
color: transparent; color: transparent;

View File

@@ -1,7 +1,7 @@
%toolbar { %toolbar {
button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) { button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) {
&.arrow-button, &.arrow-button,
&.image-button, &.image-button:not(.close):not(.minimize):not(.maximize),
&.image-text-button { &.image-text-button {
@extend %button_basic_flat; @extend %button_basic_flat;
} }
@@ -21,7 +21,7 @@
.linked button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) { .linked button:not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) {
&.arrow-button, &.arrow-button,
&.image-button, &.image-button:not(.close):not(.minimize):not(.maximize),
&.image-text-button { &.image-text-button {
@extend %button_basic_raised; @extend %button_basic_raised;
} }
@@ -59,7 +59,7 @@
popover { popover {
button:not(.flat):not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) { button:not(.flat):not(.raised):not(.suggested-action):not(.destructive-action):not(.opaque) {
&.arrow-button, &.arrow-button,
&.image-button, &.image-button:not(.close):not(.minimize):not(.maximize),
&.image-text-button { &.image-text-button {
@extend %button_basic_raised; @extend %button_basic_raised;
} }