2017-03-28 03:37:59 +00:00
|
|
|
.button {
|
|
|
|
background: $button-background;
|
2019-10-03 20:07:53 +00:00
|
|
|
border: 1px solid #d6d6d7;
|
|
|
|
border-radius: 1px;
|
|
|
|
box-sizing: border-box;
|
2017-03-28 03:37:59 +00:00
|
|
|
color: $button-font-color;
|
2015-11-10 21:58:56 +00:00
|
|
|
display: inline-block;
|
2017-03-28 03:37:59 +00:00
|
|
|
font-family: $button-font-family;
|
|
|
|
font-size: $button-font-size;
|
2019-10-03 20:07:53 +00:00
|
|
|
font-weight: $font-weight-medium;
|
|
|
|
line-height: 1.6em;
|
2017-03-28 03:37:59 +00:00
|
|
|
margin-bottom: 4px;
|
2019-10-03 20:07:53 +00:00
|
|
|
padding: 13px 19px;
|
2017-03-28 03:37:59 +00:00
|
|
|
text-decoration: none;
|
2015-11-10 21:58:56 +00:00
|
|
|
|
2017-03-28 03:37:59 +00:00
|
|
|
&:hover,
|
|
|
|
&:active,
|
|
|
|
&:focus {
|
|
|
|
text-decoration: none;
|
2015-11-10 21:58:56 +00:00
|
|
|
}
|
|
|
|
|
2019-10-03 20:07:53 +00:00
|
|
|
&:focus {
|
|
|
|
border: 3px solid $nomad-l1;
|
|
|
|
color: $button-font-color;
|
|
|
|
outline: none;
|
|
|
|
padding: 11px 17px;
|
|
|
|
}
|
|
|
|
|
2017-03-28 03:37:59 +00:00
|
|
|
&:hover {
|
2019-10-03 20:07:53 +00:00
|
|
|
background: #eaeaeb;
|
|
|
|
border: 1px solid #d6d6d7;
|
|
|
|
color: $button-font-color;
|
|
|
|
padding: 13px 19px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background: #dfdfe0;
|
|
|
|
border: 1px solid #d6d6d7;
|
|
|
|
color: $button-font-color;
|
|
|
|
padding: 13px 19px;
|
2015-11-10 21:58:56 +00:00
|
|
|
}
|
|
|
|
|
2017-03-28 03:37:59 +00:00
|
|
|
&.primary {
|
|
|
|
background: $button-primary-background;
|
2019-10-03 20:07:53 +00:00
|
|
|
border: none;
|
|
|
|
color: $white;
|
|
|
|
padding: 14px 20px;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
border: 3px solid $nomad-l1;
|
|
|
|
padding: 11px 17px;
|
|
|
|
}
|
2015-11-10 21:58:56 +00:00
|
|
|
|
2017-03-28 03:37:59 +00:00
|
|
|
&:hover {
|
2019-10-03 20:07:53 +00:00
|
|
|
background: linear-gradient(0deg, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
|
|
|
|
$button-primary-background;
|
|
|
|
border: none;
|
|
|
|
padding: 14px 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:active {
|
|
|
|
background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)),
|
|
|
|
$button-primary-background;
|
|
|
|
border: none;
|
|
|
|
padding: 14px 20px;
|
2015-11-10 21:58:56 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-03-28 03:37:59 +00:00
|
|
|
&.inline {
|
|
|
|
padding: 8px 14px;
|
2015-11-10 21:58:56 +00:00
|
|
|
}
|
2015-09-12 00:01:02 +00:00
|
|
|
}
|