2020-06-02 23:10:53 -07:00
|
|
|
button {
|
|
|
|
font-family: inherit;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
&:focus {
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.button {
|
|
|
|
background-color: var(--brand-color);
|
|
|
|
border: 10px none;
|
2021-09-20 19:35:54 -07:00
|
|
|
border-radius: 999px;
|
2020-06-02 23:10:53 -07:00
|
|
|
box-sizing: border-box;
|
|
|
|
color: #fff;
|
|
|
|
cursor: pointer;
|
2021-10-13 12:24:22 -07:00
|
|
|
display: inline-flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
2020-06-02 23:10:53 -07:00
|
|
|
font-family: inherit;
|
|
|
|
font-size: 14px;
|
|
|
|
font-weight: 500;
|
|
|
|
height: 36px;
|
|
|
|
letter-spacing: 0;
|
|
|
|
line-height: 36px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 0 16px;
|
|
|
|
position: relative;
|
|
|
|
text-align: center;
|
|
|
|
text-decoration: none;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
white-space: nowrap;
|
|
|
|
width: auto;
|
|
|
|
transition: 0.2s;
|
|
|
|
|
2021-10-13 12:24:22 -07:00
|
|
|
.svg-icon {
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
|
2021-10-14 06:22:17 -07:00
|
|
|
&__link {
|
|
|
|
text-decoration: none;
|
|
|
|
}
|
|
|
|
|
2020-06-02 23:10:53 -07:00
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2020-06-06 20:55:00 -07:00
|
|
|
background-color: var(--brand-color--hicontrast);
|
2020-06-02 23:10:53 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&--destructive {
|
|
|
|
transition: none;
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: $error-red;
|
|
|
|
transition: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&--small {
|
|
|
|
font-size: 13px;
|
|
|
|
height: auto;
|
|
|
|
line-height: normal;
|
|
|
|
padding: 4px 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled,
|
|
|
|
&.disabled {
|
2022-02-14 12:35:35 -08:00
|
|
|
opacity: 0.2;
|
2020-06-02 23:10:53 -07:00
|
|
|
cursor: default;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner {
|
|
|
|
border: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&::-moz-focus-inner,
|
|
|
|
&:focus,
|
|
|
|
&:active {
|
|
|
|
outline: 0 !important;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.button-alternative {
|
2020-12-31 18:47:15 -08:00
|
|
|
color: #fff;
|
2020-06-02 23:10:53 -07:00
|
|
|
background: var(--brand-color);
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
|
|
|
background-color: var(--brand-color);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.button-alternative-2 {
|
2020-06-07 14:44:17 -07:00
|
|
|
background: var(--accent-color);
|
2020-06-02 23:10:53 -07:00
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2020-06-07 14:44:17 -07:00
|
|
|
background-color: var(--accent-color--bright);
|
2020-06-02 23:10:53 -07:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.button-secondary {
|
2021-09-21 11:45:37 -07:00
|
|
|
color: var(--primary-text-color);
|
2020-06-02 23:10:53 -07:00
|
|
|
background: transparent;
|
|
|
|
border: 1px solid var(--brand-color);
|
|
|
|
|
|
|
|
&:active,
|
|
|
|
&:focus,
|
|
|
|
&:hover {
|
2021-09-21 11:45:37 -07:00
|
|
|
border-color: var(--accent-color);
|
2020-06-02 23:10:53 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled {
|
|
|
|
opacity: 0.5;
|
|
|
|
}
|
2020-08-23 13:31:49 -07:00
|
|
|
|
|
|
|
i.fa {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
2020-06-02 23:10:53 -07:00
|
|
|
}
|
|
|
|
|
|
|
|
&.button--block {
|
2021-10-13 12:24:22 -07:00
|
|
|
display: flex;
|
2020-06-02 23:10:53 -07:00
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2020-03-27 13:59:38 -07:00
|
|
|
button,
|
|
|
|
a.button {
|
2020-04-21 17:44:55 -07:00
|
|
|
&.standard {
|
2020-03-27 13:59:38 -07:00
|
|
|
|
2020-04-21 17:44:55 -07:00
|
|
|
// NOTE - will define the larger standard buttons here and apply class where used.
|
2020-03-27 13:59:38 -07:00
|
|
|
|
2020-04-21 17:44:55 -07:00
|
|
|
&-small {
|
|
|
|
@include font-size(11);
|
|
|
|
@include line-height(11);
|
|
|
|
@include font-weight(bold);
|
2020-05-28 17:58:37 -07:00
|
|
|
height: 20px;
|
|
|
|
padding: 5px 15px;
|
|
|
|
border: 0;
|
|
|
|
border-radius: 4px;
|
2020-04-21 17:44:55 -07:00
|
|
|
text-transform: uppercase;
|
2020-05-28 17:58:37 -07:00
|
|
|
color: #fff;
|
2020-06-02 15:42:09 -07:00
|
|
|
background: #607cf5;
|
2020-04-21 17:44:55 -07:00
|
|
|
}
|
|
|
|
}
|
2020-03-27 13:59:38 -07:00
|
|
|
|
2020-04-21 17:44:55 -07:00
|
|
|
i.fa {
|
|
|
|
margin-right: 0.6em;
|
|
|
|
}
|
|
|
|
}
|
2021-10-02 13:39:12 -07:00
|
|
|
|
2021-10-06 16:48:13 -07:00
|
|
|
.button--follow {
|
2021-10-02 13:39:12 -07:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
justify-content: center;
|
|
|
|
|
|
|
|
.svg-icon {
|
2021-10-31 20:41:59 -07:00
|
|
|
margin: 0 0 0 6px;
|
2021-10-02 13:39:12 -07:00
|
|
|
width: 20px;
|
|
|
|
height: 20px;
|
|
|
|
}
|
|
|
|
}
|