diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2015-04-27 13:13:27 +0100 |
---|---|---|
committer | Dave Arter <davea@mysociety.org> | 2015-10-06 09:09:25 +0100 |
commit | 1dfe20e45f1031449bfa2a85595e09d34fbc74ad (patch) | |
tree | d14ac787a0fa492da63ad79685ffaadf954371b0 /web/cobrands | |
parent | 91da8077bad2de594297c13c507cc5001c036531 (diff) |
[Zurich] UI improvements for DM/SDM report edit admin
- Styling for "Updated!" message
The message shown on form submission no longer pushes both columns
down, and disappears after 5 seconds.
- Make "time spent" labels inline to save space
- Simplify display of report admin category dropdown
- Change order of report admin inputs for Division Managers
See mysociety/FixMyStreet-Commercial#690
Diffstat (limited to 'web/cobrands')
-rw-r--r-- | web/cobrands/zurich/base.scss | 15 | ||||
-rw-r--r-- | web/cobrands/zurich/layout.scss | 5 |
2 files changed, 20 insertions, 0 deletions
diff --git a/web/cobrands/zurich/base.scss b/web/cobrands/zurich/base.scss index 131036229..bb515bf79 100644 --- a/web/cobrands/zurich/base.scss +++ b/web/cobrands/zurich/base.scss @@ -225,6 +225,21 @@ h4.static-with-rule { } } +.admin { + label.inline { + padding: 0; + } + + input[type="checkbox"] + label.inline { + margin-right: 0.2em; + } +} + +.admin-label--inline { + display: inline; // rather than block + margin-right: 0.333em; // bit of space between this and the following input +} + .ui-spinner input { // stop jQuery UI spinner inputs from inheriting FMS input styles padding: 1px; diff --git a/web/cobrands/zurich/layout.scss b/web/cobrands/zurich/layout.scss index 07e6c1c85..69864e94b 100644 --- a/web/cobrands/zurich/layout.scss +++ b/web/cobrands/zurich/layout.scss @@ -326,6 +326,11 @@ body.mappage.admin { #zurich-footer { margin: 2em auto 3em auto; } + + .message-updated { + color: #060; + font-weight: bold; + } } .admin-nav-wrapper { |