- commit
- 1d8044cfb73e932476cc1b3ad6618c4f594d2462
- parent
- bc39970dbcd2af8a4f6e1f129f130efd79cb6a37
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2022-06-23 08:51
rm button gradients
Diffstat
| M | gtk-3.0/widgets/button.css | 14 | +++----------- |
1 files changed, 3 insertions, 11 deletions
diff --git a/gtk-3.0/widgets/button.css b/gtk-3.0/widgets/button.css
@@ -3,10 +3,7 @@ scale slider {
3 3 border-radius: 3px;
4 4 padding: 0.5em;
5 5 border-width: 1px;
6 -1 background-image: linear-gradient(to bottom,
7 -1 @button_bg_color,
8 -1 @button_bg_color 40%,
9 -1 shade(@button_bg_color, 0.94));
-1 6 background-color: @button_bg_color;
10 7 color: @button_fg_color;
11 8 }
12 9
@@ -19,10 +16,7 @@ button:hover,
19 16 button:focus,
20 17 scale:hover slider,
21 18 scale:focus slider {
22 -1 background-image: linear-gradient(to bottom,
23 -1 @button_bg_color,
24 -1 @button_bg_color 40%,
25 -1 shade(@button_bg_color, 0.98));
-1 19 background-color: mix(@button_bg_color, @bg_color, 0.5);
26 20 color: @button_fg_color;
27 21 }
28 22
@@ -35,9 +29,7 @@ button.flat:checked {
35 29
36 30 button:active,
37 31 button:checked {
38 -1 background-image: linear-gradient(to bottom,
39 -1 shade(@bg_color, 0.95),
40 -1 shade(@bg_color, 0.9));
-1 32 background-color: shade(@bg_color, 0.9);
41 33 color: @fg_color;
42 34 }
43 35