From aebcf3729f07b180fe830f19fcd1ce074e0b6ffe Mon Sep 17 00:00:00 2001 From: natsoni Date: Mon, 16 Mar 2026 18:14:50 +0100 Subject: [PATCH] bootstrap 5: last fixes --- .../calculator/calculator.component.html | 14 ++++----- .../calculator/calculator.component.scss | 31 +++++++++++++++++++ .../rbf-list/rbf-list.component.html | 4 +-- .../statistics/statistics.component.html | 2 +- .../closing-type/closing-type.component.html | 2 +- .../testnet-alert.component.html | 6 ++-- .../testnet-alert.component.scss | 23 ++++++-------- 7 files changed, 53 insertions(+), 29 deletions(-) diff --git a/frontend/src/app/components/calculator/calculator.component.html b/frontend/src/app/components/calculator/calculator.component.html index 3991b17d8..fd939db86 100644 --- a/frontend/src/app/components/calculator/calculator.component.html +++ b/frontend/src/app/components/calculator/calculator.component.html @@ -5,8 +5,8 @@ -
-
+
+
-
-
+
+
{{ currency$ | async }} @@ -54,7 +54,7 @@
-
+
@@ -62,13 +62,13 @@
-
+
-
+
@if (todaySelected) { Fiat price last updated : {{ priceData.value | fiatCurrency : '1.0-0' : (currency$ | async) }} diff --git a/frontend/src/app/components/calculator/calculator.component.scss b/frontend/src/app/components/calculator/calculator.component.scss index 4c500b187..6124e67d8 100644 --- a/frontend/src/app/components/calculator/calculator.component.scss +++ b/frontend/src/app/components/calculator/calculator.component.scss @@ -33,4 +33,35 @@ pointer-events: none; background-color: var(--secondary); opacity: 0.75; +} + +.calculator-date-group { + width: 172px; +} + +.calculator-form { + width: 100%; + max-width: 373px; +} + +.calculator-row > * { + padding-left: 0; + padding-right: 0; +} + +.calculator-inline-row > * { + flex: 0 0 auto; + width: auto; + max-width: 100%; + padding-left: 0; + padding-right: 0; +} + +:host ::ng-deep ngb-datepicker .ngb-dp-weekday { + color: #fff; +} + +:host ::ng-deep ngb-datepicker .ngb-dp-weekdays, +:host ::ng-deep ngb-datepicker .ngb-dp-header { + background-color: var(--bg) !important; } \ No newline at end of file diff --git a/frontend/src/app/components/rbf-list/rbf-list.component.html b/frontend/src/app/components/rbf-list/rbf-list.component.html index aace247ad..d1b018be7 100644 --- a/frontend/src/app/components/rbf-list/rbf-list.component.html +++ b/frontend/src/app/components/rbf-list/rbf-list.component.html @@ -6,9 +6,9 @@
+ All + Full RBF
diff --git a/frontend/src/app/components/statistics/statistics.component.html b/frontend/src/app/components/statistics/statistics.component.html index 44360777e..e4898f216 100644 --- a/frontend/src/app/components/statistics/statistics.component.html +++ b/frontend/src/app/components/statistics/statistics.component.html @@ -27,7 +27,7 @@ - +
diff --git a/frontend/src/app/lightning/channel/closing-type/closing-type.component.html b/frontend/src/app/lightning/channel/closing-type/closing-type.component.html index 8b8f84863..4db4af374 100644 --- a/frontend/src/app/lightning/channel/closing-type/closing-type.component.html +++ b/frontend/src/app/lightning/channel/closing-type/closing-type.component.html @@ -1 +1 @@ -{{ label.label }} \ No newline at end of file +{{ label.label }} \ No newline at end of file diff --git a/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.html b/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.html index 7e87e312b..93afb9701 100644 --- a/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.html +++ b/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.html @@ -1,13 +1,11 @@
-
+
diff --git a/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.scss b/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.scss index 3042d8305..d7986ac84 100644 --- a/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.scss +++ b/frontend/src/app/shared/components/testnet-alert/testnet-alert.component.scss @@ -7,27 +7,22 @@ display: flex; justify-content: center; - align-items: flex-start; + align-items: center; + position: relative; } .message-container { display: flex; flex-direction: column; - margin-left: auto; + margin: 0 auto; } -.close { - display: flex; - color: #fff; - align-items: center; +.btn-close { + top: 50%; + transform: translateY(-50%); } -button { - display: flex; - margin-left: auto; -} - -span { - position: relative; - top: -2px; +.btn-close:hover, +.btn-close:focus { + opacity: 1; } \ No newline at end of file