aboutsummaryrefslogtreecommitdiffstats
path: root/web
diff options
context:
space:
mode:
Diffstat (limited to 'web')
-rw-r--r--web/cobrands/fixmystreet/base.scss12
-rw-r--r--web/cobrands/fixmystreet/fixmystreet.js2
2 files changed, 11 insertions, 3 deletions
diff --git a/web/cobrands/fixmystreet/base.scss b/web/cobrands/fixmystreet/base.scss
index 731127897..43ab64135 100644
--- a/web/cobrands/fixmystreet/base.scss
+++ b/web/cobrands/fixmystreet/base.scss
@@ -647,6 +647,7 @@ button, input[type=submit],.btn{
button.green-btn,
input.green-btn{
@include button-reset;
+ background-color: #9FDE23;
@include background (linear-gradient(#9FDE23, #7FB900)) ;
color:#fff;
border-color: #5B9700;
@@ -660,6 +661,7 @@ input.green-btn{
button.red-btn,
input.red-btn{
@include button-reset;
+ background-color: #FF0038;
@include background (linear-gradient(#FF0038, #BF002A)) ;
color:#fff;
border-color: #80001C;
@@ -921,7 +923,7 @@ a:hover.button-left {
#fms_pan_zoom {
right: 0.5em !important;
top: 2.75em !important;
- left: 0.5em !important;
+ left: auto !important;
}
// Openlayers map controls (overrides)
@@ -1177,6 +1179,13 @@ table.nicetable {
}
}
tr {
+ &.gone {
+ color: #666666;
+ background-color: #cccccc;
+ }
+ &.a {
+ background:#f6f6f6;
+ }
&:nth-child(even) {
background:#f6f6f6;
}
@@ -1187,7 +1196,6 @@ table.nicetable {
td {
padding:0.25em;
a {
- color:#333;
&:hover {
text-decoration:none;
}
diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js
index 074b69a9e..b79976664 100644
--- a/web/cobrands/fixmystreet/fixmystreet.js
+++ b/web/cobrands/fixmystreet/fixmystreet.js
@@ -81,7 +81,7 @@ $(function(){
document.createElement('img').src = '/i/pin-green.png';
//add mobile class if small screen
- if(!Modernizr.mq('only screen and (min-width:48em)')) {
+ if (Modernizr.mq('only screen and (max-width:48em)') && !Modernizr.mq('only screen and (width:48em)')) {
$('html').addClass('mobile');
if (typeof fixmystreet !== 'undefined' && fixmystreet.page == 'around') {
// Immediately go full screen map if on around page