aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/sass/_layout.scss
diff options
context:
space:
mode:
authorMatthew Somerville <matthew-github@dracos.co.uk>2016-07-01 13:35:17 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-07-04 16:26:56 +0100
commit88933aa8df0f748dce8188cde99b6199ae070864 (patch)
tree11a5ad35d1ab675a18ec73b752d35f8540414cc4 /web/cobrands/sass/_layout.scss
parent45aaf63033e7d4d24ba570f7460746fe28f9f59f (diff)
Make sure map JS works through an admin proxy.
Tidy up use of absolute URLs when in the admin. Have the 404 handler spot static files in admin as a fallback.
Diffstat (limited to 'web/cobrands/sass/_layout.scss')
-rw-r--r--web/cobrands/sass/_layout.scss6
1 files changed, 3 insertions, 3 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 51d32828f..3622ca0f0 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -1,6 +1,6 @@
@import "_mixins";
-$image-sprite: '/cobrands/fixmystreet/images/sprite.png' !default;
+$image-sprite: '../fixmystreet/images/sprite.png' !default;
$layout_front_stats_color: $primary !default;
$mappage-header-height: 4em !default;
@@ -672,7 +672,7 @@ body.authpage {
}
.iel8 #sub_map_links #map_links_toggle {
height: 1.75em;
- background: #000 url('/cobrands/fixmystreet/images/ie_sub_map_links_sprite.gif') center -143px no-repeat;
+ background: #000 url('../fixmystreet/images/ie_sub_map_links_sprite.gif') center -143px no-repeat;
&.closed {
background-position: center -183px;
}
@@ -802,7 +802,7 @@ body.authpage {
}
&#closed {
padding-top:5em;
- background-image:url(/cobrands/fixmystreet/images/sprite.png);
+ background-image:url($image-sprite);
background-position:-318px -326px;
background-repeat:no-repeat;
&:before {