From 6d4909978a24f431a6807b9864ce66ef1aa22bd2 Mon Sep 17 00:00:00 2001 From: Kovid Goyal Date: Sat, 15 Feb 2020 22:05:04 +0530 Subject: [PATCH] Fix #1863418 [Hovering buttons turns the text red](https://bugs.launchpad.net/calibre/+bug/1863418) --- src/pyj/read_book/prefs/font_size.pyj | 1 + 1 file changed, 1 insertion(+) diff --git a/src/pyj/read_book/prefs/font_size.pyj b/src/pyj/read_book/prefs/font_size.pyj index 7ad7c24c7e..011e13b2f8 100644 --- a/src/pyj/read_book/prefs/font_size.pyj +++ b/src/pyj/read_book/prefs/font_size.pyj @@ -18,6 +18,7 @@ add_extra_css(def(): style = rule(QUICK, 'li.current', background_color=get_color('window-background2')) style += rule(QUICK, 'li:hover', background_color=get_color('window-background2')) style += rule(CONTAINER, 'a:hover', color=get_color('window-hover-foreground')) + style += rule(CONTAINER, 'a.calibre-push-button:hover', color=get_color('button-text')) return style )