|
|
@ -45,6 +45,10 @@ $button--success-background-hover-color: darken($success-color, 18%) !default |
|
|
|
|
|
|
|
|
|
|
|
$button--text-icon-spacing: 0.65em !default |
|
|
|
$button--text-icon-spacing: 0.65em !default |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
%button--icon |
|
|
|
|
|
|
|
display: inline-block |
|
|
|
|
|
|
|
transition: scale 0.25s ease-out |
|
|
|
|
|
|
|
|
|
|
|
.button, |
|
|
|
.button, |
|
|
|
a.button |
|
|
|
a.button |
|
|
|
@extend %button |
|
|
|
@extend %button |
|
|
@ -63,10 +67,17 @@ a.button |
|
|
|
&:hover |
|
|
|
&:hover |
|
|
|
text-decoration: none |
|
|
|
text-decoration: none |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
.button--icon |
|
|
|
|
|
|
|
transform: scale(1.15) |
|
|
|
|
|
|
|
|
|
|
|
&.-with-icon |
|
|
|
&.-with-icon |
|
|
|
&::before |
|
|
|
&::before |
|
|
|
|
|
|
|
@extend %button--icon |
|
|
|
padding: 0 $button--text-icon-spacing 0 0 |
|
|
|
padding: 0 $button--text-icon-spacing 0 0 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
&:hover::before |
|
|
|
|
|
|
|
transform: scale(1.15) |
|
|
|
|
|
|
|
|
|
|
|
&.-highlight |
|
|
|
&.-highlight |
|
|
|
@include button-style($button--highlight-background-color, $button--highlight-background-hover-color, $button--highlight-font-color, $button-style) |
|
|
|
@include button-style($button--highlight-background-color, $button--highlight-background-hover-color, $button--highlight-font-color, $button-style) |
|
|
|
border-color: $button--highlight-background-color |
|
|
|
border-color: $button--highlight-background-color |
|
|
@ -118,7 +129,7 @@ a.button |
|
|
|
border-radius: 2em |
|
|
|
border-radius: 2em |
|
|
|
|
|
|
|
|
|
|
|
.button--icon |
|
|
|
.button--icon |
|
|
|
@include icon-common |
|
|
|
@extend %button--icon |
|
|
|
|
|
|
|
|
|
|
|
.button--icon + .button--text, |
|
|
|
.button--icon + .button--text, |
|
|
|
.button--text + .button--icon |
|
|
|
.button--text + .button--icon |
|
|
|