- commit
- 2748802e33dd0b0aae09a451714af29cb7f92064
- parent
- 49ccbc33a64c46e6bd1978a825f8880956c8e446
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2023-01-11 10:27
refine button states
Diffstat
| M | gtk-3.0/widgets/button.css | 10 | +++++++--- |
1 files changed, 7 insertions, 3 deletions
diff --git a/gtk-3.0/widgets/button.css b/gtk-3.0/widgets/button.css
@@ -16,7 +16,7 @@ button:hover, 16 16 button:focus, 17 17 scale:hover slider, 18 18 scale:focus slider {19 -1 background-color: mix(@button_bg_color, @bg_color, 0.5);-1 19 background-color: mix(@button_bg_color, @button_fg_color, 0.1); 20 20 color: @button_fg_color; 21 21 } 22 22 @@ -27,9 +27,13 @@ button.flat:checked { 27 27 border-color: @border_color; 28 28 } 29 2930 -1 button:active,31 30 button:checked {32 -1 background-color: shade(@bg_color, 0.9);-1 31 background-color: mix(@button_bg_color, @button_fg_color, 0.2); -1 32 color: @fg_color; -1 33 } -1 34 -1 35 button:active { -1 36 background-color: mix(@button_bg_color, @button_fg_color, 0.3); 33 37 color: @fg_color; 34 38 } 35 39