87 lines
1.4 KiB
SCSS
87 lines
1.4 KiB
SCSS
@import "../global";
|
|
|
|
$button-focus-shift: 12%;
|
|
|
|
.button-set-item {
|
|
position: relative;
|
|
display: inline-block;
|
|
|
|
+ .button-set-item
|
|
{
|
|
margin-left: var(--button-padding);
|
|
}
|
|
}
|
|
|
|
.button-block, .faux-button-block
|
|
{
|
|
display: inline-block;
|
|
height: var(--button-height);
|
|
line-height: var(--button-height);
|
|
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;
|
|
}
|
|
.icon:only-child
|
|
{
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
}
|
|
}
|
|
.button-block
|
|
{
|
|
cursor: pointer;
|
|
}
|
|
|
|
.button__content {
|
|
margin: 0 var(--button-padding);
|
|
}
|
|
|
|
.button-primary
|
|
{
|
|
|
|
color: var(--button-primary-color);
|
|
background-color: var(--button-primary-bg);
|
|
box-shadow: var(--box-shadow-layer);
|
|
&:focus {
|
|
color: var(--button-primary-color);
|
|
//box-shadow: $box-shadow-focus;
|
|
//background-color: mix(black, $color-primary, $button-focus-shift)
|
|
}
|
|
}
|
|
.button-alt
|
|
{
|
|
background-color: var(--color-bg-alt);
|
|
box-shadow: var(--box-shadow-layer);
|
|
}
|
|
|
|
.button-text
|
|
{
|
|
@include text-link();
|
|
display: inline-block;
|
|
|
|
.button__content {
|
|
margin: 0 var(--text-link-padding);
|
|
}
|
|
}
|
|
.button-text-help
|
|
{
|
|
@include text-link(#aaa);
|
|
font-size: 0.8em;
|
|
}
|
|
.button--flat
|
|
{
|
|
box-shadow: none !important;
|
|
}
|