218 lines
3.9 KiB
SCSS
218 lines
3.9 KiB
SCSS
.login-page {
|
|
display: flex;
|
|
background-color: #fff;
|
|
padding: 0;
|
|
justify-content: center;
|
|
align-items: flex-start;
|
|
box-sizing: border-box;
|
|
overflow: hidden;
|
|
padding-top: 2rem;
|
|
|
|
.login-form-container {
|
|
width: 100%;
|
|
max-width: 400px;
|
|
padding: 2rem 1.5rem;
|
|
display: flex;
|
|
flex-direction: column;
|
|
|
|
align-items: center;
|
|
background-color: white;
|
|
|
|
h2 {
|
|
color: #bd8c01;
|
|
font-size: 1.8rem;
|
|
margin-bottom: 1.5rem;
|
|
font-weight: 600;
|
|
text-align: center ;
|
|
}
|
|
|
|
.input-group {
|
|
width: 100%;
|
|
margin-bottom: 1.2rem;
|
|
|
|
label {
|
|
display: block;
|
|
margin-bottom: 0.5rem;
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
input {
|
|
width: 100%;
|
|
padding: 12px 15px;
|
|
border: 2px solid #003e79;
|
|
border-radius: 8px;
|
|
font-size: 1rem;
|
|
transition: border-color 0.2s;
|
|
|
|
&:focus {
|
|
outline: none;
|
|
border-color: #004aad;
|
|
}
|
|
}
|
|
}
|
|
|
|
button[type="submit"] {
|
|
width: 100%;
|
|
padding: 12px;
|
|
background-color: #004aad;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 8px;
|
|
cursor: pointer;
|
|
font-size: 1rem;
|
|
font-weight: 600;
|
|
margin-bottom: 1rem;
|
|
transition: background-color 0.2s;
|
|
|
|
&:hover {
|
|
background-color: #003e79;
|
|
}
|
|
}
|
|
|
|
.forgot-password,
|
|
.create-account {
|
|
color: #004aad;
|
|
text-decoration: none;
|
|
font-size: 1rem;
|
|
margin: 0.3rem 0;
|
|
font-weight: 500;
|
|
text-align: center ;
|
|
|
|
&:hover {
|
|
text-decoration: underline;
|
|
}
|
|
}
|
|
|
|
.create-account {
|
|
font-weight: 600;
|
|
font-size: 1rem;
|
|
}
|
|
|
|
.divider {
|
|
width: 100%;
|
|
text-align: center;
|
|
margin: 1.5rem 0;
|
|
position: relative;
|
|
|
|
span {
|
|
background: white;
|
|
padding: 0 10px;
|
|
color: #888;
|
|
font-size: 0.9rem;
|
|
}
|
|
|
|
&::before {
|
|
content: '';
|
|
position: absolute;
|
|
top: 50%;
|
|
left: 0;
|
|
right: 0;
|
|
height: 1px;
|
|
background: #ddd;
|
|
z-index: -1;
|
|
}
|
|
}
|
|
|
|
|
|
.error {
|
|
color: red;
|
|
margin-bottom: 1rem;
|
|
font-size: 0.9rem;
|
|
}
|
|
}
|
|
|
|
.image-collage {
|
|
position: relative;
|
|
width: 50%;
|
|
height: 100%;
|
|
overflow: hidden;
|
|
|
|
.collage-item {
|
|
position: absolute;
|
|
border-radius: 0;
|
|
overflow: hidden;
|
|
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.3s ease;
|
|
|
|
img {
|
|
object-fit: cover;
|
|
object-position: center;
|
|
}
|
|
}
|
|
|
|
.collage-1 {
|
|
top: 0;
|
|
left: 0;
|
|
width: 60%;
|
|
height: 35%;
|
|
clip-path: polygon(0 0, 100% 0, 80% 68%, 0 68%);
|
|
}
|
|
|
|
.collage-2 {
|
|
top: 0;
|
|
right: 0;
|
|
width: 60%;
|
|
height: 26.5%;
|
|
clip-path: polygon(30% 0, 100% 0, 100% 90%, 13.5% 90%);
|
|
}
|
|
|
|
.collage-3 {
|
|
top: 23.5%;
|
|
left: 0;
|
|
width: 60%;
|
|
height: 25.2%;
|
|
clip-path: polygon(0 0, 80% 0, 100% 100%, 0 100%);
|
|
}
|
|
|
|
.collage-4 {
|
|
top: 23.5%;
|
|
right: 0;
|
|
width: 60%;
|
|
height: 25.2%;
|
|
clip-path: polygon(13% 0, 100% 0, 100% 100%, 30% 100%);
|
|
}
|
|
|
|
.collage-5 {
|
|
bottom: 32%;
|
|
left: 0;
|
|
width: 60%;
|
|
height: 20%;
|
|
clip-path: polygon(0 0, 97% 0, 80% 100%, 0 100%);
|
|
}
|
|
|
|
.collage-6 {
|
|
bottom: 32%;
|
|
right: 0;
|
|
width: 52%;
|
|
height: 20%;
|
|
clip-path: polygon(19.5% 0, 100% 0, 100% 100%, 0% 100%);
|
|
}
|
|
}
|
|
}
|
|
|
|
// Responsive para pantallas pequeñas
|
|
@media (max-width: 768px) {
|
|
.login-page {
|
|
flex-direction: column;
|
|
|
|
.login-form-container {
|
|
width: 100%;
|
|
padding: 1.5rem;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.image-collage {
|
|
width: 100%;
|
|
height: 300px;
|
|
|
|
.collage-item {
|
|
position: static;
|
|
width: 100%;
|
|
height: 100%;
|
|
clip-path: none;
|
|
border-radius: 8px;
|
|
}
|
|
}
|
|
}
|
|
} |