display password fields with a different style
authorThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 3 Sep 2010 08:41:43 +0000 (10:41 +0200)
committerThierry Parmentelat <thierry.parmentelat@sophia.inria.fr>
Fri, 3 Sep 2010 08:41:43 +0000 (10:41 +0200)
planetlab/css/plc_style.css
planetlab/icons/form_input_password.png [new file with mode: 0644]

index e845e01..dec59a6 100644 (file)
@@ -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 (file)
index 0000000..2685c06
Binary files /dev/null and b/planetlab/icons/form_input_password.png differ