mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-19 09:52:23 +01:00
Merge pull request #1469 from ripcurlx/fix-css-issues-in-messages
Fix style issues in support messages
This commit is contained in:
commit
0df3cccc02
@ -131,7 +131,7 @@ bg color of non edit textFields: fafafa
|
||||
-fx-text-fill: -bs-green;
|
||||
}
|
||||
|
||||
.highlight {
|
||||
.highlight, .highlight-static {
|
||||
-fx-text-fill: -fx-accent;
|
||||
}
|
||||
|
||||
|
@ -797,13 +797,19 @@ public class TraderDisputeView extends ActivatableView<VBox, Void> {
|
||||
arrow.setVisible(!item.isSystemMessage());
|
||||
arrow.setManaged(!item.isSystemMessage());
|
||||
statusIcon.setVisible(false);
|
||||
|
||||
headerLabel.getStyleClass().removeAll("message-header", "success-text",
|
||||
"highlight-static");
|
||||
messageLabel.getStyleClass().removeAll("my-message", "message");
|
||||
copyIcon.getStyleClass().removeAll("my-message", "message");
|
||||
|
||||
if (item.isSystemMessage()) {
|
||||
headerLabel.getStyleClass().addAll("message-header", "success-text");
|
||||
bg.setId("message-bubble-green");
|
||||
messageLabel.getStyleClass().add("my-message");
|
||||
copyIcon.getStyleClass().add("my-message");
|
||||
} else if (isMyMsg) {
|
||||
headerLabel.getStyleClass().add("highlight");
|
||||
headerLabel.getStyleClass().add("highlight-static");
|
||||
bg.setId("message-bubble-blue");
|
||||
messageLabel.getStyleClass().add("my-message");
|
||||
copyIcon.getStyleClass().add("my-message");
|
||||
|
Loading…
Reference in New Issue
Block a user