aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/default
Commit message (Collapse)AuthorAgeLines
* Modernise report "status" bannerZarino Zappia2018-12-13-3/+0
| | | | | | | | | | | | | * Simplify markup required for the status banner. * Simplify styles - the banner is now identical on all screen sizes. * Move the banner from `report/display.html` into `report/_main.html` so that it can appear after `.problem-back` in the source order. * Use real pin icon instead of `pin-flat-white-small.png`. * Set a default `$col_fixed_label` colour in `_base.scss`, so cobrands don’t have to define it themselves if they’re happy with green. * Introduce `$col_fixed_label_light`, with a sensible default for all cobrands, even ones that have a custom `$col_fixed_label`. * Remove `$col_fixed_label_dark` – no longer needed.
* Rename nav SCSS variable names.Matthew Somerville2018-10-22-3/+3
| | | | | Anything using old names should still work as long as they included the mixins file.
* Merge branch '1350-stop-map-hiding-behind-header'Matthew Somerville2016-06-03-1/+0
|\
| * Absolutely position map pages.Zarino Zappia2016-06-03-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | Improve CSS compilation.Matthew Somerville2016-05-31-26/+0
|/ | | | | | | | 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.
* Allow cobrands to control front page number colourDave Arter2016-03-29-0/+3
| | | | | | Several cobrands override the colour of the 'how to report a problem' numbers on the front page, so this commit allows that to be a one-line change in the cobrand's _colours.scss.
* Add some inline docs about using right-to-left.Matthew Somerville2015-09-17-0/+5
|
* Factor out some CSS colours, so that default layout CSS has no overrides.Matthew Somerville2013-10-25-37/+7
|
* Move SCSS includes to separate directory.Matthew Somerville2013-05-24-4/+4
| | | | | This prevents warnings/errors when compiling in newer versions of SASS to do with overlapping filenames.
* Split contrast1 into its two current uses.Matthew Somerville2012-12-06-6/+11
|
* Move more FixMyStreet-only CSS images out of shared layout styles.Matthew Somerville2012-12-06-9/+0
|
* Default front-main to simple background and colour, reducing cobrand overrides.Matthew Somerville2012-12-05-12/+0
|
* Move default cobrand to new design.Matthew Somerville2012-07-13-0/+101
Due to old cobrands, this involves the subclasses implementing the web templates dir to ignore what the default is doing. A vaguely garish yet pleasing colour scheme has been chosen so that the site is both usable and suggests you may want to change it.