![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/old/app/design/frontend/Cnc/default/web/scss/common/forms/ |
// ============================================== // FORMS - Password meter // ============================================== $password-strength-weak-color: #ffafae; $password-strength-medium-color: $c-yellow; $password-strength-strong-color: $c-tier-price; $password-strength-very-strong-color: $c-green; *[data-role="password-strength-meter"] { position: relative; max-width: 225px; padding: 12px 0; margin-left: 12px; } .password-strength-meter { font-size: 1rem; z-index: 1; span { text-transform: lowercase; } } *[data-role="password-strength-meter"], .password-strength-meter { &::before { content: ""; position: absolute; left: 0; bottom: 0; height: 5px; border-radius: 2px; background-color: $c-grey; width: 100%; } } // Weak .password-weak { .password-strength-meter::before { background-color: $password-strength-weak-color; width: 25%; } span { color: $password-strength-weak-color; } } // Medium .password-medium { .password-strength-meter::before { background-color: $password-strength-medium-color; width: 50%; } span { color: $password-strength-medium-color; } } // Strong .password-strong { .password-strength-meter::before { background-color: $password-strength-strong-color; width: 75%; } span { color: $password-strength-strong-color; } } // Very strong .password-very-strong { .password-strength-meter::before { background-color: $password-strength-very-strong-color; width: 100%; } span { color: $password-strength-very-strong-color; } }