- commit
- ca0f2d235d11187bd01292e0ea4f1daf6aa70975
- parent
- 11e16fc5558b6c7bf48de6969b1b350bfccdc1b5
- Author
- Tobias Bengfort <tobias.bengfort@posteo.de>
- Date
- 2020-10-07 17:34
fix link styling fixes -moz-hyperlinktext in mozilla applications
Diffstat
| M | gtk-3.0/shared.css | 5 | +++++ |
| M | gtk-3.0/widgets/button.css | 12 | +++++++----- |
2 files changed, 12 insertions, 5 deletions
diff --git a/gtk-3.0/shared.css b/gtk-3.0/shared.css
@@ -43,6 +43,11 @@ entry:disabled {
43 43 background: shade(@base_color, 0.94);
44 44 }
45 45
-1 46 link {
-1 47 color: @focus_color;
-1 48 text-decoration: underline;
-1 49 }
-1 50
46 51 slider:focus,
47 52 switch:focus slider,
48 53 spinbutton:focus,
diff --git a/gtk-3.0/widgets/button.css b/gtk-3.0/widgets/button.css
@@ -53,17 +53,19 @@ button.circular {
53 53 border-radius: 100em;
54 54 }
55 55
56 -1 button.link label {
-1 56 button.link {
57 57 color: @focus_color;
58 -1 text-decoration: underline;
59 58 }
60 -1 button.link:hover label,
61 -1 button.link:focus label {
-1 59 button.link:hover,
-1 60 button.link:focus {
62 61 color: mix(@focus_color, @fg_color, 0.2);
63 62 }
64 -1 button.link:active label {
-1 63 button.link:active {
65 64 color: mix(@focus_color, @fg_color, 0.5);
66 65 }
-1 66 button.link > label {
-1 67 text-decoration: underline;
-1 68 }
67 69
68 70 .linked > button,
69 71 .linked > entry,