/* Cardioplus Lims — login styling (injected via nginx proxy) Style: modern split layout (left brand panel / right form panel) */ /* Header: hide version line for cleaner enterprise look */ .banner p { display: none !important; } .banner h5 { margin: 0 !important; line-height: 1.2; font-weight: 600; } /* Hide first grid (legal notice + duplicate SAHA logo) on all sizes */ .oe-loginPageCenter > .cds--css-grid:first-of-type { display: none !important; } /* Full-bleed white background on the body to remove any leftover color */ .oe-loginPageContent { background: #ffffff !important; padding: 0 !important; min-height: calc(100vh - 48px); position: relative; } @media (min-width: 900px) { /* === Left brand panel — uses same brand var as the header === */ .oe-loginPageContent::before { content: ""; position: fixed; top: 48px; bottom: 0; left: 0; width: 45vw; background: linear-gradient( 135deg, var(--site-branding-header, #3F67A6) 0%, color-mix(in srgb, var(--site-branding-header, #3F67A6) 65%, black) 100% ); z-index: 0; } /* Cardioplus logo overlaid on the left panel (white card on the gradient) */ .oe-loginPageContent::after { content: ""; position: fixed; top: 50%; left: 22.5vw; transform: translate(-50%, -50%); width: 28vw; max-width: 420px; height: 140px; background: #ffffff url("/images/cardioplus-logo.png") center/85% auto no-repeat; border-radius: 12px; box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35); z-index: 1; pointer-events: none; } /* === Right form panel === */ .oe-loginPageCenter { margin-left: 45vw !important; width: 55vw !important; min-height: calc(100vh - 48px); display: flex !important; align-items: center !important; justify-content: center !important; padding: 2rem 4rem !important; background: #ffffff; position: relative; z-index: 2; } /* Form container — no card (whole panel is the card) */ .oe-loginPageCenter > .cds--css-grid:nth-of-type(2) { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; padding: 0 !important; max-width: 420px; width: 100%; margin: 0 !important; display: flex !important; flex-direction: column !important; grid-template-columns: 1fr !important; gap: 0 !important; } /* Remove the previous "logo above fields" pseudo-element since logo is now in left panel */ .oe-loginPageCenter > .cds--css-grid:nth-of-type(2)::before { content: none !important; } /* Hide spacer columns inside form grid */ .oe-loginPageCenter > .cds--css-grid:nth-of-type(2) > .cds--lg\:col-span-16, .oe-loginPageCenter > .cds--css-grid:nth-of-type(2) > .cds--lg\:col-span-6, .oe-loginPageCenter > .cds--css-grid:nth-of-type(2) > .cds--lg\:col-span-0 { display: none !important; } /* Form column takes full width */ .oe-loginPageCenter > .cds--css-grid:nth-of-type(2) > .cds--lg\:col-span-4 { grid-column: 1 / -1 !important; max-width: 100% !important; width: 100% !important; padding: 0 !important; margin: 0 !important; } } /* === Buttons === */ /* Login button layout only — native OpenELIS colors are preserved */ [data-cy="loginButton"] { width: 100% !important; max-width: none !important; flex: 1 1 100% !important; justify-content: center !important; height: 48px !important; border-radius: 8px !important; font-weight: 600 !important; } /* Change password as a text link, keeping the native OpenELIS blue */ [data-cy="changePassword"] { background: transparent !important; color: #0F62FE !important; border: none !important; box-shadow: none !important; text-decoration: underline !important; padding: 0.5rem 0 !important; height: auto !important; min-height: 0 !important; width: auto !important; flex: 0 0 auto !important; font-size: 0.875rem !important; align-self: center !important; } [data-cy="changePassword"]:hover { color: #0043CE !important; background: transparent !important; } /* Stack the login/change-password buttons vertically */ .oe-loginPageCenter .cds--stack-horizontal { flex-direction: column !important; gap: 1rem !important; align-items: stretch !important; width: 100% !important; }