mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-09 08:19:25 -04:00
make popups lighter
This commit is contained in:
parent
c9512bd7ae
commit
52f3c0c8f3
4 changed files with 11 additions and 10 deletions
|
@ -1352,18 +1352,18 @@ textfield */
|
|||
-fx-border-color: -bs-background-gray;
|
||||
}
|
||||
|
||||
.text-area-no-border {
|
||||
-fx-border-color: -bs-color-background-form-field;
|
||||
.text-area-popup {
|
||||
-fx-border-color: -bs-color-background-popup;
|
||||
}
|
||||
|
||||
.text-area-no-border .content {
|
||||
-fx-background-color: -bs-color-background-form-field;
|
||||
.text-area-popup .content {
|
||||
-fx-background-color: -bs-color-background-popup;
|
||||
}
|
||||
|
||||
.text-area-no-border:focused {
|
||||
.text-area-popup:focused {
|
||||
-fx-focus-color: transparent;
|
||||
-fx-unfocus-color: transparent;
|
||||
-fx-faint-focus-color: -bs-color-background-form-field;
|
||||
-fx-faint-focus-color: -bs-color-background-popup;
|
||||
}
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -2182,7 +2182,7 @@ textfield */
|
|||
.popup-bg, .notification-popup-bg, .peer-info-popup-bg {
|
||||
-fx-font-size: 1.077em;
|
||||
-fx-text-fill: -bs-rd-font-dark;
|
||||
-fx-background-color: -bs-color-background-form-field;
|
||||
-fx-background-color: -bs-color-background-popup;
|
||||
-fx-background-insets: 44;
|
||||
-fx-effect: dropshadow(gaussian, -bs-text-color-transparent-dark, 44, 0, 0, 0);
|
||||
-fx-background-radius: 15;
|
||||
|
@ -2192,7 +2192,7 @@ textfield */
|
|||
.popup-bg-top {
|
||||
-fx-font-size: 1.077em;
|
||||
-fx-text-fill: -bs-rd-font-dark;
|
||||
-fx-background-color: -bs-color-background-form-field;
|
||||
-fx-background-color: -bs-color-background-popup;
|
||||
-fx-background-insets: 44;
|
||||
-fx-effect: dropshadow(gaussian, -bs-text-color-transparent-dark, 44, 0, 0, 0);
|
||||
-fx-background-radius: 0 0 15px 15px;
|
||||
|
|
|
@ -852,7 +852,7 @@ public abstract class Overlay<T extends Overlay<T>> {
|
|||
if (message != null) {
|
||||
messageTextArea = new TextArea(truncatedMessage);
|
||||
messageTextArea.setEditable(false);
|
||||
messageTextArea.getStyleClass().add("text-area-no-border");
|
||||
messageTextArea.getStyleClass().add("text-area-popup");
|
||||
messageTextArea.sceneProperty().addListener((o, oldScene, newScene) -> {
|
||||
if (newScene != null) {
|
||||
// avoid javafx css warning
|
||||
|
|
|
@ -43,8 +43,8 @@
|
|||
-bs-color-gray-bbb: #5a5a5a;
|
||||
-bs-color-gray-aaa: #29292a;
|
||||
-bs-color-gray-fafa: #0a0a0a;
|
||||
-bs-color-gray-18: rgb(18, 18, 18);
|
||||
-bs-color-gray-background: black;
|
||||
-bs-color-background-popup: rgb(31, 31, 31);
|
||||
-bs-color-background-form-field: rgb(18, 18, 18);
|
||||
-bs-color-border-form-field: rgb(65, 65, 65);
|
||||
-bs-color-background-table-header: rgb(9, 9, 9);
|
||||
|
|
|
@ -114,6 +114,7 @@
|
|||
-bs-color-background-table-cell-even: derive(-bs-background-color, 5%);
|
||||
-bs-color-background-table-cell-odd: derive(-bs-background-color, -5%);
|
||||
-bs-color-table-cell-faded: -bs-color-gray-ccc;
|
||||
-bs-color-background-popup: white;
|
||||
-bs-color-background-form-field: white;
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue