diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2016-04-21 13:39:44 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2016-05-18 14:07:05 +0100 |
commit | d4a75fd58381f2964607a2937946202e34cb6f30 (patch) | |
tree | fc6ddf9aa1bb1002418b19a78e0e49840af1b266 /web/cobrands | |
parent | 66d93ceaed9df6ff3e0e28a62e655ad769c99614 (diff) |
Improve in-place moderation UI
This rearranges the moderation UI into logical chunks,
and improves the 'revert to original' checkboxes by:
- hiding them unless there's some original text to revert
to
- displaying the text that will be reverted to in the
appropriate input fields when checked.
Part of mysociety/FixMyStreet-Commercial#731
Diffstat (limited to 'web/cobrands')
-rw-r--r-- | web/cobrands/sass/_base.scss | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/web/cobrands/sass/_base.scss b/web/cobrands/sass/_base.scss index 6af6d88ff..a8f6e7a96 100644 --- a/web/cobrands/sass/_base.scss +++ b/web/cobrands/sass/_base.scss @@ -1048,6 +1048,18 @@ input.final-submit { } } +.moderate-edit { + display: none; // gets shown by javascript + + :disabled { + background: #ddd; + } + + h1 input { + border-width: (0.125em/2); // compensate for 2em font-size on h1s + } +} + // map stuff #map_box{ @extend .full-width; |