Compare commits

...

1 Commits

Author SHA1 Message Date
Jakub Steiner
a4325588bc Adwaita: dialog button rounding
- fix :active corner rounding

Fixes https://gitlab.gnome.org/GNOME/gtk/-/issues/2935
2020-07-16 14:45:28 +02:00
2 changed files with 11 additions and 6 deletions

View File

@@ -3001,6 +3001,12 @@ bad things might happen.</property>
<property name="use-underline">1</property>
</object>
</child>
<child type="action">
<object class="GtkButton" id="wait_info_dialog">
<property name="label" translatable="yes">_Wait</property>
<property name="use-underline">1</property>
</object>
</child>
<child type="action">
<object class="GtkButton" id="doit_info_dialog">
<property name="label" translatable="yes">_Do It</property>

View File

@@ -3213,8 +3213,8 @@ window.dialog.message { // Message Dialog styling
background-image: none;
background-color: $bg_color;
border-style: none;
border-top-left-radius: 7px;
border-top-right-radius: 7px;
border-top-left-radius: $window_radius - 1;
border-top-right-radius: $window_radius - 1;
}
box.dialog-vbox.vertical {
@@ -3240,13 +3240,12 @@ window.dialog.message { // Message Dialog styling
border-right-style: none;
border-bottom-style: none;
&:first-child{
border-left-style: none;
border-bottom-left-radius: 7px;
&:first-child { //seems to be ignored but applied for second button's :active state
border-radius: 0 0 0 #{$window_radius - 1};
}
&:last-child {
border-bottom-right-radius: 7px;
border-radius: 0 0 #{$window_radius - 1} 0;
}
}
}