diff options
author | Zarino Zappia <mail@zarino.co.uk> | 2020-03-02 12:40:41 +0000 |
---|---|---|
committer | Zarino Zappia <mail@zarino.co.uk> | 2020-03-02 12:40:41 +0000 |
commit | 233775bdc6f3aa6c0f1394390be3954282fe7cdd (patch) | |
tree | 7de36abba4fc631d112e7a5b1dd4edca6d43d00a /web/js/map-mastermap.js | |
parent | d65ce0e6b24c8302db4107290d12d8e7d5c864b9 (diff) |
Better background and border handling in button-variant() Sass mixin
A couple of small fixes to tidy the output of button-variant() and
make it easier to style up flat, borderless buttons.
* If $bg-top and $bg-bottom are identical, no linear-gradient() will
be generated. Same goes for $hover-bg-top and $hover-bg-bottom.
* If $border or $hover-border are `false`, then it’s assumed you don’t
want a border, and `border: none` will be generated.
Diffstat (limited to 'web/js/map-mastermap.js')
0 files changed, 0 insertions, 0 deletions