- commit
- b20074efe5f81ffd2cf389d3dc4a4f326fcfb2a4
- parent
- eba6a9c4ed93aba12d5c757a4c5452d6cae7d4be
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2019-09-21 05:55
refine order of button rules
Diffstat
| M | gtk-3.0/widgets/button.css | 26 | ++++++++++++++------------ |
1 files changed, 14 insertions, 12 deletions
diff --git a/gtk-3.0/widgets/button.css b/gtk-3.0/widgets/button.css
@@ -10,6 +10,11 @@ switch slider {
10 10 color: @input_fg_color;
11 11 }
12 12
-1 13 button.flat {
-1 14 background: none;
-1 15 border-color: transparent;
-1 16 }
-1 17
13 18 button:hover,
14 19 button:focus,
15 20 switch:hover slider,
@@ -19,12 +24,21 @@ switch:focus slider {
19 24 @input_bg_color 40%,
20 25 shade(@input_bg_color, 0.98));
21 26 }
-1 27
-1 28 button.flat:hover,
-1 29 button.flat:focus,
-1 30 button.flat:active,
-1 31 button.flat:checked {
-1 32 border-color: @border_color;
-1 33 }
-1 34
22 35 button:active,
23 36 button:checked {
24 37 background-image: linear-gradient(to bottom,
25 38 shade(@base_color, 0.95),
26 39 shade(@base_color, 0.9));
27 40 }
-1 41
28 42 button:backdrop,
29 43 button:disabled,
30 44 switch:backdrop slider,
@@ -32,18 +46,6 @@ switch:disabled slider {
32 46 background: @base_color;
33 47 }
34 48
35 -1 button.flat {
36 -1 background: none;
37 -1 border-color: transparent;
38 -1 }
39 -1
40 -1 button.flat:hover,
41 -1 button.flat:focus,
42 -1 button.flat:active,
43 -1 button.flat:checked {
44 -1 border-color: @border_color;
45 -1 }
46 -1
47 49 button.circular {
48 50 border-radius: 100em;
49 51 }