mirror of
https://github.com/1j01/textual-paint.git
synced 2024-12-21 22:01:31 +03:00
Tweak titlebar close button colors
Don't dim the highlight sides on hover. I feel like that makes it feel like it's disabled. But don't dim the center as much, so the highlight doesn't _stand out_ when hovering.
This commit is contained in:
parent
07757edc24
commit
da9813ea9b
@ -178,18 +178,20 @@ WindowTitleBar Button {
|
||||
padding-left: 1;
|
||||
}
|
||||
.window_close {
|
||||
background: $panel;
|
||||
border: inner $panel-darken-1;
|
||||
border-top: inner $panel-lighten-1;
|
||||
border-left: inner $panel-lighten-1;
|
||||
}
|
||||
.window_close:hover {
|
||||
background: $panel-darken-1;
|
||||
border: inner $panel-darken-3;
|
||||
border-top: inner $panel;
|
||||
border-left: inner $panel;
|
||||
border-top: inner $panel-lighten-1;
|
||||
border-left: inner $panel-lighten-1;
|
||||
}
|
||||
/* :active doesn't seem to be supported,
|
||||
and .-active doesn't apply until after click,
|
||||
at which point the window is closed */
|
||||
at which point the window is closed, generally. */
|
||||
.window_close.-active {
|
||||
border: inner $panel-lighten-1;
|
||||
border-top: inner $panel-darken-3;
|
||||
|
Loading…
Reference in New Issue
Block a user