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:
Lapo Calamandrei 2014-07-07 17:56:29 +02:00
parent 4422e27662
commit e86f409f32
3 changed files with 16 additions and 11 deletions

View File

@ -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);
}
}
}

View File

@ -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;

View File

@ -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;