Switch Emojis to Tabler icons.
This commit is contained in:
@@ -367,7 +367,8 @@ body.auth-page::after {
|
||||
}
|
||||
|
||||
.company-code-group::before {
|
||||
content: '🏢';
|
||||
content: '\eebe'; /* Tabler icon building */
|
||||
font-family: 'tabler-icons';
|
||||
position: absolute;
|
||||
left: 1rem;
|
||||
top: 2.5rem; /* Position below the label */
|
||||
|
||||
@@ -242,7 +242,7 @@ button {
|
||||
|
||||
.nav-icon {
|
||||
margin-right: 0.75rem;
|
||||
font-size: 1.1rem;
|
||||
font-size: 1.5rem;
|
||||
min-width: 20px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
@@ -103,7 +103,7 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
const toggleBtn = document.createElement('button');
|
||||
toggleBtn.type = 'button';
|
||||
toggleBtn.className = 'password-toggle';
|
||||
toggleBtn.innerHTML = '👁️';
|
||||
toggleBtn.innerHTML = '<i class="ti ti-eye"></i>';
|
||||
toggleBtn.style.cssText = `
|
||||
position: absolute;
|
||||
right: 1rem;
|
||||
@@ -120,10 +120,10 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
toggleBtn.addEventListener('click', function() {
|
||||
if (input.type === 'password') {
|
||||
input.type = 'text';
|
||||
this.innerHTML = '🙈';
|
||||
this.innerHTML = '<i class="ti ti-eye-off"></i>';
|
||||
} else {
|
||||
input.type = 'password';
|
||||
this.innerHTML = '👁️';
|
||||
this.innerHTML = '<i class="ti ti-eye"></i>';
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -148,10 +148,10 @@ document.addEventListener('DOMContentLoaded', function() {
|
||||
matchIndicator.textContent = '';
|
||||
matchIndicator.className = 'password-match-indicator';
|
||||
} else if (password === confirmInput.value) {
|
||||
matchIndicator.textContent = '✓ Passwords match';
|
||||
matchIndicator.innerHTML = '<i class="ti ti-check"></i> Passwords match';
|
||||
matchIndicator.className = 'password-match-indicator match';
|
||||
} else {
|
||||
matchIndicator.textContent = '✗ Passwords do not match';
|
||||
matchIndicator.innerHTML = '<i class="ti ti-x"></i> Passwords do not match';
|
||||
matchIndicator.className = 'password-match-indicator no-match';
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user