mirror of
https://github.com/edu4rdshl/gnome-shell.git
synced 2026-07-17 23:24:51 +00:00
style: Shift dash running indicator dot up a pixel in high contrast mode
With the dot now being placed correctly at the bottom of the hover
highlight it is now also overlapping the 1px inset shadow used as
outline in high contrast mode. To avoid this, shift the dot up
accordingly.
Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3245>
(cherry picked from commit e2adc5a445)
This commit is contained in:
parent
6f215fa55d
commit
fa0a7093c1
1 changed files with 5 additions and 1 deletions
|
|
@ -69,7 +69,11 @@ $dash_spacing: $base_margin * 0.5;
|
|||
// running app dot
|
||||
.app-grid-running-dot {
|
||||
// manually position the dot within the dash item
|
||||
offset-y: -$dash_padding;
|
||||
@if $contrast == 'high' {
|
||||
offset-y: -$dash_padding - 1px; // don't draw dot directly on inset
|
||||
} @else {
|
||||
offset-y: -$dash_padding;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue