From: Thierry Parmentelat Date: Fri, 3 Sep 2010 08:41:43 +0000 (+0200) Subject: display password fields with a different style X-Git-Tag: plewww-4.3-49~6 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=6abd59aa4f4999c24d966c0a2842f2ad8dd3908b;p=plewww.git display password fields with a different style --- diff --git a/planetlab/css/plc_style.css b/planetlab/css/plc_style.css index e845e01..dec59a6 100644 --- a/planetlab/css/plc_style.css +++ b/planetlab/css/plc_style.css @@ -27,6 +27,9 @@ body { } /* -------------------- inputs in forms */ +/* note: this is used by the register wizard as well + in case where importing all this file this would some day conflict + it might make sense to split this file into plc_style (general) and plc_views (specifics) */ /* don't mess with other types of input, e.g. buttons might get affected */ input[type="text"], textarea { border: solid 1px #444; @@ -35,6 +38,13 @@ input[type="text"], textarea { background-position: top; } +input[type="password"], textarea { + border: solid 1px #444; + background-image: url( '/planetlab/icons/form_input_password.png' ); + background-repeat: repeat-x; + background-position: top; +} + /* make disabled fields more obvious */ input[type="text"][disabled], textarea[disabled] { border: solid 1px #f8f8f8; diff --git a/planetlab/icons/form_input_password.png b/planetlab/icons/form_input_password.png new file mode 100644 index 0000000..2685c06 Binary files /dev/null and b/planetlab/icons/form_input_password.png differ