aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/sass/_layout.scss
diff options
context:
space:
mode:
authorDave Arter <davea@mysociety.org>2016-07-19 15:56:26 +0100
committerDave Arter <davea@mysociety.org>2016-09-06 15:05:09 +0100
commit6f82bb9e094d679d24a6286259e7652fd1304639 (patch)
tree82e1375a50daacd03750328a1bdaef7568a48d38 /web/cobrands/sass/_layout.scss
parentd3ce66d0add6754dd54624f1d35efc922054ce9b (diff)
Add inspector report detail view
Users with the `report_inspect` permission can click a new 'inspect' button on a report page to input more detailed problem information into a new form that appears in a column alongside the report detail. - Inspector data is stored in problem's 'extra' field - Report category/state can be edited - Location can be changed by dragging the pin or HTML5 geolocation (Factored out Zurich admin pin drag into own function) For mysociety/fixmystreetforcouncils#22
Diffstat (limited to 'web/cobrands/sass/_layout.scss')
-rw-r--r--web/cobrands/sass/_layout.scss23
1 files changed, 23 insertions, 0 deletions
diff --git a/web/cobrands/sass/_layout.scss b/web/cobrands/sass/_layout.scss
index 52c6c075d..73c614e91 100644
--- a/web/cobrands/sass/_layout.scss
+++ b/web/cobrands/sass/_layout.scss
@@ -333,6 +333,29 @@ body.mappage.admin {
}
}
+// Some report pages have a second column of UI elements so make room
+body.mappage.twocols {
+ #map_box {
+ #{$left}: 58em;
+ }
+
+ #map_sidebar {
+ width: 58em;
+ padding: 0;
+
+ #side-report, #side-report-secondary {
+ width: 50%;
+ float: #{$left};
+ padding: 1em;
+ box-sizing: border-box;
+ }
+
+ #side-report-secondary {
+ background-color: #eee;
+ }
+ }
+}
+
#map_box {
position: absolute;
z-index: auto;