fix styling of text areas

This commit is contained in:
woodser 2025-05-13 17:45:29 -04:00
parent fda77b764a
commit e9351e0301
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
4 changed files with 10 additions and 2 deletions

View file

@ -455,6 +455,7 @@ tree-table-view:focused {
}
.input-with-border {
-fx-border-width: 1;
-fx-border-color: -bs-color-border-form-field;
}
@ -564,7 +565,7 @@ tree-table-view:focused {
-jfx-focus-color: transparent;
-jfx-unfocus-color: transparent;
-fx-background-color: -bs-color-background-form-field;
-fx-padding: 0.333333em 0.333333em 0.333333em 0.333333em;
-fx-padding: 9 9 9 9;
-fx-background-radius: 15;
-fx-border-radius: 15;
}
@ -577,6 +578,12 @@ tree-table-view:focused {
-fx-translate-x: -0.333333em;
}
.text-area .viewport {
-fx-background-color: transparent;
-fx-background-radius: 15;
-fx-border-radius: 15;
}
.wallet-seed-words {
-fx-font-family: "IBM Plex Mono";
}

View file

@ -88,6 +88,7 @@ public class VerifyDisputeResultSignatureWindow extends Overlay<VerifyDisputeRes
addMultilineLabel(gridPane, ++rowIndex, Res.get("support.sigCheck.popup.info"), 0, width);
textArea = addTopLabelTextArea(gridPane, ++rowIndex, Res.get("support.sigCheck.popup.msg.label"),
Res.get("support.sigCheck.popup.msg.prompt")).second;
textArea.getStyleClass().add("input-with-border");
resultTextField = addTopLabelTextField(gridPane, ++rowIndex, Res.get("support.sigCheck.popup.result")).second;
}
}

View file

@ -204,6 +204,7 @@ public class ChatView extends AnchorPane {
inputTextArea = new HavenoTextArea();
inputTextArea.setPrefHeight(70);
inputTextArea.setWrapText(true);
inputTextArea.getStyleClass().add("input-with-border");
if (!supportSession.isDisputeAgent()) {
inputTextArea.setPromptText(Res.get("support.input.prompt"));

View file

@ -239,7 +239,6 @@
.jfx-combo-box, .jfx-combo-box > .list-cell {
-fx-prompt-text-fill: -bs-color-gray-6;
-fx-text-fill: -bs-color-gray-12;
-fx-border-width: 1;
}
.jfx-text-area:readonly, .jfx-text-field:readonly,