diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2017-05-23 12:07:06 +0100 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2017-05-23 13:03:09 +0100 |
commit | 8946fca0cbb9bb5c3c19603f7f609b99e61e0ff2 (patch) | |
tree | a660e476f5ffe1fe841e9f517a93964cdb7c711a | |
parent | 3b436a7ce8ad853eec24c90c276fbace033ea7be (diff) |
Simplify `footer-marketing.html` for most cobrands
-rw-r--r-- | templates/web/base/front/footer-marketing.html | 27 | ||||
-rw-r--r-- | web/cobrands/sass/_base.scss | 11 | ||||
-rw-r--r-- | web/cobrands/sass/_layout.scss | 5 |
3 files changed, 22 insertions, 21 deletions
diff --git a/templates/web/base/front/footer-marketing.html b/templates/web/base/front/footer-marketing.html index c0c9b4168..3fb7a3044 100644 --- a/templates/web/base/front/footer-marketing.html +++ b/templates/web/base/front/footer-marketing.html @@ -1,21 +1,8 @@ - <div class="tablewrapper bordered"> - <div id="footer-mobileapps"> - <!-- - <h4></h4> - <p> - </p> - --> - </div> - - <div id="footer-help"> - <p> - [% loc('Powered by <a class="platform-logo" href="http://fixmystreet.org/">FixMyStreet Platform</a>') %] - </p> - <ul> - <li> - <h4>[% loc('Are you a developer?') %]</h4> - <p>[% loc('Would you like to contribute to FixMyStreet? Our code is open source and <a href="http://fixmystreet.org">available at fixmystreet.org</a>.') %]</p> - </li> - </ul> - </div> + <div class="tablewrapper bordered footer-marketing"> + <p> + [% loc('Would you like to contribute to FixMyStreet? Our code is open source and <a href="http://fixmystreet.org">available at fixmystreet.org</a>.') %] + </p> + <p> + [% loc('Powered by <a class="platform-logo" href="http://fixmystreet.org/">FixMyStreet Platform</a>') %] + </p> </div> diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index 7f629971e..dac22fec3 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -698,7 +698,6 @@ footer { p { font-size: 0.75em; padding-bottom: 0; - border-bottom:1px solid #AFAFAF; } } @@ -2101,6 +2100,16 @@ table.nicetable { } } +// Shown at bottom of homepage, among other places +.footer-marketing { + text-align: center; + margin-top: 2em; + + & > :last-child { + margin-bottom: 0; + } +} + #alerts { ul { margin-bottom: 1em; diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss index e8c78601f..94506387e 100644 --- a/web/cobrands/sass/_layout.scss +++ b/web/cobrands/sass/_layout.scss @@ -674,6 +674,11 @@ body.authpage { border-top:0.25em solid $primary; } +// Shown at bottom of homepage, among other places +.footer-marketing { + width: 100%; +} + //footer blocks #footer-mobileapps { border-#{$right}: 1em solid transparent; |