aboutsummaryrefslogtreecommitdiffstats
path: root/perllib/FixMyStreet/App/Controller/Report.pm
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2016-09-23 16:54:45 +0100
committerMatthew Somerville <matthew-github@dracos.co.uk>2016-10-04 10:37:52 +0100
commita9193cd34159cd1a133c5a79a5f49b26ce704df6 (patch)
tree136a2aab16ae0f2497e847bd1a8c703799e46ff7 /perllib/FixMyStreet/App/Controller/Report.pm
parentb860aa76086db0f30b1d9ba5241b2c850e5cda90 (diff)
Tidied up .btn class and button-reset mixin
Even though FMS has had a `.btn` class for a while, styling buttons has still been difficult, mainly because of the very opinionated base styles applied to overpowered selectors like `input[type="submit"]`. This commit brings the FMS styles more in line with modern frameworks like Bootstrap – inputs and buttons are left completely unstyled by default, with an opt-in `.btn` class to add the styles back in. Since `.btn` is just a single class, it’s easy to override, and avoids selector bloat like `.green-btn, button.green-btn, input.green-btn`.
Diffstat (limited to 'perllib/FixMyStreet/App/Controller/Report.pm')
0 files changed, 0 insertions, 0 deletions