WEB-659 feat: full-screen login form on tablet view without hero panel (#3081)

This commit is contained in:
Shubham Kumar
2026-02-03 11:26:55 -06:00
committed by GitHub
parent 75a489da51
commit 6ed46aa6ac
2 changed files with 52 additions and 27 deletions
+2 -2
View File
@@ -7,8 +7,8 @@
-->
<!-- Modern Material Design 3 Login Layout -->
<div class="login-wrapper">
<!-- Left Panel - Hero Section (Hidden on mobile) -->
<div class="hero-panel hide-lt-md" [class.production-mode]="productionMode">
<!-- Left Panel - Hero Section (Hidden on tablet and mobile) -->
<div class="hero-panel hide-lt-lg" [class.production-mode]="productionMode">
<div class="hero-overlay"></div>
<div class="hero-content">
<!-- Default Mode: Full content -->
+50 -25
View File
@@ -6,7 +6,8 @@
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
*/
// ===== Version Info Section - Modern Card Style =====
// ===
/// ===== Version Info Section - Modern Card Style =====
.login-version-info {
margin-bottom: 1rem;
width: 100%;
@@ -690,37 +691,61 @@
/* stylelint-disable-next-line media-feature-range-notation -- Safari compatibility */
@media (max-width: 1024px) {
.hero-panel {
flex: 0 0 45%;
display: none;
}
.hero-title {
font-size: 2.75rem;
}
.login-wrapper {
min-height: 100vh;
height: 100%;
}
.hero-subtitle {
font-size: 1.1rem;
}
.login-panel {
flex: 1;
width: 100%;
min-height: 100vh;
display: flex;
flex-direction: column;
}
.hero-content {
padding: 3rem 2rem;
}
.login-header {
flex-shrink: 0;
}
mifosx-footer {
padding-top: 1.5rem;
::ng-deep .footer-compact {
.footer-info {
font-size: 0.7rem;
}
.footer-copyright {
font-size: 0.8rem;
}
}
}
.login-card-container {
flex: 1;
display: flex;
flex-direction: column;
padding: 0;
width: 100%;
height: 100%;
}
.login-card {
padding: 1.5rem 1rem;
flex: 1;
width: 100%;
max-width: 100%;
border-radius: 0;
padding: 1.5rem 2rem;
margin: 0;
display: flex;
flex-direction: column;
justify-content: center;
}
.logo-section {
flex-shrink: 0;
}
.form-section {
flex-shrink: 0;
}
.login-version-info {
margin-top: auto;
}
.login-footer {
flex-shrink: 0;
}
// Hide resources section on medium screens