2022-02-18 11:06:42 +01:00
|
|
|
.button {
|
|
|
|
cursor: pointer;
|
|
|
|
justify-content: center;
|
|
|
|
padding-bottom: calc(0.5em - 1px);
|
|
|
|
padding-left: 1em;
|
|
|
|
padding-right: 1em;
|
|
|
|
padding-top: calc(0.5em - 1px);
|
|
|
|
text-align: center;
|
|
|
|
white-space: nowrap;
|
2022-02-24 14:28:51 +01:00
|
|
|
border: 1px solid transparent;
|
2022-02-18 11:06:42 +01:00
|
|
|
margin-bottom: .5rem;
|
2022-02-24 14:28:51 +01:00
|
|
|
background-color: $nord9;
|
2022-02-18 16:53:54 +01:00
|
|
|
border-radius: 0.375rem;
|
2022-02-24 11:32:56 +01:00
|
|
|
color: $button-font-color;
|
2022-02-23 22:38:50 +01:00
|
|
|
@include transition() {}
|
2022-02-18 11:06:42 +01:00
|
|
|
|
2022-02-24 14:28:51 +01:00
|
|
|
&:hover {
|
|
|
|
background-color: darken($nord9, $hoverAmount);
|
|
|
|
}
|
|
|
|
|
2022-02-18 11:06:42 +01:00
|
|
|
&.is-danger {
|
2022-02-24 11:32:56 +01:00
|
|
|
background-color: $danger-color;
|
|
|
|
color: $button-alternate-color;
|
2022-02-18 11:06:42 +01:00
|
|
|
|
|
|
|
&:hover {
|
2022-02-24 11:32:56 +01:00
|
|
|
background-color: $danger-color-hl;
|
2022-02-18 11:06:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-primary {
|
2022-02-24 11:32:56 +01:00
|
|
|
background-color: $primary-color;
|
2022-02-18 11:06:42 +01:00
|
|
|
|
|
|
|
&:hover {
|
2022-02-24 11:32:56 +01:00
|
|
|
background-color: $primary-color-hl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-warning {
|
|
|
|
background-color: $warning-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $warning-color-hl;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-success {
|
|
|
|
background-color: $success-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $success-color-hl;
|
2022-02-18 11:06:42 +01:00
|
|
|
}
|
|
|
|
}
|
2022-02-24 14:28:51 +01:00
|
|
|
|
|
|
|
&.is-link {
|
|
|
|
background-color: transparent;
|
|
|
|
border-color: $nord9;
|
|
|
|
color: $nord9;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
border-color: darken($nord9, $hoverAmount);
|
|
|
|
}
|
|
|
|
}
|
2022-02-18 11:06:42 +01:00
|
|
|
}
|