Replace all `style=""` calls with `styleClass` in FXML
See also the previous issue: https://github.com/JabRef/jabref/issues/15686 and companion issue: https://github.com/JabRef/jabref/issues/15934
We have multiple occurrences where we use style in FXMLs in JabRef. The problem is that this usually hardcodes colors or styles like insets. Therefore, custom themes (CSS) or other stylesheets like Atlanta will always be overwritten by this inline styles.
Additional context
We have styleclasses for that, e.g. bold that should be used. Otherwise a new one can be created.
/take
Hi, I noticed that StyleTester.fxml still had 4 remaining inline style= attributes not covered by #15938, so I've opened a separate PR #15957 to address those. I also added the corresponding utility classes (.padding-medium, .padding-left-medium, .padding-large) to jabref-theme.css.
We think that this issue was fixed. Please head to https://builds.jabref.org/main to download a development build and try it out.
For any feedback, add a comment to the pull request at https://github.com/JabRef/jabref/pull/15938.