gtk: Restrict the dialog button style only to message dialogs again
The flattened blue buttons looked a bit odd in GtkDialog.
The flattened blue buttons looked a bit odd in GtkDialog.
by roundabout, Saturday, 20 June 2020, 08:44:17 (1592642657), pushed by roundabout, Sunday, 11 May 2025, 13:22:53 (1746969773)
Author identity: nana-4 <hnmaigo@gmail.com>
e15582b47f78b2e24507260b581dedabbc9b1df6
* Dialogs
*/
messagedialog { // Message Dialog styling
// Message Dialog styling
messagedialog {
&.background {
background-color: $surface;
}
margin-top: -$container-padding;
// padding: $container-padding;
button:not(:last-child) {
margin-right: $container-padding;
}
}
}
button {
@extend %button-flat;
.dialog-action-box button {
@extend %button-flat;
&:not(:last-child) {
margin-right: $container-padding;
}
&:not(:disabled) {
@include ink-color($primary);
}
&:not(:disabled) {
color: $primary;
@include ink-color($primary);
}
&.suggested-action:not(:disabled) {
background-color: transparent;
// @include ink-color($primary);
}
&.suggested-action:not(:disabled) {
background-color: transparent;
// color: $primary;
// @include ink-color($primary);
}
&.destructive-action:not(:disabled) {
background-color: transparent;
@include ink-color($error);
&.destructive-action:not(:disabled) {
background-color: transparent;
color: $error;
@include ink-color($error);
}
}
}
}