100 lines
1.7 KiB
SCSS
100 lines
1.7 KiB
SCSS
@import "../mixin/link.scss";
|
|
|
|
$button-focus-shift: 12%;
|
|
|
|
.button-set-item {
|
|
position: relative;
|
|
display: inline-block;
|
|
|
|
+ .button-set-item
|
|
{
|
|
margin-left: var(--button-intra-margin);
|
|
}
|
|
}
|
|
|
|
.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: var(--button-radius);
|
|
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;
|
|
font-weight: 500;
|
|
font-size: 14px;
|
|
transition: background var(--animation-duration) var(--animation-style);
|
|
}
|
|
|
|
.button__content {
|
|
margin: 0 var(--button-padding);
|
|
display: flex;
|
|
.link-label {
|
|
text-decoration: none !important;
|
|
}
|
|
}
|
|
|
|
.button-primary
|
|
{
|
|
|
|
color: var(--button-primary-color);
|
|
background-color: var(--button-primary-bg);
|
|
box-shadow: var(--box-shadow-layer);
|
|
|
|
&:focus {
|
|
//color: var(--button-primary-active-color);
|
|
//background-color:color: var(--button-primary-active-bg);
|
|
//box-shadow: $box-shadow-focus;
|
|
}
|
|
}
|
|
.button-alt
|
|
{
|
|
background-color: var(--button-bg);
|
|
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(var(--text-help-color));
|
|
font-size: 0.8em;
|
|
}
|
|
.button--flat
|
|
{
|
|
box-shadow: none !important;
|
|
}
|
|
|
|
.button--submit {
|
|
font-family: inherit;
|
|
line-height: 0;
|
|
}
|