style: Fix rounded button corners in RTL
https://gitlab.gnome.org/GNOME/gnome-shell/-/issues/5021 Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/2158>
This commit is contained in:
parent
beb9afc61b
commit
b2fa3ad98f
@ -136,14 +136,23 @@ $bubble_button_radius:$base_border_radius*1.25;
|
|||||||
&:hover { @include button(hover, $bubble_buttons_color, $shadow: none); }
|
&:hover { @include button(hover, $bubble_buttons_color, $shadow: none); }
|
||||||
&:active { @include button(active, $bubble_buttons_color, $shadow: none); }
|
&:active { @include button(active, $bubble_buttons_color, $shadow: none); }
|
||||||
|
|
||||||
&:first-child {
|
&:first-child:ltr {
|
||||||
border-radius: 0 0 0 $bubble_button_radius;
|
border-radius: 0 0 0 $bubble_button_radius;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child {
|
&:last-child:ltr {
|
||||||
border-radius: 0 0 $bubble_button_radius 0;
|
border-radius: 0 0 $bubble_button_radius 0;
|
||||||
border-right-width: 0 !important;
|
border-right-width: 0 !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:first-child:rtl {
|
||||||
|
border-radius: 0 0 $bubble_button_radius 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
&:last-child:rtl {
|
||||||
|
border-radius: 0 0 0 $bubble_button_radius;
|
||||||
|
border-left-width: 0 !important;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
// styling for elements within popovers that look like notifications
|
// styling for elements within popovers that look like notifications
|
||||||
|
Loading…
Reference in New Issue
Block a user