aboutsummaryrefslogtreecommitdiffstats
path: root/web/cobrands/sass
Commit message (Collapse)AuthorAgeLines
* Clearer relocation options while reporting.Zarino Zappia2018-11-06-4/+33
| | | | | | | | | | | | | | | | Now that the "Report a problem" link in the nav bar links, more often than not, to the reporting form rather than the homepage, it could be challenging to actually start a new report in a location *other* than the one currently on screen. Rather than adding a link to the homepage, this change hopefully adds a link right at the moment the user expects it – right on the "Report a problem" form. It also gave us an opportunity to reword the "Wrong location" message and give it an icon more suitable for high-dpi displays. Fixes #2238.
* Revert "Clearer relocation options while reporting."Matthew Somerville2018-11-06-33/+4
| | | | This reverts commit ee3c4e05daf3f4df01762ead3d07697a12f13a28.
* Rename nav SCSS variable names.Matthew Somerville2018-10-22-7/+17
| | | | | Anything using old names should still work as long as they included the mixins file.
* More efficient horizontal spacing in dashboard-options-tabsZarino Zappia2018-10-03-1/+16
|
* Clearer relocation options while reporting.Zarino Zappia2018-10-03-4/+33
| | | | | | | | | | | | | | | | Now that the "Report a problem" link in the nav bar links, more often than not, to the reporting form rather than the homepage, it could be challenging to actually start a new report in a location *other* than the one currently on screen. Rather than adding a link to the homepage, this change hopefully adds a link right at the moment the user expects it – right on the "Report a problem" form. It also gave us an opportunity to reword the "Wrong location" message and give it an icon more suitable for high-dpi displays. Fixes #2238.
* Revert 50693857 “Clearer relocation options...”Matthew Somerville2018-10-03-33/+4
| | | | So version 2.4.1 has no translation changes, putting back straight after.
* Nicer image replacement for #nav-link mobile menu buttonZarino Zappia2018-10-01-2/+3
| | | | | | | | | | | The large negative text-indent can sometimes cause horizontal scrollbars in Right-to-Left languages, and, in some browsers, can also result in a huge :focus outline being drawn around the button and off to the right of the window. Setting a zero height, padding top, and overflow:hidden is a simpler way to achieve the same thing, and works regardless of text direction, text length, or focus state.
* Reduce specificity of #front_stats CSSZarino Zappia2018-10-01-37/+36
| | | | There is no need for #front_stats to always be nested inside of #front-howto.
* Improve vertical alignment of #main-nav in IE9-11Zarino Zappia2018-10-01-0/+14
|
* Clearer relocation options while you’re reporting a problemZarino Zappia2018-09-19-4/+33
| | | | | | | | | | | | | | | | Now that the "Report a problem" link in the nav bar links, more often than not, to the reporting form rather than the homepage, it could be challenging to actually start a new report in a location *other* than the one currently on screen. Rather than adding a link to the homepage, this change hopefully adds a link right at the moment the user expects it – right on the "Report a problem" form. It also gave us an opportunity to reword the "Wrong location" message and give it an icon more suitable for high-dpi displays. Fixes #2238.
* Make sure Home clickable with Try again overlay.Matthew Somerville2018-08-28-1/+1
|
* Merge remote-tracking branch 'origin/2012-new-report-near-here'Matthew Somerville2018-08-07-1/+1
|\
| * Better padding for "report a problem" nav buttonZarino Zappia2018-08-07-1/+1
| |
* | "Report another problem here" button on confirmation pageZarino Zappia2018-08-07-0/+6
|/ | | | | | | Part of #2012. Should make it much quicker to report multiple problems in the same location, one after the other.
* Favour .form-hints over input placeholder attributesZarino Zappia2018-08-01-3/+26
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes #2180. Input placeholders are a generally problematic UI convention, and we’ve accidentally started using them in more and more parts of FMS over the last few years. In some cases, the placeholders simply repeated text from the input’s existing label element. In cases like those, the placeholder attribute could just be removed. In other cases, we broke the placeholder text out into a .form-hint element, between the input and its label, so that the text is easily accessible and falls into the top-to-bottom reading flow. Notable changes: * Form hint on main postcode search form, instead of placeholder. * Form hint on alert search form, instead of placeholder. * Form hints in reporting form (problem summary and description), instead of placeholders. * Removed placeholders from most login/password inputs. * The character limit for "Inspector" report updates is no longer displayed in the textarea placeholder. * Form hints now `#666` grey, and better spaced when immediately following a label element.
* Reduce complexity of footer CSS.Matthew Somerville2018-06-15-50/+40
|
* Remove small border to left of Fixed banner.Martin Wright2018-06-13-0/+4
| | | | This was caused by the header overlapping the state banner
* Merge remote-tracking branch 'origin/nicetable-thead-css-bug'Matthew Somerville2018-05-29-1/+1
|\
| * Fix CSS specificity bug with new nicetable hover stylesZarino Zappia2018-05-24-1/+1
| |
* | Fix issues with RTL display/hardcoded directions.Matthew Somerville2018-05-29-96/+72
| |
* | Fix typo in sub-map-link-icon definition.Matthew Somerville2018-05-29-1/+1
|/
* Reintroduce “nicetable” class for simple table stylingZarino Zappia2018-05-23-0/+52
| | | | Useful for simple tables like the cookie lists on Privacy Policy pages.
* Avoid empty space either side of "key tools" drawer when openZarino Zappia2018-05-21-0/+1
| | | | Fixes #2124.
* Add UI for selecting multiple wards from /reports/ body pageDave Arter2018-05-14-0/+5
| | | | Fixes mysociety/fixmystreetforcouncils#231
* Only hide deleted rows in contacts table.Matthew Somerville2018-05-08-1/+1
| | | | | Only the contacts table gets a button added to toggle the display of deleted rows; elsewhere the rows need to continue to be shown.
* Simplify .internal-link-fixed-header positioningZarino Zappia2018-05-08-7/+2
| | | | | | | | | | | | | | Since #map_sidebar no longer disappears behind #site_header, there is no need for .internal-link-fixed-header to compensate for the height of the header. Just an arbitrary 2em offset is enough to prevent it butting up against the top of the #map_sidebar scrollable element. Meanwhile, moving the .internal-link-fixed-header anchor element to the top of its parent list item means it no longer has to compensate for the height of the moderation form elements, because those elements (indeed, the entire list item <form>) now comes *after* the anchor. Fixes mysociety/fixmystreet-commercial#1027.
* Fix front page critical CSS loading in IE.Matthew Somerville2018-05-02-1/+1
| | | | | | | | | | | | | | | | | | The easy thing first - IE appears to 'stack' :before entries, so if a stylesheet is loaded multiple times (e.g. due to critical CSS loading on the front page), a font-size of 2.5em gets multipled. Switching to rems fixes this. The preload polyfill in IE8/9 loads the base stylesheet as if it were after the layout stylesheet, which breaks the navigation display. The polyfill has a new version which is somewhat simplified, updating the existing <link> rather than creating a new one, so we upgrade to that plus a PR to prevent browser hanging. However, in IE8 this now incorrectly uses the print styles on screen, meaning the navigation and footer disappear. So use an IE conditional comment to just cut IE8 out entirely. This means we can also cut down the polyfill somewhat.
* Fix/tidy front-only hover behaviour.Matthew Somerville2018-05-02-1/+17
|
* Drop IE7 support.Matthew Somerville2018-05-02-101/+4
|
* hide deleted contacts by defaultStruan Donald2018-04-23-0/+4
| | | | | | | If JavaScript is enabled hide the deleted contacts from the list on the body page. Display as normal if no JavaScript. Fixes #1962
* group the open 311 endpoint options in admin interfaceStruan Donald2018-04-11-0/+5
| | | | | Makes a bit more sense to group those relating to sending/receiving comments together and those relating to fetching comments together.
* Fix for table alignment on reports summary pageMartin Wright2018-04-06-1/+1
|
* No longer horizontally align label with JS.Martin Wright2018-04-06-1/+3
| | | | | Fixes positioning bugs in all versions of IE due to calculating the wrong horizontal position.
* prevent label positioning from happening in IE9Martin Wright2018-04-06-0/+20
|
* Remove height from canvas obj in chart containersMartin Wright2018-04-06-1/+0
| | | | Fixes broken aspect ratio in IE10
* Standardise styling for #sub_map_links and #mob_sub_map_linksZarino Zappia2018-04-03-102/+122
| | | | | | | | Fixes #2018 by making the #sub_map_links bigger. But the greater win here is that we’re using fewer ID selectors in our CSS, and both #sub_map_links and #mob_sub_map_links now share the same styling – both of which are good for maintainability.
* [UK] Area summary dashboards with plug for FMS ProMatthew Somerville2018-03-27-0/+3
| | | | Fixes mysociety/fixmystreet-commercial#943.
* Fix issues with new report pin, improve cursor.Matthew Somerville2018-03-26-0/+10
| | | | | | | | | | The "coerce pin ID to integer" behaviour to fix a previous issue was coercing undefined to NaN, which then caused other problems with the new report pin, such as fading out when hovered, and being the wrong size. Also improve the cursor handling, showing the grab/ grabbing cursors where available.
* Fix disappearing large-width visited navigation.Matthew Somerville2018-03-19-0/+3
| | | | The change to base in fc172603 affected the layout display.
* Prevent override of mobile nav visited links.Matthew Somerville2018-03-14-0/+3
|
* Increase size of sub map linksZarino Zappia2018-03-01-5/+10
| | | | | | | | The tiny buttons could prove hard to trigger, especially on touchscreen devices, and with large screens now more commonplace, there’s no reason not to give them a few more pixels. One of a number of enhancements suggested in #1462.
* Merge branch '1942-admin-anonymize'Matthew Somerville2018-01-31-0/+4
|\
| * Admin ability to make user anonymous.Matthew Somerville2018-01-31-0/+4
| |
* | Top banner should be in all stylesheets.Matthew Somerville2018-01-23-0/+1
|/ | | | | A top banner (for e.g. offline, or just custom display) could be used by any cobrand, so remove the need to add an extra line of CSS.
* Force dashboard filters onto a single lineZarino Zappia2017-12-19-0/+5
| | | | Fixes part of mysociety/fixmystreet-commercial#965.
* Add bar chart functionality, for area summary pageZarino Zappia2017-12-15-22/+21
|
* Improve data filter/"Group by" UI on /dashboard.Zarino Zappia2017-12-14-8/+114
| | | | This will also be used by /reports/[body]/summary in a bit.
* Nicer multi-select elements in Admin pagesZarino Zappia2017-11-29-3/+8
| | | | Fixes #1589.
* display council contacts on council dashboardStruan Donald2017-11-28-5/+17
| | | | | | | | Display a list of the email addresses used to contact the council on the council dashboard. Does not display emails if the council has an integration, rejects FMS reports or is currently turned off. Fixes mysociety/fixmystreetforcouncils#941
* Second, more prominent Hide Pins linkZarino Zappia2017-11-27-1/+44
| | | | An experiment towards fixing #525.