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;
|
|
|
|
border-width: 1px;
|
|
|
|
margin-bottom: .5rem;
|
2022-02-23 18:51:23 +01:00
|
|
|
background-color: var(--default-color);
|
|
|
|
border-color: var(--default-hl-color);
|
2022-02-18 16:53:54 +01:00
|
|
|
border-radius: 0.375rem;
|
2022-02-18 11:06:42 +01:00
|
|
|
|
|
|
|
&.is-danger {
|
2022-02-23 19:38:23 +01:00
|
|
|
background-color: var(--danger-bg-color);
|
2022-02-18 11:06:42 +01:00
|
|
|
border-color: transparent;
|
2022-02-23 19:38:23 +01:00
|
|
|
color: var(--danger-font-color);
|
2022-02-18 11:06:42 +01:00
|
|
|
|
|
|
|
&:hover {
|
2022-02-23 19:38:23 +01:00
|
|
|
background-color: var(--danger-bg-hl-color);
|
2022-02-18 11:06:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.is-primary {
|
2022-02-23 19:26:52 +01:00
|
|
|
background-color: var(--primary-bg-color);
|
2022-02-18 11:06:42 +01:00
|
|
|
border-color: transparent;
|
2022-02-23 19:26:52 +01:00
|
|
|
color: var(--primary-font-color);
|
2022-02-18 11:06:42 +01:00
|
|
|
|
|
|
|
&:hover {
|
2022-02-23 19:26:52 +01:00
|
|
|
background-color: var(--primary-bg-hl-color);
|
2022-02-18 11:06:42 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|