mirror of
https://github.com/xodivorce/xeorl.git
synced 2025-12-20 00:29:34 +05:30
v4.0.0
This commit is contained in:
349
htdocs/assets/css/_register.css
Normal file
349
htdocs/assets/css/_register.css
Normal file
@@ -0,0 +1,349 @@
|
||||
/* General Reset */
|
||||
* {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
:root {
|
||||
/* Color Variables */
|
||||
--background-color: #c1c2c4;
|
||||
--container-bg: #2E2A42;
|
||||
--input-color: #666178;
|
||||
--left-bg: #e3e3e7;
|
||||
--right-bg: #ffffff;
|
||||
--primary-color: #e3e3e7;
|
||||
--secondary-color: #858290;
|
||||
--trio-color: #387fff;
|
||||
--quadro-color: #677583;
|
||||
--hover-color: #b5b5b6da;
|
||||
--button-color: #4e4d4f;
|
||||
--button-bg: #e3e3e7;
|
||||
--input-field: #F8F8FD;
|
||||
--text-white: #171C24;
|
||||
--text-shadow: rgba(0, 0, 0, 0.7);
|
||||
--transparent-white: #b5b5b6da;
|
||||
|
||||
/* Font Variables */
|
||||
--main-font: "Mulish", sans-serif;
|
||||
--heading-font: "Mulish", sans-serif;
|
||||
--body-font: "Mulish", sans-serif;
|
||||
--button-font: "Mulish", sans-serif;
|
||||
|
||||
/* Font Sizes */
|
||||
--font-size-small: 12px;
|
||||
--font-size-medium: 14px;
|
||||
--font-size-large: 16px;
|
||||
--font-size-h2: 28px;
|
||||
--font-size-h2-large: 35px;
|
||||
|
||||
/* Font Weights */
|
||||
--font-weight-light: 100;
|
||||
--font-weight-regular: 350;
|
||||
--font-weight-bold: 350;
|
||||
}
|
||||
|
||||
body {
|
||||
font-family: var(--main-font);
|
||||
background-color: var(--background-color);
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
height: 100vh;
|
||||
padding: 0 20px;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/* Container Styling */
|
||||
.container {
|
||||
display: flex;
|
||||
width: 950px;
|
||||
height: 550px;
|
||||
background-color: var(--container-bg);
|
||||
border-radius: 12px;
|
||||
overflow: hidden;
|
||||
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
|
||||
}
|
||||
|
||||
/* Left Section Styling */
|
||||
.left-section {
|
||||
flex: 1;
|
||||
position: relative;
|
||||
background-color: var(--left-bg);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: space-between;
|
||||
padding: 20px;
|
||||
z-index: 1; /* Ensure it's above the background image */
|
||||
}
|
||||
|
||||
.header {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
z-index: 3; /* Bring the header above the background image */
|
||||
}
|
||||
|
||||
.header h1{
|
||||
font-size: 20px;
|
||||
font-weight: 500;
|
||||
color: var(--text-white);
|
||||
margin-left: 30px;
|
||||
}
|
||||
|
||||
.header .logo {
|
||||
width: 45%;
|
||||
height: 80%;
|
||||
margin-left: 15px;
|
||||
z-index: 9;
|
||||
}
|
||||
|
||||
.back-button {
|
||||
font-family: var(--button-font);
|
||||
font-weight: var(--font-weight-regular);
|
||||
background: var(--button-bg);
|
||||
color: var(--text-white);
|
||||
border: 1px solid var(--button-color);
|
||||
border-radius: 20px;
|
||||
padding: 10px 20px;
|
||||
cursor: pointer;
|
||||
transition: background 0.3s;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
.back-button:hover {
|
||||
background: var(--transparent-white);
|
||||
}
|
||||
|
||||
.background-img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
object-fit: cover;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
z-index: 0;
|
||||
opacity: 1;
|
||||
transition: opacity 1s ease-in-out;
|
||||
}
|
||||
|
||||
|
||||
.content {
|
||||
z-index: 0;
|
||||
color: var(--text-white);
|
||||
text-shadow: 0 2px 10px var(--text-shadow);
|
||||
|
||||
}
|
||||
|
||||
.content h2 {
|
||||
font-family: var(--heading-font);
|
||||
font-weight: var(--font-weight-bold);
|
||||
font-size: var(--font-size-h2);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Right Section Styling */
|
||||
.right-section {
|
||||
flex: 1;
|
||||
padding: 50px 40px;
|
||||
background-color: var(--right-bg);
|
||||
}
|
||||
|
||||
.form-container {
|
||||
font-family: var(--body-font);
|
||||
color: var(--text-white);
|
||||
}
|
||||
|
||||
.form-container h2 {
|
||||
font-family: var(--heading-font);
|
||||
font-weight: var(--font-weight-bold);
|
||||
font-size: var(--font-size-h2-large);
|
||||
margin-bottom: 10px;
|
||||
}
|
||||
|
||||
.form-container p {
|
||||
margin-bottom: 20px;
|
||||
color: var(--quadro-color);
|
||||
font-size: var(--font-size-medium);
|
||||
font-weight: var(--font-weight-light);
|
||||
}
|
||||
|
||||
.form-container a {
|
||||
color: var(--trio-color);
|
||||
}
|
||||
|
||||
.form-container a:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
|
||||
.input-container {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 15px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.input-field {
|
||||
padding: 12px;
|
||||
font-family: var(--body-font);
|
||||
font-weight: var(--font-weight-regular);
|
||||
border: 1px solid var(--container-bg);
|
||||
border-radius: 5px;
|
||||
width: 48%;
|
||||
background-color: var(--input-field);
|
||||
color: var(--text-white);
|
||||
}
|
||||
|
||||
.input-field.full-width {
|
||||
width: 100%;
|
||||
margin-bottom: 10px;
|
||||
padding-right: 40px;
|
||||
}
|
||||
|
||||
.input-field:focus {
|
||||
border-color: var(--input-color);
|
||||
outline: none;
|
||||
}
|
||||
|
||||
.eye-icon {
|
||||
position: absolute;
|
||||
right: 15px;
|
||||
top: 40%;
|
||||
transform: translateY(-50%);
|
||||
cursor: pointer;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
}
|
||||
|
||||
.eye-icon:hover {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
/* Hide the default checkbox */
|
||||
.custom-checkbox {
|
||||
display: none;
|
||||
}
|
||||
|
||||
/* Style the label to act as a custom checkbox */
|
||||
.checkbox-container label {
|
||||
position: relative;
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
font-size: var(--font-size-small);
|
||||
color: var(--text-white);
|
||||
cursor: pointer;
|
||||
margin-bottom: 25px;
|
||||
}
|
||||
|
||||
/* Create a smaller custom checkbox */
|
||||
.checkbox-container label::before {
|
||||
content: "";
|
||||
display: inline-block;
|
||||
width: 14px; /* Smaller checkbox size */
|
||||
height: 14px; /* Smaller checkbox size */
|
||||
background-color: white; /* Checkbox background color */
|
||||
border: 1px solid var(--text-white);
|
||||
border-radius: 3px;
|
||||
margin-right: 10px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
/* Show checkmark when checked */
|
||||
.custom-checkbox:checked + label::before {
|
||||
background-color: var(--text-white); /* Keep the background color white */
|
||||
border: 1px solid var(--text-white);
|
||||
}
|
||||
|
||||
/* Add simple checkmark when checkbox is checked */
|
||||
.custom-checkbox:checked + label::after {
|
||||
content: "✓"; /* Simple checkmark */
|
||||
position: absolute;
|
||||
top: 50%; /* Center vertically */
|
||||
left: 4%; /* Center horizontally */
|
||||
transform: translate(-50%, -50%); /* Center the checkmark */
|
||||
font-size: 16px; /* Adjust size of the checkmark to fit the smaller checkbox */
|
||||
color: var(--right-bg); /* Color of the checkmark */
|
||||
}
|
||||
|
||||
.terms-link {
|
||||
margin-left: 5px; /* Adjust the value as needed */
|
||||
}
|
||||
|
||||
.submit-button {
|
||||
width: 100%;
|
||||
padding: 12px;
|
||||
font-family: var(--button-font);
|
||||
font-weight: var(--font-weight-bold);
|
||||
background-color: var(--primary-color);
|
||||
border: none;
|
||||
color: var(--text-white);
|
||||
border-radius: 5px;
|
||||
cursor: pointer;
|
||||
font-size: var(--font-size-large);
|
||||
border: 1px solid var(--button-color);
|
||||
transition: background-color 0.3s;
|
||||
}
|
||||
|
||||
.submit-button:hover {
|
||||
background-color: var(--hover-color);
|
||||
}
|
||||
|
||||
|
||||
.divider {
|
||||
text-align: center;
|
||||
font-size: var(--font-size-medium);
|
||||
margin: 20px 0;
|
||||
color: var(--input-color);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.divider::before,
|
||||
.divider::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
width: 34%;
|
||||
height: 1px;
|
||||
background-color: var(--input-color);
|
||||
}
|
||||
|
||||
.divider::before {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.divider::after {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
/* Social Login Buttons */
|
||||
.social-login {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
}
|
||||
|
||||
.google-btn, .apple-btn {
|
||||
width: 48%;
|
||||
padding: 12px;
|
||||
font-family: var(--button-font);
|
||||
background-color: var(--left-bg);
|
||||
color: var(--text-white);
|
||||
border: 1px solid var(--button-color);
|
||||
border-radius: 5px;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
transition: background-color 0.3s, border-color 0.3s;
|
||||
}
|
||||
|
||||
.google-btn:hover, .apple-btn:hover {
|
||||
background-color: var(--hover-color);
|
||||
}
|
||||
|
||||
.google-btn img, .apple-btn img {
|
||||
margin-right: 10px;
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
Reference in New Issue
Block a user