popups with inputs have darker color in light mode

This commit is contained in:
woodser 2025-05-30 12:01:27 -04:00
parent 20c350ad71
commit ba5b920ea4
No known key found for this signature in database
GPG key ID: 55A10DD48ADEE5EF
8 changed files with 19 additions and 10 deletions

View file

@ -1422,15 +1422,15 @@ textfield */
}
.text-area-popup {
-fx-border-color: -bs-color-background-popup-overlay;
-fx-border-color: -bs-color-background-popup-blur;
}
.text-area-popup .content {
-fx-background-color: -bs-color-background-popup-overlay;
-fx-background-color: -bs-color-background-popup-blur;
}
.text-area-popup:focused {
-fx-faint-focus-color: -bs-color-background-popup-overlay;
-fx-faint-focus-color: -bs-color-background-popup-blur;
}
.notification-popup-bg .text-area-popup, .peer-info-popup-bg .text-area-popup {
@ -1970,7 +1970,7 @@ textfield */
* *
******************************************************************************/
.grid-pane {
-fx-background-color: -bs-color-background-popup-overlay;
-fx-background-color: -bs-color-background-popup-blur;
-fx-background-insets: 10;
-fx-background-radius: 15;
-fx-border-radius: 15;
@ -2270,7 +2270,7 @@ textfield */
.popup-bg {
-fx-font-size: 1.077em;
-fx-background-color: -bs-color-background-popup-overlay;
-fx-background-color: -bs-color-background-popup-blur;
-fx-background-insets: 44;
-fx-background-radius: 15;
-fx-border-radius: 15;
@ -2289,7 +2289,7 @@ textfield */
.popup-bg-top {
-fx-font-size: 1.077em;
-fx-text-fill: -bs-rd-font-dark;
-fx-background-color: -bs-color-background-popup-overlay;
-fx-background-color: -bs-color-background-popup-blur;
-fx-background-insets: 44;
-fx-background-radius: 0 0 15px 15px;
}
@ -2673,3 +2673,7 @@ textfield */
-fx-font-family: "IBM Plex Sans";
-fx-font-weight: normal;
}
.popup-with-input {
-fx-background-color: -bs-color-background-popup-input;
}

View file

@ -188,7 +188,7 @@ public class DisputeSummaryWindow extends Overlay<DisputeSummaryWindow> {
protected void createGridPane() {
super.createGridPane();
gridPane.setPadding(new Insets(35, 40, 30, 40));
gridPane.getStyleClass().add("grid-pane");
gridPane.getStyleClass().addAll("grid-pane", "popup-with-input");
gridPane.getColumnConstraints().get(0).setHalignment(HPos.LEFT);
gridPane.setPrefWidth(width);
}

View file

@ -113,7 +113,7 @@ public class SignPaymentAccountsWindow extends Overlay<SignPaymentAccountsWindow
// We want to have more space to read list entries... initial screen does not look so nice now, but
// dynamically updating height of window is a bit tricky.... @christoph feel free to improve if you like...
gridPane.setPrefHeight(600);
gridPane.getStyleClass().add("popup-with-input");
gridPane.getColumnConstraints().get(1).setHgrow(Priority.NEVER);
headLine(Res.get("popup.accountSigning.selectAccounts.headline"));

View file

@ -67,6 +67,7 @@ public class SignSpecificWitnessWindow extends Overlay<SignSpecificWitnessWindow
gridPane.setPrefHeight(600);
gridPane.getColumnConstraints().get(1).setHgrow(Priority.NEVER);
gridPane.getStyleClass().add("popup-with-input");
headLine(Res.get("popup.accountSigning.singleAccountSelect.headline"));
type = Type.Attention;

View file

@ -92,6 +92,7 @@ public class SignUnsignedPubKeysWindow extends Overlay<SignUnsignedPubKeysWindow
gridPane.setPrefHeight(600);
gridPane.getColumnConstraints().get(1).setHgrow(Priority.NEVER);
gridPane.getStyleClass().add("popup-with-input");
headLine(Res.get("popup.accountSigning.singleAccountSelect.headline"));
type = Type.Attention;

View file

@ -77,6 +77,7 @@ public class VerifyDisputeResultSignatureWindow extends Overlay<VerifyDisputeRes
gridPane.setVgap(5);
gridPane.setPadding(new Insets(64, 64, 64, 64));
gridPane.setPrefWidth(width);
gridPane.getStyleClass().add("popup-with-input");
ColumnConstraints columnConstraints1 = new ColumnConstraints();
columnConstraints1.setHalignment(HPos.RIGHT);

View file

@ -45,7 +45,8 @@
-bs-color-gray-fafa: #0a0a0a;
-bs-color-gray-background: black;
-bs-color-background-popup: rgb(38, 38, 38);
-bs-color-background-popup-overlay: rgb(9, 9, 9);
-bs-color-background-popup-blur: rgb(9, 9, 9);
-bs-color-background-popup-input: rgb(9, 9, 9);
-bs-color-background-form-field: rgb(26, 26, 26);
-bs-color-background-form-field-readonly: rgb(18, 18, 18);
-bs-color-border-form-field: rgb(65, 65, 65);

View file

@ -115,7 +115,8 @@
-bs-color-background-row-odd: derive(-bs-color-background-pane, -6%);
-bs-color-table-cell-dim: -bs-color-gray-ccc;
-bs-color-background-popup: white;
-bs-color-background-popup-overlay: white;
-bs-color-background-popup-blur: white;
-bs-color-background-popup-input: -bs-color-gray-background;
-bs-color-background-form-field: white;
-bs-text-color-dim1: black;
-bs-text-color-dim2: black;