mirror of
https://github.com/bisq-network/bisq.git
synced 2025-03-13 11:09:10 +01:00
Fix wrong styling of link icon in dark mode
It also removes a style workaround that is not needed anymore. Side note: the style that was set never existed anyways.
This commit is contained in:
parent
26044d8ce1
commit
35ef9b62f9
2 changed files with 2 additions and 3 deletions
|
@ -838,6 +838,7 @@ textfield */
|
||||||
-fx-border-width: 0px;
|
-fx-border-width: 0px;
|
||||||
-fx-underline: true;
|
-fx-underline: true;
|
||||||
-fx-text-fill: -bs-rd-font-dark;
|
-fx-text-fill: -bs-rd-font-dark;
|
||||||
|
-fx-fill: -bs-rd-font-dark;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hyperlink.no-underline {
|
.hyperlink.no-underline {
|
||||||
|
@ -846,6 +847,7 @@ textfield */
|
||||||
|
|
||||||
.hyperlink:hover {
|
.hyperlink:hover {
|
||||||
-fx-text-fill: -bs-text-color;
|
-fx-text-fill: -bs-text-color;
|
||||||
|
-fx-fill: -bs-text-color;
|
||||||
}
|
}
|
||||||
|
|
||||||
.hyperlink:hover,
|
.hyperlink:hover,
|
||||||
|
|
|
@ -81,9 +81,6 @@ public class HyperlinkWithIcon extends Hyperlink {
|
||||||
|
|
||||||
setContentDisplay(ContentDisplay.RIGHT);
|
setContentDisplay(ContentDisplay.RIGHT);
|
||||||
setGraphicTextGap(7.0);
|
setGraphicTextGap(7.0);
|
||||||
|
|
||||||
//TODO: replace workaround of setting the style this way
|
|
||||||
tooltipProperty().addListener((observable, oldValue, newValue) -> newValue.getStyleClass().add("tooltip-hyperlink-icon"));
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public void clear() {
|
public void clear() {
|
||||||
|
|
Loading…
Add table
Reference in a new issue