login yess consulting

This commit is contained in:
Flatlogic Bot 2026-01-19 20:38:47 +00:00
parent 49fcaa7812
commit b0c9db47e2
3 changed files with 59 additions and 0 deletions

46
assets/css/custom.css Normal file
View File

@ -0,0 +1,46 @@
body {
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
background-image: url('https://picsum.photos/1920/1080');
background-size: cover;
background-position: center;
}
.logo {
display: block;
margin-left: auto;
margin-right: auto;
width: 150px;
}
.login-container {
max-width: 400px;
padding: 2rem;
border-radius: 0.5rem;
background-color: rgba(255, 255, 255, 0.9);
box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}
.btn-primary {
background-color: #3996d2;
border-color: #3996d2;
}
.btn-primary:hover {
background-color: #2d7bad;
border-color: #2d7bad;
}
.password-wrapper {
position: relative;
}
.password-wrapper .toggle-password {
position: absolute;
top: 50%;
right: 1rem;
transform: translateY(-50%);
cursor: pointer;
}

13
assets/js/main.js Normal file
View File

@ -0,0 +1,13 @@
document.addEventListener('DOMContentLoaded', function () {
const togglePassword = document.querySelector('.toggle-password');
const passwordInput = document.getElementById('password');
if (togglePassword && passwordInput) {
togglePassword.addEventListener('click', function () {
const type = passwordInput.getAttribute('type') === 'password' ? 'text' : 'password';
passwordInput.setAttribute('type', type);
this.classList.toggle('bi-eye');
this.classList.toggle('bi-eye-slash');
});
}
});

Binary file not shown.

After

Width:  |  Height:  |  Size: 100 KiB