mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-26 16:35:18 -04:00
fix styling of text areas
This commit is contained in:
parent
fda77b764a
commit
e9351e0301
4 changed files with 10 additions and 2 deletions
|
@ -455,6 +455,7 @@ tree-table-view:focused {
|
||||||
}
|
}
|
||||||
|
|
||||||
.input-with-border {
|
.input-with-border {
|
||||||
|
-fx-border-width: 1;
|
||||||
-fx-border-color: -bs-color-border-form-field;
|
-fx-border-color: -bs-color-border-form-field;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -564,7 +565,7 @@ tree-table-view:focused {
|
||||||
-jfx-focus-color: transparent;
|
-jfx-focus-color: transparent;
|
||||||
-jfx-unfocus-color: transparent;
|
-jfx-unfocus-color: transparent;
|
||||||
-fx-background-color: -bs-color-background-form-field;
|
-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-background-radius: 15;
|
||||||
-fx-border-radius: 15;
|
-fx-border-radius: 15;
|
||||||
}
|
}
|
||||||
|
@ -577,6 +578,12 @@ tree-table-view:focused {
|
||||||
-fx-translate-x: -0.333333em;
|
-fx-translate-x: -0.333333em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.text-area .viewport {
|
||||||
|
-fx-background-color: transparent;
|
||||||
|
-fx-background-radius: 15;
|
||||||
|
-fx-border-radius: 15;
|
||||||
|
}
|
||||||
|
|
||||||
.wallet-seed-words {
|
.wallet-seed-words {
|
||||||
-fx-font-family: "IBM Plex Mono";
|
-fx-font-family: "IBM Plex Mono";
|
||||||
}
|
}
|
||||||
|
|
|
@ -88,6 +88,7 @@ public class VerifyDisputeResultSignatureWindow extends Overlay<VerifyDisputeRes
|
||||||
addMultilineLabel(gridPane, ++rowIndex, Res.get("support.sigCheck.popup.info"), 0, width);
|
addMultilineLabel(gridPane, ++rowIndex, Res.get("support.sigCheck.popup.info"), 0, width);
|
||||||
textArea = addTopLabelTextArea(gridPane, ++rowIndex, Res.get("support.sigCheck.popup.msg.label"),
|
textArea = addTopLabelTextArea(gridPane, ++rowIndex, Res.get("support.sigCheck.popup.msg.label"),
|
||||||
Res.get("support.sigCheck.popup.msg.prompt")).second;
|
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;
|
resultTextField = addTopLabelTextField(gridPane, ++rowIndex, Res.get("support.sigCheck.popup.result")).second;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -204,6 +204,7 @@ public class ChatView extends AnchorPane {
|
||||||
inputTextArea = new HavenoTextArea();
|
inputTextArea = new HavenoTextArea();
|
||||||
inputTextArea.setPrefHeight(70);
|
inputTextArea.setPrefHeight(70);
|
||||||
inputTextArea.setWrapText(true);
|
inputTextArea.setWrapText(true);
|
||||||
|
inputTextArea.getStyleClass().add("input-with-border");
|
||||||
|
|
||||||
if (!supportSession.isDisputeAgent()) {
|
if (!supportSession.isDisputeAgent()) {
|
||||||
inputTextArea.setPromptText(Res.get("support.input.prompt"));
|
inputTextArea.setPromptText(Res.get("support.input.prompt"));
|
||||||
|
|
|
@ -239,7 +239,6 @@
|
||||||
.jfx-combo-box, .jfx-combo-box > .list-cell {
|
.jfx-combo-box, .jfx-combo-box > .list-cell {
|
||||||
-fx-prompt-text-fill: -bs-color-gray-6;
|
-fx-prompt-text-fill: -bs-color-gray-6;
|
||||||
-fx-text-fill: -bs-color-gray-12;
|
-fx-text-fill: -bs-color-gray-12;
|
||||||
-fx-border-width: 1;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.jfx-text-area:readonly, .jfx-text-field:readonly,
|
.jfx-text-area:readonly, .jfx-text-field:readonly,
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue