Adwaita: Make frames rounded

As per GNOME mockups.

Since GtkFrame now sets GTK_OVERFLOW_HIDDEN, we can round the frame
without corner overlapping.

This also adds some margin to the child label of GtkFrame to ensure it
will not be clipped by the rounded corners of the frame.
This commit is contained in:
nana-4 2020-08-07 00:54:40 +09:00
parent ef837f0415
commit c0efadc0f3

View File

@ -3005,13 +3005,17 @@ window.dialog.print {
**********/
frame,
.frame {
box-shadow: none;
margin: 0;
padding: 0;
border-radius: 0;
border: 1px solid $borders_color;
}
frame {
border-radius: $window_radius;
> label {
margin: 4px;
}
}
actionbar > revealer > box {
padding: 6px;
border-top: 1px solid $borders_color;
@ -3220,6 +3224,7 @@ expander-widget {
calendar {
color: $text_color;
border: 1px solid $borders_color;
border-radius: $window_radius;
> header {
border-bottom: 1px solid $borders_color;