Merge pull request #684 from sgmap/improve_button_style

Improve button style
This commit is contained in:
Mathieu Magnin 2017-08-30 16:26:21 +02:00
commit 24a33a3714

View file

@ -7,6 +7,7 @@
border-radius: 30px; border-radius: 30px;
border: 1px solid $border-grey; border: 1px solid $border-grey;
font-size: 14px; font-size: 14px;
line-height: 20px;
background-color: #FFFFFF; background-color: #FFFFFF;
color: $black; color: $black;
cursor: pointer; cursor: pointer;
@ -17,6 +18,11 @@
text-decoration: none; text-decoration: none;
} }
&:active,
&:focus {
outline: none;
}
&.primary { &.primary {
color: #FFFFFF; color: #FFFFFF;
border-color: $blue; border-color: $blue;
@ -40,6 +46,7 @@
&.large { &.large {
font-size: 18px; font-size: 18px;
line-height: 26px;
padding: 15px 32px; padding: 15px 32px;
} }
@ -47,7 +54,7 @@
width: 100%; width: 100%;
} }
i { > i {
width: 18px; width: 18px;
height: 18px; height: 18px;
background-size: 18px 18px; background-size: 18px 18px;