File tree Expand file tree Collapse file tree 4 files changed +72
-26
lines changed Expand file tree Collapse file tree 4 files changed +72
-26
lines changed Original file line number Diff line number Diff line change 33
33
</ mat-error >
34
34
</ mat-form-field >
35
35
36
- < mat-checkbox *ngIf ="enableRememberMe " formControlName ="remember " class ="m-t-10 flex-align-center "> {{
37
- 'labels.inputs.Remember me' | translate
38
- }}</ mat-checkbox >
39
-
40
36
< mat-progress-bar *ngIf ="loading " mode ="indeterminate "> </ mat-progress-bar >
41
37
42
- < button mat-raised-button color ="primary " class ="login-button flex-align-center " [disabled] ="!loginForm.valid ">
38
+ < button
39
+ mat-raised-button
40
+ color ="primary "
41
+ class ="login-button-first flex-align-center "
42
+ [disabled] ="!loginForm.valid "
43
+ >
43
44
{{ 'labels.buttons.Login' | translate }}
44
45
< mat-spinner [diameter] ="20 " *ngIf ="loading "> </ mat-spinner >
45
46
</ button >
Original file line number Diff line number Diff line change 1
1
#login-form {
2
2
.login-input {
3
3
width : 14rem ;
4
- margin-bottom : 0.6 rem ;
4
+ margin-bottom : 0.1 rem ;
5
5
}
6
6
7
- .login-button {
7
+ [matPrefix ] fa-icon {
8
+ font-size : 16px ;
9
+ position : absolute ;
10
+ top : 50% ;
11
+ left : 190px ;
12
+ transform : translateY (-50% );
13
+ }
14
+
15
+ .login-button-first {
8
16
width : 14rem ;
9
- margin-top : 1rem ;
17
+ margin-top : 0.8rem ;
18
+ background-color : #1976d2 ;
19
+ color : white ;
20
+ border-radius : 8px ;
21
+ margin-bottom : 0.5rem ;
10
22
}
11
23
12
24
mat-spinner {
22
34
.container-margin {
23
35
margin-top : 8rem ;
24
36
margin-bottom : 8rem ;
37
+ border-radius : 50px ;
38
+ border : solid 1px black ;
25
39
}
Original file line number Diff line number Diff line change @@ -51,22 +51,26 @@ <h1 class="mat-display-1 cover-title">{{ 'APP_NAME' | translate }}</h1>
51
51
< img src ="assets/images/mifos_lg-logo.png " alt ="{{ 'APP_NAME' | translate }} Logo " class ="img-container " />
52
52
</ div >
53
53
54
- <!-- Tenant Identifier Name -->
55
- < mifosx-tenant-selector *ngIf ="displayTenantSelector() "> </ mifosx-tenant-selector >
54
+ <!-- Form Section -->
55
+ < div class ="layout-column align-center-center ">
56
+ <!-- Tenant Identifier Name -->
57
+ < mifosx-tenant-selector *ngIf ="displayTenantSelector() "> </ mifosx-tenant-selector >
56
58
57
- <!--
58
- Type of Form:
59
- Login
60
- Reset Password
61
- Two Factor Authentication
62
- Forgot Password (TODO: Decision to be taken on providing this feature.)
63
- -->
64
- < mifosx-login-form *ngIf ="!resetPassword && !twoFactorAuthenticationRequired "> </ mifosx-login-form >
59
+ <!--
60
+ Type of Form:
61
+ Login
62
+ Reset Password
63
+ Two Factor Authentication
64
+ Forgot Password (TODO: Decision to be taken on providing this feature.)
65
+ -->
66
+ < mifosx-login-form *ngIf ="!resetPassword && !twoFactorAuthenticationRequired "> </ mifosx-login-form >
65
67
66
- < div class ="layout-row ">
67
- < mifosx-reset-password *ngIf ="resetPassword "> </ mifosx-reset-password >
68
- < mifosx-two-factor-authentication *ngIf ="twoFactorAuthenticationRequired "> </ mifosx-two-factor-authentication >
68
+ < div class ="layout-row ">
69
+ < mifosx-reset-password *ngIf ="resetPassword "> </ mifosx-reset-password >
70
+ < mifosx-two-factor-authentication *ngIf ="twoFactorAuthenticationRequired "> </ mifosx-two-factor-authentication >
71
+ </ div >
69
72
</ div >
73
+
70
74
< div class ="layout-row ">
71
75
<!-- Contact Information/Resources (hidden on smaller screens) -->
72
76
< mat-list class ="information-list align-items-center custom-horizontal-list hide-lt-lg ">
Original file line number Diff line number Diff line change @@ -3,6 +3,34 @@ mifosx-server-selector {
3
3
width : 40% ;
4
4
}
5
5
6
+ .mat-mdc-form-field-infix {
7
+ width : 144px !important ;
8
+ }
9
+
10
+ mifosx-tenant-selector {
11
+ border-radius : 8px ;
12
+ width : 14rem ;
13
+ margin-bottom : 0.1rem ;
14
+
15
+ ::ng- deep .mat- mdc- form- field {
16
+ width : 14rem ;
17
+ }
18
+
19
+ ::ng-deep .mat-mdc-form-field-infix {
20
+ width : 144px !important ;
21
+ border-radius : 8px ;
22
+ }
23
+
24
+ ::ng-deep [matPrefix ] fa-icon {
25
+ font-size : 16px ;
26
+ position : absolute ;
27
+ left : 190px ;
28
+ border-radius : 8px ;
29
+ top : 50% ;
30
+ transform : translateY (-50% );
31
+ }
32
+ }
33
+
6
34
.cover {
7
35
background : url (' ../../assets/images/cover_image_resized.webp' ) no-repeat center center ;
8
36
background-size : cover ;
@@ -60,9 +88,12 @@ mifosx-server-selector {
60
88
height : 100vh ;
61
89
width : 100% ;
62
90
min-width : 21.5rem ;
91
+ padding : 0.5rem 1rem ;
63
92
64
93
.img-container {
65
94
max-width : 18rem ;
95
+ margin-bottom : 2rem ;
96
+ gap : 20px ;
66
97
}
67
98
}
68
99
@@ -77,7 +108,7 @@ mifosx-server-selector {
77
108
flex-direction : row !important ;
78
109
justify-content : center ;
79
110
align-items : center ;
80
- gap : 1.5rem ; // space between items
111
+ gap : 1.5rem ;
81
112
82
113
mat-list-item {
83
114
width : auto !important ;
@@ -90,10 +121,6 @@ mifosx-server-selector {
90
121
}
91
122
}
92
123
93
- .mat-mdc-form-field-infix {
94
- width : 144px !important ;
95
- }
96
-
97
124
.p-t-10 {
98
125
padding-top : 0 ;
99
126
}
You can’t perform that action at this time.
0 commit comments