Skip to content
This repository has been archived by the owner on Mar 27, 2020. It is now read-only.

Commit

Permalink
Gtk-3.22&3.24&4.0: [GtkDialogActionArea] Re-enable action-area button…
Browse files Browse the repository at this point in the history
… styling for non-CSD GtkDialogs

Those dialogs should be replaced with GtkMessageDialog in many cases though.
  • Loading branch information
tista500 committed Jul 25, 2018
1 parent 4edf0e7 commit 81ac06d
Show file tree
Hide file tree
Showing 3 changed files with 21 additions and 0 deletions.
7 changes: 7 additions & 0 deletions gtk/sass/3.22/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,13 @@ buttonbox {
&, &.dialog-action-area {
&:not(.linked) button { @extend %action-area-button; }
}

dialog.background & {
&.dialog-action-area.linked button {
@extend %action-area-button;
border: 0 none transparent;
}
}
}

%action-area-button {
Expand Down
7 changes: 7 additions & 0 deletions gtk/sass/3.24/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1154,6 +1154,13 @@ buttonbox {
&, &.dialog-action-area {
&:not(.linked) button { @extend %action-area-button; }
}

dialog.background & {
&.dialog-action-area.linked button {
@extend %action-area-button;
border: 0 none transparent;
}
}
}

%action-area-button {
Expand Down
7 changes: 7 additions & 0 deletions gtk/sass/4.0/_common.scss
Original file line number Diff line number Diff line change
Expand Up @@ -1177,6 +1177,13 @@ buttonbox {
&, &.dialog-action-area {
&:not(.linked) button { @extend %action-area-button; }
}

dialog.background & {
&.dialog-action-area.linked button {
@extend %action-area-button;
border: 0 none transparent;
}
}
}

%action-area-button {
Expand Down

0 comments on commit 81ac06d

Please sign in to comment.