2017-09-06 18:34:11 -04:00
|
|
|
@import "../mixin/link.scss";
|
2017-04-09 11:06:23 -04:00
|
|
|
|
|
|
|
$button-focus-shift: 12%;
|
|
|
|
|
|
|
|
.button-set-item {
|
|
|
|
position: relative;
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
+ .button-set-item
|
|
|
|
{
|
2017-09-06 18:03:09 -04:00
|
|
|
margin-left: var(--button-intra-margin);
|
2017-04-09 11:06:23 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button-block, .faux-button-block
|
|
|
|
{
|
|
|
|
display: inline-block;
|
2017-08-17 23:37:35 -06:00
|
|
|
height: var(--button-height);
|
|
|
|
line-height: var(--button-height);
|
2017-04-09 11:06:23 -04:00
|
|
|
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-26 23:54:53 -04:00
|
|
|
.icon:only-child
|
|
|
|
{
|
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2017-04-09 11:06:23 -04:00
|
|
|
}
|
|
|
|
.button-block
|
|
|
|
{
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.button__content {
|
2017-08-17 23:37:35 -06:00
|
|
|
margin: 0 var(--button-padding);
|
2017-04-09 11:06:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-primary
|
|
|
|
{
|
2017-08-17 23:37:35 -06:00
|
|
|
|
2017-08-18 18:06:53 -06:00
|
|
|
color: var(--button-primary-color);
|
2017-08-17 23:37:35 -06:00
|
|
|
background-color: var(--button-primary-bg);
|
|
|
|
box-shadow: var(--box-shadow-layer);
|
2017-08-18 19:46:45 -06:00
|
|
|
|
2017-04-09 11:06:23 -04:00
|
|
|
&:focus {
|
2017-08-18 19:46:45 -06:00
|
|
|
//color: var(--button-primary-active-color);
|
|
|
|
//background-color:color: var(--button-primary-active-bg);
|
2017-04-26 23:54:53 -04:00
|
|
|
//box-shadow: $box-shadow-focus;
|
2017-04-09 11:06:23 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.button-alt
|
|
|
|
{
|
2017-08-18 22:33:01 -06:00
|
|
|
background-color: var(--button-bg);
|
2017-08-17 23:37:35 -06:00
|
|
|
box-shadow: var(--box-shadow-layer);
|
2017-04-09 11:06:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.button-text
|
|
|
|
{
|
|
|
|
@include text-link();
|
|
|
|
display: inline-block;
|
|
|
|
|
|
|
|
.button__content {
|
2017-08-17 23:37:35 -06:00
|
|
|
margin: 0 var(--text-link-padding);
|
2017-04-09 11:06:23 -04:00
|
|
|
}
|
|
|
|
}
|
|
|
|
.button-text-help
|
|
|
|
{
|
2017-08-18 22:33:01 -06:00
|
|
|
@include text-link(var(--text-help-color));
|
2017-04-09 11:06:23 -04:00
|
|
|
font-size: 0.8em;
|
|
|
|
}
|
2017-04-26 23:54:53 -04:00
|
|
|
.button--flat
|
|
|
|
{
|
|
|
|
box-shadow: none !important;
|
2017-08-17 23:37:35 -06:00
|
|
|
}
|
2017-09-10 19:25:24 -06:00
|
|
|
|
|
|
|
.button--submit {
|
|
|
|
font-family: inherit;
|
|
|
|
font-size: inherit;
|
|
|
|
line-height: 0;
|
|
|
|
}
|