From d2ff9e1092586da75827a3bf11aa072c23b4d227 Mon Sep 17 00:00:00 2001 From: RJavues <48386227+JavuesZhang@users.noreply.github.com> Date: Tue, 20 Apr 2021 18:57:55 +0800 Subject: [PATCH] Fix#7195 partly Opacity of disabled icon-buttons --- CHANGELOG.md | 1 + src/main/java/org/jabref/gui/Base.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 97603ecfcc6..04433902bcb 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -76,6 +76,7 @@ Note that this project **does not** adhere to [Semantic Versioning](http://semve - We fixed an issue where opening BibTex file (doubleclick) from Folder with spaces not working. [#6487](https://github.com/JabRef/jabref/issues/6487) - We fixed an issue with saving large `.bib` files [#7265](https://github.com/JabRef/jabref/issues/7265) - We fixed an issue with very large page numbers [#7590](https://github.com/JabRef/jabref/issues/7590) +- We fixed an issue with opacity of disabled icon-buttons [#7195](https://github.com/JabRef/jabref/issues/7195) ### Removed diff --git a/src/main/java/org/jabref/gui/Base.css b/src/main/java/org/jabref/gui/Base.css index e7f42cd8bb4..c6679c830f1 100644 --- a/src/main/java/org/jabref/gui/Base.css +++ b/src/main/java/org/jabref/gui/Base.css @@ -376,6 +376,10 @@ -fx-fill: white; } +.icon-button:disabled { + -fx-opacity: 0.4; +} + .toggle-button:selected { -fx-background-color: -jr-icon-background-active; -fx-text-fill: -jr-selected;