mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-18 07:34:54 +00:00
style: Fix color and margin issue in notification and dialog buttons
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3138>
This commit is contained in:
parent
0c120ca727
commit
38944e1c8f
2 changed files with 4 additions and 1 deletions
|
|
@ -193,6 +193,9 @@ stage {
|
|||
padding: $base_padding * 2;
|
||||
font-weight: bold !important;
|
||||
|
||||
&:ltr {margin-right: 1px;}
|
||||
&:rtl {margin-left: 1px;}
|
||||
|
||||
// needs a 1px adjustment to fit exactly into the outer radius
|
||||
$bubble_button_radius: $modal_radius - 1px;
|
||||
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@
|
|||
// background color override for card elements
|
||||
@if $style == 'card' { $button_bg_color: $card_bg_color;}
|
||||
// background color override for buttons in notifications
|
||||
@if $style == 'bubble' { $button_bg_color: if($variant == 'light', darken($button_bg_color, 3%), lighten($button_bg_color, 10%));}
|
||||
@if $style == 'bubble' { $button_bg_color: if($variant == 'light', darken($button_bg_color, 3%), lighten($button_bg_color, 5%));}
|
||||
// background color mix override for flat style; the button bg color is the background color input
|
||||
@if $style == 'flat' { $button_bg_color: $c;}
|
||||
// background color mix override for default button style
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue