summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--chimere/static/chimere/css/styles.css34
-rw-r--r--chimere/templates/chimere/edit.html2
2 files changed, 25 insertions, 11 deletions
diff --git a/chimere/static/chimere/css/styles.css b/chimere/static/chimere/css/styles.css
index 504bc82..a4ae9b8 100644
--- a/chimere/static/chimere/css/styles.css
+++ b/chimere/static/chimere/css/styles.css
@@ -2,13 +2,17 @@
a, a:link, a:visited, legend,
#footer .map-footer a, #footer .map-footer a:link,
-#footer .map-footer a:visited, .errorlist,
+#footer .map-footer a:visited,
.detail_footer a, caption,
#categories li#display_submited, h4,
.simple .cloud h2{
color:#54c200;
}
+.errorlist li, .errorlist legend, fieldset.errorlist{
+ color:#ff3f3f;
+}
+
h2, h3, th, .action li, .action li a,
.action li li a,
#footer a, #footer a:link, #footer a:visited, .ui-widget-header,
@@ -43,9 +47,8 @@ fieldset, .action li, #content,
background-color:#FFF;
}
-div.warning,
-.errors{
- background-color:#dbffdb;
+div.warning, .errorlist{
+ background-color:#ffca64;
}
.simple .cloud h2{
@@ -60,13 +63,16 @@ div.warning,
#areas, #detail, #map,
div.warning,
-div.errors,
#content,
.action li.selected,
#panel, #map-footer{
border:1px solid #327e04;
}
+.errorlist{
+ border:1px solid #ff3f3f;
+}
+
/* opacity */
#welcome{
@@ -463,9 +469,12 @@ ul.subcategories label img{
.errorlist{
font-weight:bold;
+ width:auto;
}
.fieldWrapper{
+ width:auto;
+ margin:0;
padding:6px;
}
@@ -475,7 +484,6 @@ div.warning{
}
div.errors{
- margin:0.2em;
padding:0.2em;
}
@@ -505,16 +513,22 @@ a#welcome_button{
/* forms */
+table.inline-table{
+ width:100%;
+}
+
+table.inline-table td{
+ text-align:center;
+}
+table.inline-table td input{
+ text-align:left;
+}
table.inline-table td input[type=checkbox]{
display:block;
margin-left:auto;
margin-right:auto;
}
-table.inline-table td input[type=text]{
- width:300px;
-}
-
#live_lonlat p{
display:inline-table;
}
diff --git a/chimere/templates/chimere/edit.html b/chimere/templates/chimere/edit.html
index 75eeef6..fc4d792 100644
--- a/chimere/templates/chimere/edit.html
+++ b/chimere/templates/chimere/edit.html
@@ -15,7 +15,7 @@
{% block content %}
{% if submited %}{% submited %}{% endif %}
- {% if error_message %}<fieldset class='edit'>
+ {% if error_message %}<fieldset class='edit errorlist'>
<legend>{% trans "Error" %}</legend>
<p>{{ error_message }}</p>
{% endif %}</fieldset>