2024-03-31 20:47:43 +02:00
|
|
|
button,
|
|
|
|
|
.button {
|
2022-08-30 13:26:00 +02:00
|
|
|
font-family: var(--main-font);
|
2022-08-28 11:56:03 +02:00
|
|
|
background: var(--button-bg-color);
|
|
|
|
|
color: var(--button-fg-color);
|
|
|
|
|
cursor: pointer;
|
|
|
|
|
border: none;
|
|
|
|
|
padding: 0.25rem 0.8rem;
|
2022-08-28 23:34:21 +02:00
|
|
|
border-radius: var(--border-radius);
|
2022-08-28 11:56:03 +02:00
|
|
|
display: inline-flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
|
2024-03-31 20:47:43 +02:00
|
|
|
&:disabled {
|
|
|
|
|
background-color: var(--button-disabled-bg-color);
|
|
|
|
|
color: var(--button-disabled-fg-color);
|
|
|
|
|
cursor: default;
|
|
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
|
background-color: var(--button-disabled-bg-color);
|
|
|
|
|
color: var(--button-disabled-fg-color);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-28 20:14:30 +02:00
|
|
|
&:hover {
|
|
|
|
|
background-color: var(--button-hover-bg-color);
|
|
|
|
|
color: var(--button-hover-fg-color);
|
|
|
|
|
}
|
2022-08-28 11:56:03 +02:00
|
|
|
|
2022-08-28 20:14:30 +02:00
|
|
|
&.icon {
|
|
|
|
|
padding: 0.25rem;
|
2022-08-28 11:56:03 +02:00
|
|
|
|
2022-08-28 20:14:30 +02:00
|
|
|
> .svg-icon {
|
|
|
|
|
margin-right: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
&.cancel {
|
|
|
|
|
background-color: var(--button-cancel-bg-color);
|
|
|
|
|
color: var(--button-cancel-fg-color);
|
|
|
|
|
}
|
2022-08-28 11:56:03 +02:00
|
|
|
|
2024-03-31 20:47:43 +02:00
|
|
|
> .icon {
|
|
|
|
|
margin-right: 0.2rem;
|
|
|
|
|
}
|
|
|
|
|
|
2022-08-28 20:14:30 +02:00
|
|
|
> .svg-icon {
|
|
|
|
|
display: flex;
|
|
|
|
|
align-items: center;
|
|
|
|
|
margin-top: 1px;
|
|
|
|
|
margin-right: 0.2rem;
|
|
|
|
|
}
|
2024-03-31 20:47:43 +02:00
|
|
|
|
|
|
|
|
&.danger-variant {
|
|
|
|
|
background-color: var(--button-remove-bg-color);
|
|
|
|
|
color: var(--button-remove-fg-color);
|
|
|
|
|
}
|
2022-08-28 20:14:30 +02:00
|
|
|
}
|
2024-04-03 22:23:59 +02:00
|
|
|
|
|
|
|
|
.button-group {
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
|
|
button:first-child {
|
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button {
|
|
|
|
|
margin-right: 1px;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
button:last-child {
|
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
|
}
|
|
|
|
|
}
|