login yess consulting
This commit is contained in:
parent
49fcaa7812
commit
b0c9db47e2
46
assets/css/custom.css
Normal file
46
assets/css/custom.css
Normal 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
13
assets/js/main.js
Normal 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');
|
||||
});
|
||||
}
|
||||
});
|
||||
BIN
assets/pasted-20260119-203446-bf56dedb.png
Normal file
BIN
assets/pasted-20260119-203446-bf56dedb.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 100 KiB |
Loading…
x
Reference in New Issue
Block a user