fix(css)-make-account-transfers (#2703)
This commit is contained in:
-16
@@ -214,21 +214,5 @@
|
|||||||
[balance]="balance"
|
[balance]="balance"
|
||||||
></mifosx-make-account-interbank-transfers>
|
></mifosx-make-account-interbank-transfers>
|
||||||
</mat-card-content>
|
</mat-card-content>
|
||||||
|
|
||||||
<mat-card-actions *ngIf="!interbankTransferForm" class="action-buttons">
|
|
||||||
<button type="button" mat-raised-button [routerLink]="['../..']" class="cancel-button">
|
|
||||||
{{ 'labels.buttons.Cancel' | translate }}
|
|
||||||
</button>
|
|
||||||
<button
|
|
||||||
mat-raised-button
|
|
||||||
color="primary"
|
|
||||||
[disabled]="!makeAccountTransferForm.valid"
|
|
||||||
*mifosxHasPermission="'CREATE_ACCOUNTTRANSFER'"
|
|
||||||
(click)="submit()"
|
|
||||||
class="primary-button"
|
|
||||||
>
|
|
||||||
{{ 'labels.buttons.Submit' | translate }}
|
|
||||||
</button>
|
|
||||||
</mat-card-actions>
|
|
||||||
</mat-card>
|
</mat-card>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
+43
-8
@@ -4,7 +4,11 @@
|
|||||||
padding: 1rem;
|
padding: 1rem;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Card styling
|
#search-button {
|
||||||
|
background-color: #1074b9;
|
||||||
|
color: white;
|
||||||
|
}
|
||||||
|
|
||||||
.transfer-card {
|
.transfer-card {
|
||||||
border-radius: 8px;
|
border-radius: 8px;
|
||||||
box-shadow: 0 2px 10px rgb(0 0 0 / 8%);
|
box-shadow: 0 2px 10px rgb(0 0 0 / 8%);
|
||||||
@@ -22,8 +26,7 @@
|
|||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #333;
|
color: #333;
|
||||||
margin: 0 0 1rem;
|
margin: 0 0 1rem;
|
||||||
padding-bottom: 0.5rem;
|
padding-bottom: 0;
|
||||||
border-bottom: 1px solid rgb(0 0 0 / 12%);
|
|
||||||
|
|
||||||
&.transfer-heading {
|
&.transfer-heading {
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
@@ -46,7 +49,9 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
background-color: rgb(0 0 0 / 2%);
|
background-color: rgb(0 0 0 / 2%);
|
||||||
border-radius: 4px;
|
box-shadow: 0 0.5px 1px rgb(0 0 0 / 10%);
|
||||||
|
border: 1px solid var(--border-color, #ddd);
|
||||||
|
border-radius: 8px;
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
background-color: rgb(0 0 0 / 4%);
|
background-color: rgb(0 0 0 / 4%);
|
||||||
@@ -100,13 +105,14 @@ mat-divider {
|
|||||||
// Button styling
|
// Button styling
|
||||||
.action-buttons {
|
.action-buttons {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-end;
|
justify-content: center;
|
||||||
gap: 1rem;
|
gap: 1rem;
|
||||||
padding: 1rem 1.5rem;
|
padding: 1rem 1.5rem;
|
||||||
margin-top: 1rem;
|
margin-top: 0;
|
||||||
|
|
||||||
@media (width <= 576px) {
|
@media (width <= 576px) {
|
||||||
flex-direction: column;
|
flex-direction: column;
|
||||||
|
align-items: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
button {
|
button {
|
||||||
@@ -114,6 +120,7 @@ mat-divider {
|
|||||||
|
|
||||||
@media (width <= 576px) {
|
@media (width <= 576px) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
max-width: 300px;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -179,12 +186,16 @@ mat-divider {
|
|||||||
// Dark theme
|
// Dark theme
|
||||||
// Lower specificity selectors first
|
// Lower specificity selectors first
|
||||||
.dark-theme {
|
.dark-theme {
|
||||||
|
.info-row {
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
.info-label {
|
.info-label {
|
||||||
color: rgb(255 255 255 / 70%);
|
color: rgb(255 255 255 / 70%) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.info-value {
|
.info-value {
|
||||||
color: rgb(255 255 255 / 87%);
|
color: rgb(255 255 255 / 87%) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
@@ -222,6 +233,18 @@ mat-divider {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Higher specificity selectors
|
// Higher specificity selectors
|
||||||
|
:host-context(.dark-theme) .info-row {
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context(.dark-theme) .info-label {
|
||||||
|
color: rgb(255 255 255 / 70%) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
:host-context(.dark-theme) .info-value {
|
||||||
|
color: rgb(255 255 255 / 87%) !important;
|
||||||
|
}
|
||||||
|
|
||||||
:host-context(.dark-theme) .transfer-heading {
|
:host-context(.dark-theme) .transfer-heading {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
@@ -243,6 +266,18 @@ mat-divider {
|
|||||||
// Medium specificity selectors
|
// Medium specificity selectors
|
||||||
body.dark-theme {
|
body.dark-theme {
|
||||||
.container {
|
.container {
|
||||||
|
.info-row {
|
||||||
|
color: #fff !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.info-label {
|
||||||
|
color: rgb(255 255 255 / 70%) !important;
|
||||||
|
}
|
||||||
|
|
||||||
|
.info-value {
|
||||||
|
color: rgb(255 255 255 / 87%) !important;
|
||||||
|
}
|
||||||
|
|
||||||
.section-title {
|
.section-title {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user