diff options
author | Matthew Somerville <matthew@mysociety.org> | 2014-10-10 16:34:53 +0100 |
---|---|---|
committer | Matthew Somerville <matthew@mysociety.org> | 2014-10-17 18:12:32 +0100 |
commit | 71b400a1f5991b9a693095c417aa61e274a5215d (patch) | |
tree | c6bf26e9515b11418935bdeae474beff7cd8c5bb /web/cobrands/sass/_layout.scss | |
parent | 980eaf37f0c680fad7433d645324c6c5054b84a3 (diff) |
[fixmystreet.com] Experiment, no pins by default.
This changes the default flow to show no pins and a message about
reporting, with the second tab displaying existing problems (and showing
map pins). Those existing problems are the ones that would currently be
on "problems on the map" followed by those currently on "problems
nearby".
Diffstat (limited to 'web/cobrands/sass/_layout.scss')
-rw-r--r-- | web/cobrands/sass/_layout.scss | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss index 148bbdc36..bf8f1e03b 100644 --- a/web/cobrands/sass/_layout.scss +++ b/web/cobrands/sass/_layout.scss @@ -342,6 +342,40 @@ body.mappage { } } +#skip-this-step { + display: block; + color: inherit; + //margin: 0 -15px; + padding: 16px; + font-size: 18px; + line-height: 20px; + border-bottom: 1px solid #E7E1C0; + background: #FDF4C5; + + em { + font-style: normal; + text-decoration: underline; + color: #0BA7D1; + } + + &:hover { + text-decoration: none; + } + + html.js & { + // If javascript is enabled, hide the skip link off-screen, + // but keep it visible for screen readers. + position: absolute; + top: -999px; + + &:focus { + // And show it again if it receives focus (eg: via tab key) + position: static; + } + } +} + + // full width page body.fullwidthpage { .content { |