aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDave Whiteland <dave@mysociety.org>2013-08-07 12:50:25 +0100
committerDave Whiteland <dave@mysociety.org>2013-09-05 17:31:06 +0100
commite237198173f3307fdf8c6866831116ae2f1f9f4a (patch)
tree1c4067171107b4e7cc5767b457539e737d6f5e73
parent2cc0b90ba609b0043e792a76f99ab74761f01124 (diff)
move new admin styles into _layout.scss
this is probably better practice since we can use sass Maybe need to bring the other style declarations in header into scss file too
-rw-r--r--templates/web/default/admin/header.html5
-rw-r--r--web/cobrands/sass/_layout.scss5
2 files changed, 5 insertions, 5 deletions
diff --git a/templates/web/default/admin/header.html b/templates/web/default/admin/header.html
index 8cceaf728..6282bf383 100644
--- a/templates/web/default/admin/header.html
+++ b/templates/web/default/admin/header.html
@@ -5,11 +5,6 @@ dd { margin-left: 8em; }
.adminhidden { color: #666666; }
.error { color: red; }
select { width: auto; }
-.admin-open311-only {
- border:1px solid #666;
- padding:1em;
- margin: 1em 0;
-}
</style>
<p><strong>[% loc('FixMyStreet admin:') %]</strong>
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index efe25a427..9f7057587 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -1048,6 +1048,11 @@ $button_bg_col: #a1a1a1; // also search bar (tables)
border-color: #9f9;
background-color: #e1ffe1;
}
+ .admin-open311-only {
+ border:1px solid #666;
+ padding:1em;
+ margin: 1em 0;
+ }
}