From 3d25fd57478d90c0b5b02ce6059e40a4a07aa70c Mon Sep 17 00:00:00 2001 From: Martin Dvorak Date: Mon, 7 Sep 2026 09:38:10 +0200 Subject: [PATCH] fixed a gtk button issue on linux --- sprechen.c | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/sprechen.c b/sprechen.c index faf3396..39be6f1 100644 --- a/sprechen.c +++ b/sprechen.c @@ -935,6 +935,7 @@ static char *build_theme_css(const ThemePalette *p) { " transition: border-color 150ms ease, box-shadow 150ms ease;" "}" ".ex-bubble:hover {" + " background-image: none;" " border-color: @accent;" " box-shadow: 0 6px 20px alpha(@accent, 0.35);" "}" @@ -1027,6 +1028,7 @@ static char *build_theme_css(const ThemePalette *p) { " padding: 4px 10px;" "}" "combobox button:hover {" + " background-image: none;" " border-color: @accent;" "}" "combobox.answer-ok button {" @@ -1038,6 +1040,7 @@ static char *build_theme_css(const ThemePalette *p) { " background-color: alpha(@error, 0.12);" "}" ".pill {" + " background-image: none;" " background-color: @node_bg;" " color: @fg_text;" " border: 2px solid @locked_border;" @@ -1047,7 +1050,15 @@ static char *build_theme_css(const ThemePalette *p) { " transition: border-color 150ms ease, box-shadow 150ms ease;" "}" ".pill:hover {" + " background-image: none;" + " background-color: @node_bg;" " border-color: @accent;" + " box-shadow: none;" + "}" + ".pill:active {" + " background-image: none;" + " background-color: @bg_surface1;" + " box-shadow: none;" "}" ".pill:checked {" " background-image: linear-gradient(135deg, @accent 0%%, @accent2 100%%);" @@ -1064,6 +1075,7 @@ static char *build_theme_css(const ThemePalette *p) { " box-shadow: 0 0 0 2px alpha(@error, 0.4);" "}" ".chip {" + " background-image: none;" " background-color: @bg_surface0;" " color: @fg_text;" " border: 1px solid @bg_surface1;" @@ -1074,13 +1086,21 @@ static char *build_theme_css(const ThemePalette *p) { " transition: background-color 150ms ease, border-color 150ms ease;" "}" ".chip:hover {" + " background-image: none;" " background-color: @bg_surface1;" " border-color: @accent;" + " box-shadow: none;" + "}" + ".chip:active {" + " background-image: none;" + " background-color: @bg_surface2;" + " box-shadow: none;" "}" ".chip.ghost-host {" " opacity: 0;" "}" ".group-btn {" + " background-image: none;" " background-color: @node_bg;" " color: @fg_text;" " border: 2px solid @locked_border;" @@ -1091,7 +1111,15 @@ static char *build_theme_css(const ThemePalette *p) { " transition: border-color 150ms ease, box-shadow 150ms ease;" "}" ".group-btn:hover {" + " background-image: none;" + " background-color: @node_bg;" " border-color: @accent;" + " box-shadow: none;" + "}" + ".group-btn:active {" + " background-image: none;" + " background-color: @bg_surface1;" + " box-shadow: none;" "}" ".group-btn:checked {" " background-image: linear-gradient(135deg, @accent3 0%%, @success2 100%%);"