summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorsten Grote <grote@kolabsys.com>2012-09-18 11:40:04 (GMT)
committerJeroen van Meeuwen (Kolab Systems) <vanmeeuwen@kolabsys.com>2012-09-18 12:04:45 (GMT)
commit808e6e4f944af6698f29465aab7900285b9975f6 (patch)
treed09cca346cf60415459332e30fccb744ae5a0f4c
parentbafd80a71838560f222f05418a63a7e6e9c8e3ec (diff)
downloadkolab-wap-808e6e4f944af6698f29465aab7900285b9975f6.tar.gz
use proper css from style files for form errors
-rw-r--r--hosted/js/kolab_hosted.js2
-rw-r--r--public_html/skins/default/style.css7
2 files changed, 8 insertions, 1 deletions
diff --git a/hosted/js/kolab_hosted.js b/hosted/js/kolab_hosted.js
index 8565079..7baad54 100644
--- a/hosted/js/kolab_hosted.js
+++ b/hosted/js/kolab_hosted.js
@@ -89,7 +89,7 @@ kadm.update_user_info = function(msg, part)
}
else {
// add span area and add message
- $('input[name="'+part+'"]').after(' <span id="'+span_id+'" style="font-weight:bold;margin-left:1em;color:red;">' + msg + '</span>');
+ $('input[name="'+part+'"]').after(' <span id="'+span_id+'" class="form_error">' + msg + '</span>');
}
// enable/disable button
diff --git a/public_html/skins/default/style.css b/public_html/skins/default/style.css
index be30a88..d8e39ad 100644
--- a/public_html/skins/default/style.css
+++ b/public_html/skins/default/style.css
@@ -698,6 +698,13 @@ span.listcontent span.listelement.selected {
background-color: #d6efff;
}
+span.form_error {
+ color: #FF0000;
+ font-weight: bold;
+ font-size: 90%;
+ padding-left: 5px;
+}
+
/***** autocomplete list *****/
#autocompletepane