Adwaita: window radius

- found the lapo magic to fix the non-csd corner anti-aliasing
- csd headerbars to do

https://gitlab.gnome.org/GNOME/gtk/issues/1510
This commit is contained in:
Jakub Steiner 2018-12-12 10:36:20 +01:00 committed by Matthias Clasen
parent df40f2cc2b
commit 92ebd74101
3 changed files with 4 additions and 4 deletions

View File

@ -3865,8 +3865,8 @@ messagedialog { // Message Dialog styling
&.csd { // rounded bottom border styling for csd version
&.background {
// bigger radius for better antialiasing
border-bottom-left-radius: 9px;
border-bottom-right-radius: 9px;
border-bottom-left-radius: $window_radius+1;
border-bottom-right-radius: $window_radius+1;
}
.dialog-action-area button {

View File

@ -1636,7 +1636,7 @@ calendar:indeterminate { color: alpha(currentColor,0.1); }
/*********** Dialogs * */
messagedialog .titlebar { min-height: 20px; background-image: none; background-color: #3f3e40; border-style: none; border-top-left-radius: 7px; border-top-right-radius: 7px; }
messagedialog.csd.background { border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; }
messagedialog.csd.background { border-bottom-left-radius: 11px; border-bottom-right-radius: 11px; }
messagedialog.csd .dialog-action-area button { padding: 10px 14px; border-radius: 0; border-left-style: solid; border-right-style: none; border-bottom-style: none; }

View File

@ -1656,7 +1656,7 @@ calendar:indeterminate { color: alpha(currentColor,0.1); }
/*********** Dialogs * */
messagedialog .titlebar { min-height: 20px; background-image: none; background-color: #f6f5f4; border-style: none; border-top-left-radius: 7px; border-top-right-radius: 7px; }
messagedialog.csd.background { border-bottom-left-radius: 9px; border-bottom-right-radius: 9px; }
messagedialog.csd.background { border-bottom-left-radius: 11px; border-bottom-right-radius: 11px; }
messagedialog.csd .dialog-action-area button { padding: 10px 14px; border-radius: 0; border-left-style: solid; border-right-style: none; border-bottom-style: none; }