| Commit message (Collapse) | Author | Age | Lines |
... | |
|
|
|
|
|
|
|
|
| |
This refactors the Map::Zurich module into something that makes it easier
to use custom map tiles for a cobrand.
This also includes some refactoring of the JS & map templates
to make it easier to use a custom WMTS base map in future
cobrands.
|
|
|
|
| |
For mysociety/FixMyStreet-Commercial#766.
|
|\ |
|
| |
| |
| |
| |
| | |
.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.
|
| | |
|
| | |
|
|/
|
|
| |
Stop sidebar overlapping footer, and giving footer heading a top border.
|
|
|
|
|
| |
The 'cross' at mobile widths was not displaying, and the icon was not
changing to a down arrow at larger widths.
|
| |
|
| |
|
|
|
|
|
| |
Remove quite a bit of unnecessary CSS that was not
actually helping with display.
|
| |
|
|
|
|
|
|
| |
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.
|
| | |
|
| |
| |
| |
| |
| |
| |
| | |
Always centre the map on the new point when creating a new report. This
will be helpful when the map element can change width to accommodate the
.with-notes variant, is easier than the previous method, and feels very
natural.
|
| | |
|
| |
| |
| |
| |
| | |
We previously used !important to override them in the CSS, but better to
prevent them being set in the JavaScript in the first place.
|
| |
| |
| |
| |
| | |
The fix in e070ba89 for the big white chevron was also applied to these
chevrons which did not need extra paddig, and made them display smaller.
|
|\ \ |
|
| | |
| | |
| | |
| | | |
Remove duplicate/alternate definitions, and settle on the name clearfix.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
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.
|
|\ \ \
| |_|/
|/| | |
|
| | | |
|
| |/
|/| |
|
|/
|
|
| |
Specifically to get the https://github.com/openlayers/ol2/pull/1418 fix.
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
| |
|
|
|
|
| |
This uses the master branch of OpenLayers 2.
|
|
|
|
|
| |
For some reason if the content is floated, Firefox leaves a very large
gap that actually blanks out the content underneath it.
|
|
|
|
|
|
|
|
|
|
|
| |
Like a number of recent council cobrands, we remove parts of the default
desktop footer and append our own responsive one in `footer_extra.html`.
This also updates the FixMyStreet app logos (for fixmystreet.com and any
other cobrands that use them) to the most recent style of Apple / Google
sanctioned badges.
Fixes #1385.
|
|\ |
|
| |
| |
| |
| | |
And associated, e.g. nothing references fixmystreet-old-box.js any more.
|
| | |
|
| |
| |
| |
| |
| | |
A white border doesn't work if the content bar isn't white.
Fixes 1380.
|
|\ \
| |/
|/| |
|
| | |
|
| | |
|
|/
|
|
|
|
|
| |
Store image type along with hash in photo column, and use that when
outputting images / generating URLs. Make sure all public photo URL
generation goes through appropriate functions, and change temp URLs
so the filename can be output directly from the list.
|
|
|
|
|
| |
There's no need for the IP->country lookup, only used in JavaScript
to display a banner, to require a call to the FixMyStreet server.
|
| |
|
| |
|
| |
|
| |
|