2017-04-09 17:06:23 +02:00
|
|
|
@import "../global";
|
|
|
|
|
|
|
|
$button-focus-shift: 12%;
|
|
|
|
|
|
|
|
.button-set-item {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
+ .button-set-item
|
|
|
|
{
|
2017-08-26 05:21:26 +02:00
|
|
|
margin-left: $spacing-vertical;
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-block, .faux-button-block
|
|
|
|
{
|
|
|
|
display: inline-block;
|
|
|
|
height: $height-button;
|
|
|
|
line-height: $height-button;
|
|
|
|
text-decoration: none;
|
|
|
|
border: 0 none;
|
|
|
|
text-align: center;
|
|
|
|
border-radius: 2px;
|
|
|
|
text-transform: uppercase;
|
|
|
|
.icon
|
|
|
|
{
|
|
|
|
top: 0em;
|
|
|
|
}
|
|
|
|
.icon:first-child
|
|
|
|
{
|
|
|
|
padding-right: 5px;
|
|
|
|
}
|
|
|
|
.icon:last-child
|
|
|
|
{
|
|
|
|
padding-left: 5px;
|
|
|
|
}
|
2017-04-27 05:54:53 +02:00
|
|
|
.icon:only-child
|
|
|
|
{
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
|
|
|
.button-block
|
|
|
|
{
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button__content {
|
|
|
|
margin: 0 $padding-button;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-primary
|
|
|
|
{
|
|
|
|
$color-button-text: white;
|
|
|
|
color: darken($color-button-text, $button-focus-shift * 0.5);
|
|
|
|
background-color: $color-primary;
|
2017-04-27 05:54:53 +02:00
|
|
|
box-shadow: $box-shadow-layer;
|
2017-04-09 17:06:23 +02:00
|
|
|
&:focus {
|
|
|
|
color: $color-button-text;
|
2017-04-27 05:54:53 +02:00
|
|
|
//box-shadow: $box-shadow-focus;
|
2017-04-09 17:06:23 +02:00
|
|
|
background-color: mix(black, $color-primary, $button-focus-shift)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button-alt
|
|
|
|
{
|
|
|
|
background-color: $color-bg-alt;
|
2017-04-27 05:54:53 +02:00
|
|
|
box-shadow: $box-shadow-layer;
|
2017-04-09 17:06:23 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-text
|
|
|
|
{
|
|
|
|
@include text-link();
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
.button__content {
|
|
|
|
margin: 0 $padding-text-link;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.button-text-help
|
|
|
|
{
|
|
|
|
@include text-link(#aaa);
|
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
2017-04-27 05:54:53 +02:00
|
|
|
.button--flat
|
|
|
|
{
|
|
|
|
box-shadow: none !important;
|
|
|
|
}
|