diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2016-09-23 16:54:45 +0100 |
---|---|---|
committer | Matthew Somerville <matthew-github@dracos.co.uk> | 2016-10-04 10:37:52 +0100 |
commit | a9193cd34159cd1a133c5a79a5f49b26ce704df6 (patch) | |
tree | 136a2aab16ae0f2497e847bd1a8c703799e46ff7 /t/app/controller | |
parent | b860aa76086db0f30b1d9ba5241b2c850e5cda90 (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 't/app/controller')
0 files changed, 0 insertions, 0 deletions