From 50860c641d555da24671bd89538d591cdfc725d2 Mon Sep 17 00:00:00 2001 From: Xiong Hongji <1190500618@stu.hit.edu.cn> Date: Sun, 18 Jul 2021 16:21:31 +0800 Subject: [PATCH 1/2] solution to issue #7853 --- src/main/java/org/jabref/gui/Base.css | 4 ++-- src/main/java/org/jabref/gui/Dark.css | 4 ++++ 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jabref/gui/Base.css b/src/main/java/org/jabref/gui/Base.css index 284b6822b93..a8c9dcbc3e0 100644 --- a/src/main/java/org/jabref/gui/Base.css +++ b/src/main/java/org/jabref/gui/Base.css @@ -60,7 +60,7 @@ -jr-icon-background: transparent; -jr-icon-background-active: #0001; - -jr-icon-background-armed: #0002; + -jr-icon-background-armed: #0002 /* Colors for messages and errors */ -jr-info: -jr-light-green; @@ -269,7 +269,7 @@ -fx-bounds-type: logical_vertical_center; /* The base color of icons should always be the same as the text. */ - -fx-fill: -fx-text-base-color; + -fx-fill: derive(-fx-color, -5%); } .tooltip { diff --git a/src/main/java/org/jabref/gui/Dark.css b/src/main/java/org/jabref/gui/Dark.css index 3be00426ff2..197e2700faf 100644 --- a/src/main/java/org/jabref/gui/Dark.css +++ b/src/main/java/org/jabref/gui/Dark.css @@ -117,3 +117,7 @@ -fx-fill: derive(-jr-search-text, 80%); -fx-text-fill: derive(-jr-search-text, 80%); } +.button { + -fx-background-color: #6b727a; + -fx-border-color: transparent; +} From 024aaa0e08b07b32cd58d96ba765d72f49c17e64 Mon Sep 17 00:00:00 2001 From: Xiong Hongji <1190500618@stu.hit.edu.cn> Date: Sun, 18 Jul 2021 16:24:22 +0800 Subject: [PATCH 2/2] solution to issue #7853 --- src/main/java/org/jabref/gui/Base.css | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/jabref/gui/Base.css b/src/main/java/org/jabref/gui/Base.css index a8c9dcbc3e0..284b6822b93 100644 --- a/src/main/java/org/jabref/gui/Base.css +++ b/src/main/java/org/jabref/gui/Base.css @@ -60,7 +60,7 @@ -jr-icon-background: transparent; -jr-icon-background-active: #0001; - -jr-icon-background-armed: #0002 + -jr-icon-background-armed: #0002; /* Colors for messages and errors */ -jr-info: -jr-light-green; @@ -269,7 +269,7 @@ -fx-bounds-type: logical_vertical_center; /* The base color of icons should always be the same as the text. */ - -fx-fill: derive(-fx-color, -5%); + -fx-fill: -fx-text-base-color; } .tooltip {