| Commit message (Collapse) | Author | Age | Lines |
|
|
|
| |
This makes it easier for cobrands to override nav link styles.
|
|
|
|
|
|
| |
Most noticeably, this fixes a long standing bug on the Oxfordshire
homepage where the "how to" and list of reports made the right-hand
edge of .content spill outside its parent.
|
|
|
|
|
|
| |
Allow multiple asset layers, and setting of multiple asset attributes.
[Bristol] Add Bristol asset layers.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
When this commit is finished, modern browsers will have a far less
buggy layout on .with-notes pages. The main improvements are:
1. Simplified padding on .with-notes columns, allowing us to link to
an individual column (eg: /inspect#side-report-secondary) without
the browser scrolling down to jump over the #map_sidebar padding on
desktop browsers. Making hash fragment scrolling work means we can
automatically scroll Inspectors down to the Inspect form, when they
click the Inspect button on mobile devices, without worrying about
it breaking the desktop experience.
2. Flexible .with-notes column widths, meaning the layout no longer
breaks when long sidebar content triggers a scrollbar and decreases
the usable width of the sidebar. A predefined width for #side-report
means we can make sure .shadow-wrap is the correct width, despite
its fixed position taking it out of the document flow.
We make a trade-off on mid-size screens (768-960px), of hiding the map
to keep the two-column sidebar usable. Will revisit if it turns out
this causes problems later on.
|
|
|
|
|
|
|
|
| |
- Harmonise two-column sidebar with .with-notes convention
`body.mappage.twocol` is now `body.mappage.with-actions` to make it
more obvious that it’s just a special case like `.with-notes`.
- Make sidebar padding-bottom work with floated children
- Display a.btn elements correctly in Safari
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|\ |
|
| |
| |
| |
| |
| | |
On mobile, the notes in `#report-a-problem-sidebar` are hidden by
default, and can be toggled using the `.rap-notes-trigger`.
|
|/
|
|
|
| |
Tidy up use of absolute URLs when in the admin.
Have the 404 handler spot static files in admin as a fallback.
|
|\ |
|
| |
| |
| |
| |
| | |
Show map, break into two columns, fix display of sent time after
clicking "Mark as sent", tidy up labels.
|
|/
|
|
|
|
|
| |
Fixes #1419.
We also standardize on using `@include box-shadow()` where possible,
and clearing out lots of now unnecessary box-shadow resets.
|
|
|
|
|
| |
.tablewrapper was sometimes losing its background,
it needs to be given hasLayout.
|
|
|
|
|
|
| |
Document the couple that are left, and fix the display of the logo
with a simpler positioning/ less overriding. Drop a needless usage
of 'rem' to make things a bit easier there too.
|
| |
|
|
|
|
|
| |
The 'cross' at mobile widths was not displaying, and the icon was not
changing to a down arrow at larger widths.
|
|
|
|
|
|
| |
This improves upon the previous commit to work with whatever contents
the map sidebar has (e.g. the list on an around page was also being cut
off before the end).
|
|
|
|
|
|
| |
On IE9 the bottom of the update form was being
obscured by the shadow above the report abuse
/updates/nearby buttons for signed-in users.
|
| |
|
|\ |
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
This simplifies the page layout and code. We add a new #map_sidebar for
sidebar positioning, and a $mappage-header-height (defaulting to 4em)
variable. We no longer need:
* position_map_box;
* map_fix;
* special visual centre calculation; or
* custom pan zoom positioning.
As the sidebar now scrolls by itself and nothing can extend outside:
* The big-green-banner is set to 100% width (with negative margins no
longer required);
* For cobrands that have an overhanging sidebar (e.g. Zurich), we add
a .with-notes variant that adds a second column to the sidebar,
perfect for containing secondary notes about the form.
The resizing of the banner also required some tweaking to the size of
the chevron-white SVG images.
Update the $.fn.drawer() method for the new layout. Works well in IE7+8,
and degrades gracefully in IE6.
For IE7, we remove the existing z-index hacks, and put a new, simpler,
one in, and fix a CSS bug that was hiding the map.
Various cobrands are updated to adapt to the changes.
|
| |
| |
| |
| |
| | |
We previously used !important to override them in the CSS, but better to
prevent them being set in the JavaScript in the first place.
|
|/
|
|
|
|
|
|
| |
Move to using libsass via CSS::Sass, and stop using compass, supplying
any used mixins directly. This removes the need for any ruby/gem based
installation, and greatly increases the speed of compilation. make_css
is also enhanced, bringing in the file monitoring previously done by a
separate script and improving its dependency monitoring.
|
| |
|
|
|
|
| |
Fixes #1308.
|
|
|
|
| |
These files may be included by files in a different directory.
|
|
|
|
|
| |
The changes in 99610f1 missed out adding a class to the footer menu,
and a few subsequent changes to the CSS.
|
|
|
|
|
| |
Reduce need for specificity. Also fix some bugs in Harrogate base menu
display, and couple of other cobrand tweaks.
|
|
|
|
|
|
|
|
| |
Hide the map with aria-hidden, as all report links are duplicated in the
main content. Fix skip map link on mobile (it was disappearing). Place
delegate handler on body to prevent e.g. VoiceOver announcing everything
underneath .container as clickable. Remove header report button rather
than hide off-screen, as is a duplicate link to the previous.
|
|
|
|
| |
Remove unnecessary authpage things from other cobrands.
|
|
|
|
|
| |
Adds a '$direction' parameter that can be used to switch all
layout to either left or right.
|
|
|
|
| |
Remove unused 'oldie' (that was IE6-9).
|
|
|
|
|
| |
Replaces the existing Bromley council cobrand with a new one that uses
the latest FMS styling. Including the new report list/filter sidebar.
|
|
|
|
|
|
|
|
| |
The new button will be inherited by any cobrand that extends
fixmystreet/header_logo.html. Styling has been checked in all
current cobrands.
Also includes a minor fix to header logo margins on narrow screens.
|
| |
|
| |
|
|
|
|
|
| |
And remove it in footer if present (so that a different background
doesn't potentially show through).
|
|
|
|
| |
Fixes #929. Also move admin hint CSS to base CSS, not just layout.
|
|
|
|
| |
This look works well on the default styling also.
|
|
|
|
|
| |
This crashes at least one mobile browser; not sure why, but we can do
without it.
|
|
|
|
|
|
|
|
| |
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".
|
| |
|
|
|
|
|
| |
This removes all "hanging on" sidebars apart from the main reporting a
problem one, interspersing the text in the form instead.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
Without a bottom border specified, using border-image causes an
inherited 'medium' (c. 3px) border to appear. Also repeat header
border image, rather than default stretch.
|
| |
|