aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEdmund von der Burg <evdb@mysociety.org>2011-04-13 11:01:49 +0100
committerEdmund von der Burg <evdb@mysociety.org>2011-04-13 11:01:49 +0100
commit23c8cc3c0f7f728e069429dfb3db7eaddd0bcc62 (patch)
tree2098a2fc1e2ba9c5ed7f395da065d6a1930ac18e
parenta9ac4ff18815d2d5211e3199fe89bb421bee71a1 (diff)
Change class on dev notice so it is not seen by test suite as an error
-rw-r--r--templates/web/default/debug_header.html2
-rw-r--r--web/css/core.css4
-rw-r--r--web/css/core.scss2
3 files changed, 3 insertions, 5 deletions
diff --git a/templates/web/default/debug_header.html b/templates/web/default/debug_header.html
index 247e55128..1468d171c 100644
--- a/templates/web/default/debug_header.html
+++ b/templates/web/default/debug_header.html
@@ -1,5 +1,5 @@
[% IF c.config.STAGING_SITE %]
- <p class="error">
+ <p class="dev-site-notice">
[% loc("This is a developer site; things might break at any time, and the database will be periodically deleted.") %]
</p>
[% END %]
diff --git a/web/css/core.css b/web/css/core.css
index 5b64d67b9..747b76c47 100644
--- a/web/css/core.css
+++ b/web/css/core.css
@@ -1,4 +1,3 @@
-
#mysociety blockquote {
border-left: solid 4px #666666;
padding-left: 0.5em;
@@ -14,7 +13,7 @@
color: #666666;
background-color: #cccccc;
}
-#mysociety p.error {
+#mysociety p.dev-site-notice, #mysociety p.error {
text-align: center;
color: #cc0000;
font-size: larger;
@@ -350,7 +349,6 @@
}
#mysociety #alert_photos h2 {
font-size: 100%;
-
}
#mysociety #alert_photos img {
margin-bottom: 0.25em;
diff --git a/web/css/core.scss b/web/css/core.scss
index 8bbebfce1..99d9584e9 100644
--- a/web/css/core.scss
+++ b/web/css/core.scss
@@ -29,7 +29,7 @@ $map_width: 500px;
background-color: #cccccc;
}
- p.error {
+ p.dev-site-notice, p.error {
text-align: center;
color: #cc0000;
font-size: larger;