projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9608e4e
)
theme: fix 'hover' and 'check' colors for buttons under .toolbar
author
Nelson Benítez León
<nbenitezl@gmail.com>
Sun, 16 Apr 2023 20:16:10 +0000
(16:16 -0400)
committer
Nelson Benítez León
<nbenitezl@gmail.com>
Sun, 16 Apr 2023 20:16:10 +0000
(16:16 -0400)
Buttons under .toolbar were using for their 'hover', 'active'
and 'check' colors the default ones from %button_basic_flat
which are very dimmed, so we explicitly darken them.
Part of #5725
gtk/theme/Default/_common.scss
patch
|
blob
|
history
diff --git
a/gtk/theme/Default/_common.scss
b/gtk/theme/Default/_common.scss
index 7135eba9ac4ef84ddb8f2ccc4018886398a34118..26ff434aacb9a34eb33ab76a561deb54ca1027de 100644
(file)
--- a/
gtk/theme/Default/_common.scss
+++ b/
gtk/theme/Default/_common.scss
@@
-951,6
+951,10
@@
modelbutton.flat arrow {
margin: 1px;
@extend %button_basic_flat;
+
+ &:hover { @include button(undecorated-hover, $c:darken($bg_color, 4%)); }
+ &:active,
+ &:checked { @include button(undecorated-active, $c:darken($bg_color, 4%)); }
}
button.color {