diff options
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/base.scss | 33 | ||||
-rw-r--r-- | web/cobrands/fixmystreet/fixmystreet.js | 10 |
2 files changed, 41 insertions, 2 deletions
diff --git a/web/cobrands/fixmystreet/base.scss b/web/cobrands/fixmystreet/base.scss index 1bcfd58df..314fc2710 100644 --- a/web/cobrands/fixmystreet/base.scss +++ b/web/cobrands/fixmystreet/base.scss @@ -1029,11 +1029,40 @@ table.nicetable { .promo { @extend .full-width; - background:$contrast1; + background:$primary; padding:1em; margin-bottom:1em; +} + +.alert { + @extend .full-width; + background:#ff0000; + padding:1em; + margin-bottom:1em; + color:#fff; a, a:hover { - color:#fff; + color:$primary; + } +} + +ul.breadcrumb { + @include list-reset; + margin:-1em -1em 1em -1em; + overflow:hidden; + li { + span { + display:block; + padding:0.5em 1em 0.5em 0; + } + a { + background:url(images/sprite.png) right -3220px no-repeat; + padding:0.5em 2.5em 0.5em 1em; + color:#333; + &:hover { + color:#000; + text-decoration:none; + } + } } } diff --git a/web/cobrands/fixmystreet/fixmystreet.js b/web/cobrands/fixmystreet/fixmystreet.js index a6ae9be21..3634160ff 100644 --- a/web/cobrands/fixmystreet/fixmystreet.js +++ b/web/cobrands/fixmystreet/fixmystreet.js @@ -315,4 +315,14 @@ $(function(){ $(this).hide(); }); + + /* + * nicetable - on mobile shift 'name' col to be a row + */ + $('.mobile .nicetable th.title').remove(); + $('.mobile .nicetable td.title').each(function(i){ + $(this).insertBefore($(this).parent('tr')).wrap('<tr class="heading" />'); + }); + // $('.mobile .nicetable tr.heading > td.title').css({'min-width':'300px'}); + // $('.mobile .nicetable tr > td.data').css({'max-width':'12%'}); }); |