aboutsummaryrefslogtreecommitdiffstats
path: root/script/bootstrap
diff options
context:
space:
mode:
authorZarino Zappia <mail@zarino.co.uk>2020-03-02 12:40:41 +0000
committerZarino Zappia <mail@zarino.co.uk>2020-03-02 12:40:41 +0000
commit233775bdc6f3aa6c0f1394390be3954282fe7cdd (patch)
tree7de36abba4fc631d112e7a5b1dd4edca6d43d00a /script/bootstrap
parentd65ce0e6b24c8302db4107290d12d8e7d5c864b9 (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 'script/bootstrap')
0 files changed, 0 insertions, 0 deletions