From 6abd59aa4f4999c24d966c0a2842f2ad8dd3908b Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 3 Sep 2010 10:41:43 +0200 Subject: [PATCH] display password fields with a different style --- planetlab/css/plc_style.css | 10 ++++++++++ planetlab/icons/form_input_password.png | Bin 0 -> 247 bytes 2 files changed, 10 insertions(+) create mode 100644 planetlab/icons/form_input_password.png 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 0000000000000000000000000000000000000000..2685c062c4869258ad9c09b651da7c034894eca0 GIT binary patch literal 247 zcmeAS@N?(olHy`uVBq!ia0y~yU|?ZjV36QoV_;yo`!r@A0|NtNage(c!@6@aFBupZ z*pj^6T^Rm@;DWu&Co?cGa29w(7Bet#3xhBt!>l|V>gE`#%!LRj~rU-muD7KjSVT!n?+xp*p$0UT9wq-?eGsrrz zc&JZQnsLX{$6WBKaoD9}PwuVvkjPGTNU2zBvN`yQnrF|u`Xu>oFUg+RyUM+6j