mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-29 06:51:10 +00:00
Adwaita: csd message dialog fixes.
Lighter shadow like popovers and bigger radius then buttons on the background to avoid antialiasing artifacts.
This commit is contained in:
parent
4422e27662
commit
e86f409f32
@ -1863,11 +1863,12 @@ GtkCalendar {
|
||||
}
|
||||
&.csd { // rounded bottom border styling for csd version
|
||||
&.background {
|
||||
border-bottom-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px;
|
||||
// bigger radius for better antialiasing
|
||||
border-bottom-left-radius: 9px;
|
||||
border-bottom-right-radius: 9px;
|
||||
}
|
||||
.dialog-action-area .button {
|
||||
padding: 8px;
|
||||
padding: 12px;
|
||||
border-radius: 0;
|
||||
@include button(normal, $noedge: true);
|
||||
@extend %middle_button;
|
||||
@ -2150,6 +2151,8 @@ GtkColorChooserWidget #add-color-button {
|
||||
}
|
||||
&.message-dialog {
|
||||
border-radius: 7px;
|
||||
box-shadow: 0 1px 2px transparentize(black, 0.8),
|
||||
0 0 0 1px transparentize($_wm_border,0.1);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -2391,10 +2391,10 @@ GtkCalendar {
|
||||
border-style: none;
|
||||
box-shadow: inset 0 1px rgba(238, 238, 236, 0.1); }
|
||||
.message-dialog.csd.background {
|
||||
border-bottom-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px; }
|
||||
border-bottom-left-radius: 9px;
|
||||
border-bottom-right-radius: 9px; }
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
padding: 12px;
|
||||
border-radius: 0;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
@ -2763,7 +2763,8 @@ GtkColorChooserWidget #add-color-button {
|
||||
border-radius: 5px;
|
||||
box-shadow: none; }
|
||||
.window-frame.csd.message-dialog {
|
||||
border-radius: 7px; }
|
||||
border-radius: 7px;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(28, 31, 31, 0.8); }
|
||||
|
||||
.button.titlebutton {
|
||||
padding: 8px;
|
||||
|
@ -2383,10 +2383,10 @@ GtkCalendar {
|
||||
border-style: none;
|
||||
box-shadow: inset 0 1px white; }
|
||||
.message-dialog.csd.background {
|
||||
border-bottom-left-radius: 7px;
|
||||
border-bottom-right-radius: 7px; }
|
||||
border-bottom-left-radius: 9px;
|
||||
border-bottom-right-radius: 9px; }
|
||||
.message-dialog.csd .dialog-action-area .button {
|
||||
padding: 8px;
|
||||
padding: 12px;
|
||||
border-radius: 0;
|
||||
border-style: solid;
|
||||
border-width: 1px;
|
||||
@ -2755,7 +2755,8 @@ GtkColorChooserWidget #add-color-button {
|
||||
border-radius: 5px;
|
||||
box-shadow: none; }
|
||||
.window-frame.csd.message-dialog {
|
||||
border-radius: 7px; }
|
||||
border-radius: 7px;
|
||||
box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.13); }
|
||||
|
||||
.button.titlebutton {
|
||||
padding: 8px;
|
||||
|
Loading…
Reference in New Issue
Block a user