mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
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
1 changed files with 11 additions and 2 deletions
|
|
@ -136,14 +136,23 @@ $bubble_button_radius:$base_border_radius*1.25;
|
|||
&:hover { @include button(hover, $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;
|
||||
}
|
||||
|
||||
&:last-child {
|
||||
&:last-child:ltr {
|
||||
border-radius: 0 0 $bubble_button_radius 0;
|
||||
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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue