diff options
author | Andy Lulham <a.lulham@gmail.com> | 2013-11-06 20:54:10 +0000 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2013-11-07 15:39:23 +0000 |
commit | 3928b590dade9be0624ae0b2fb6fdfbc5f5b3e03 (patch) | |
tree | 2222253a31aa41fd2ff9dc9bf6961110cbeeb558 /web | |
parent | 799b29de3605abf5788a4b6ebcad8074c1992094 (diff) |
Show a graphic on links to non-admin pages
Graphic and css from FMT. Fixes #579.
Diffstat (limited to 'web')
-rw-r--r-- | web/cobrands/fixmystreet/images/external-link.png | bin | 0 -> 192 bytes | |||
-rw-r--r-- | web/cobrands/sass/_layout.scss | 11 |
2 files changed, 10 insertions, 1 deletions
diff --git a/web/cobrands/fixmystreet/images/external-link.png b/web/cobrands/fixmystreet/images/external-link.png Binary files differnew file mode 100644 index 000000000..8e8ba74bf --- /dev/null +++ b/web/cobrands/fixmystreet/images/external-link.png diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss index b580f1927..80fec955f 100644 --- a/web/cobrands/sass/_layout.scss +++ b/web/cobrands/sass/_layout.scss @@ -1046,13 +1046,16 @@ $button_bg_col: #a1a1a1; // also search bar (tables) margin-top: 0; } } - .fms-admin-warning, .fms-admin-info, .admin-hint { + .fms-admin-warning, .fms-admin-info, .admin-hint, .admin-offsite-link { display: none; // don't display admin-notes unless .show-admin-notes class is present } &.show-admin-notes { .fms-admin-warning, .fms-admin-info, .admin-hint { display: block; } + .admin-offsite-link { + display: inline; + } .fms-admin-warning, .fms-admin-info { padding: 1em; font-size: 90%; @@ -1115,6 +1118,12 @@ $button_bg_col: #a1a1a1; // also search bar (tables) } } } + .admin-offsite-link { + padding-right:12px; + background-image:url(/cobrands/fixmystreet/images/external-link.png); + background-position: right top; + background-repeat: no-repeat; + } } } |