From 9e0da3dc7c39786bf6d972e07819fe2880cdeaa3 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Fri, 8 Jun 2007 06:04:15 +0000 Subject: - Patch #143026 by ChrisKennedy and Steven: dynamically check password strength and confirmation. --- modules/system/system-rtl.css | 8 +++++++ modules/system/system.css | 56 ++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 63 insertions(+), 1 deletion(-) (limited to 'modules/system') diff --git a/modules/system/system-rtl.css b/modules/system/system-rtl.css index cf93c728d..0ccf0f4c6 100644 --- a/modules/system/system-rtl.css +++ b/modules/system/system-rtl.css @@ -83,3 +83,11 @@ div.teaser-button-wrapper { .progress .percentage { float: left; } +input.password-field { + margin-left: 10px; + margin-right: inherit; +} +input.password-confirm { + margin-left: 10px; + margin-right: inherit; +} diff --git a/modules/system/system.css b/modules/system/system.css index 67f92d89d..e5bc14500 100644 --- a/modules/system/system.css +++ b/modules/system/system.css @@ -33,7 +33,7 @@ thead th { padding-bottom: .5em } .error { - color: #f00; + color: #e55; } div.error { border: 1px solid #d77; @@ -41,12 +41,29 @@ div.error { div.error, tr.error { background: #fcc; color: #200; + padding: 2px; +} +.warning { + color: #e09010; +} +div.warning { + border: 1px solid #f0c020; } div.warning, tr.warning { background: #ffd; + color: #220; + padding: 2px; +} +.ok { + color: #008000; +} +div.ok { + border: 1px solid #00aa00; } div.ok, tr.ok { background: #dfd; + color: #020; + padding: 2px; } .item-list .icon { color: #555; @@ -452,3 +469,40 @@ html.js .js-hide { #system-modules div.incompatible { font-weight: bold; } + +/* +** Password strength indicator +*/ +span.password-strength { + visibility: hidden; +} +input.password-field { + margin-right: 10px; /* LTR */ +} +div.password-description { + padding: 0 2px; + margin: 4px 0 0 0; + font-size: 0.85em; + max-width: 500px; +} +div.password-description ul { + margin-bottom: 0; +} +.password-parent { + margin: 0 0 0 0; +} +/* +** Password confirmation checker +*/ +input.password-confirm { + margin-right: 10px; /* LTR */ +} +.confirm-parent { + margin: 5px 0 0 0; +} +span.password-confirm { + visibility: hidden; +} +span.password-confirm span { + font-weight: normal; +} -- cgit v1.2.3