Less padding on buttons

This commit is contained in:
2017-06-06 17:03:16 +02:00
parent 5047803e3c
commit c3ea8228a1

View File

@@ -25,10 +25,9 @@
@mixin button($mixin-color, $roundness, $filled: false) @mixin button($mixin-color, $roundness, $filled: false)
font-family: $font-body font-family: $font-body
text-transform: uppercase text-transform: uppercase
opacity: .9
padding: padding:
left: 20px left: 12px
right: 20px right: 12px
border-radius: $roundness border-radius: $roundness
@if $filled @if $filled
@@ -45,7 +44,6 @@
transition: color 350ms ease-out, border 150ms ease-in-out, opacity 150ms ease-in-out, background-color 150ms ease-in-out transition: color 350ms ease-out, border 150ms ease-in-out, opacity 150ms ease-in-out, background-color 150ms ease-in-out
&:hover &:hover
opacity: 1
cursor: pointer cursor: pointer
text-decoration: none text-decoration: none
@@ -65,7 +63,7 @@
color: white color: white
i i
margin-right: 10px margin-right: 8px
small small
font-size: .6em font-size: .6em