193 lines
4.7 KiB
CSS
193 lines
4.7 KiB
CSS
/* Container: Full Screen Split */
|
|
.o_login_main_wrapper {
|
|
display: flex !important;
|
|
height: 100vh !important;
|
|
width: 100vw !important;
|
|
overflow: hidden;
|
|
background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
|
|
url('/home_dashboard/static/src/img/login_bg.png') no-repeat center center !important;
|
|
background-size: cover !important;
|
|
}
|
|
|
|
/* Left Side: Background Image and Branding */
|
|
.o_login_left_side {
|
|
flex: 1.2 !important;
|
|
display: flex !important;
|
|
align-items: center !important;
|
|
justify-content: center !important;
|
|
padding: 60px !important;
|
|
position: relative;
|
|
/* Dark overlay on image for text readability */
|
|
/* background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
|
|
url('/home_dashboard/static/src/img/login_bg.png') no-repeat center center !important;
|
|
background-size: cover !important; */
|
|
color: white !important;
|
|
}
|
|
|
|
.o_login_content {
|
|
text-align: center;
|
|
max-width: 80%;
|
|
}
|
|
|
|
.o_login_content h1 {
|
|
font-size: 3.8rem !important;
|
|
font-weight: 800 !important;
|
|
margin-bottom: 20px;
|
|
text-shadow: 2px 4px 15px rgba(0, 0, 0, 0.6) !important;
|
|
}
|
|
|
|
.o_login_content p {
|
|
font-size: 1.4rem !important;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
/* Right Side: Form Section */
|
|
.o_login_right_side {
|
|
flex: 1.2 !important;
|
|
/* background: #ffffff !important; */
|
|
display: flex !important;
|
|
justify-content: center !important;
|
|
align-items: center !important;
|
|
padding: 40px !important;
|
|
position: relative;
|
|
}
|
|
|
|
.o_login_card_wrapper {
|
|
width: 60%
|
|
}
|
|
|
|
/* Floating Card UI */
|
|
.o_login_card {
|
|
width: 100% !important;
|
|
max-width: 600px !important;
|
|
padding: 40px !important;
|
|
background: #ffffff !important;
|
|
border-radius: 25px !important;
|
|
box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1) !important;
|
|
border: 1px solid #f1f1f1 !important;
|
|
z-index: 2;
|
|
}
|
|
|
|
/* Header Text Gradient */
|
|
.o_login_header_text h3 {
|
|
font-size: 2rem !important;
|
|
font-weight: 800 !important;
|
|
margin-bottom: 10px;
|
|
background: -webkit-linear-gradient(#2bb1a5, #fecd4f);
|
|
-webkit-background-clip: text;
|
|
-webkit-text-fill-color: transparent;
|
|
}
|
|
|
|
/* Logo */
|
|
.o_login_logo_container {
|
|
text-align: center;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.o_login_logo_container img {
|
|
max-height: 80px;
|
|
width: auto;
|
|
}
|
|
|
|
/* Form Inputs */
|
|
.form-control {
|
|
background: #f9f9f9 !important;
|
|
border: 1px solid #edeef0 !important;
|
|
border-radius: 12px !important;
|
|
padding: 12px 15px !important;
|
|
height: auto !important;
|
|
}
|
|
|
|
.form-control:focus {
|
|
border-color: #2bb1a5 !important;
|
|
box-shadow: 0 0 0 3px rgba(43, 177, 165, 0.1) !important;
|
|
}
|
|
|
|
/* Login Button with Gradient */
|
|
.oe_login_buttons .btn-primary {
|
|
background: linear-gradient(135deg, #2bb1a5 0%, #fecd4f 100%) !important;
|
|
border: none !important;
|
|
border-radius: 12px !important;
|
|
padding: 14px !important;
|
|
font-weight: 700 !important;
|
|
font-size: 1rem !important;
|
|
color: white !important;
|
|
width: 100% !important;
|
|
transition: all 0.3s ease !important;
|
|
box-shadow: 0 4px 15px rgba(43, 177, 165, 0.3) !important;
|
|
}
|
|
|
|
.oe_login_buttons .btn-primary:hover {
|
|
transform: translateY(-2px);
|
|
box-shadow: 0 8px 20px rgba(43, 177, 165, 0.4) !important;
|
|
}
|
|
|
|
|
|
/* Responsive Handling */
|
|
@media (max-width: 992px) {
|
|
.o_login_main_wrapper {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.o_login_left_side {
|
|
display: none !important;
|
|
}
|
|
|
|
.o_login_right_side {
|
|
background: linear-gradient(135deg, #fecd4f 0%, #2bb1a5 100%) !important;
|
|
}
|
|
}
|
|
|
|
/* Hide Website Header/Footer to ensure standard "Backend-Style" Login UI */
|
|
body.o_custom_login_body header,
|
|
body.o_custom_login_body footer,
|
|
body.o_custom_login_body .o_footer_copyright,
|
|
body.o_custom_login_body #o_main_nav {
|
|
display: none !important;
|
|
}
|
|
|
|
/* Ensure the wrapper covers the entire screen, ignoring website container constraints */
|
|
body.o_custom_login_body .o_login_main_wrapper {
|
|
position: fixed !important;
|
|
top: 0;
|
|
left: 0;
|
|
width: 100vw !important;
|
|
height: 100vh !important;
|
|
z-index: 9999;
|
|
/* Ensure it stays on top */
|
|
margin: 0 !important;
|
|
padding: 0 !important;
|
|
}
|
|
|
|
/* Custom Footer */
|
|
.o_login_footer_custom {
|
|
position: absolute;
|
|
bottom: 0;
|
|
right: 0;
|
|
width: 50%;
|
|
/* Only on the right side which is 50% usually, or just right side */
|
|
text-align: center;
|
|
padding: 15px;
|
|
background: transparent;
|
|
color: #6c757d;
|
|
z-index: 10;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.o_login_footer_custom {
|
|
width: 100%;
|
|
color: white;
|
|
/* Visible on gradient background */
|
|
}
|
|
}
|
|
|
|
.o_login_footer_custom a {
|
|
color: #2bb1a5;
|
|
text-decoration: none;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.o_login_footer_custom a:hover {
|
|
color: #fecd4f;
|
|
} |