2023-09-11 23:15:27 +02:00
|
|
|
.btn-primary {
|
2021-12-17 15:57:11 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed("btnPrimary");
|
|
|
|
border-color: themed("btnPrimary");
|
|
|
|
color: themed("btnPrimaryText");
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(:disabled),
|
|
|
|
&:active:not(:disabled) {
|
2021-09-30 00:06:20 +02:00
|
|
|
@include themify($themes) {
|
2021-12-17 15:57:11 +01:00
|
|
|
background-color: themed("btnPrimaryHover");
|
|
|
|
border-color: themed("btnPrimaryBorderHover");
|
|
|
|
color: themed("btnPrimaryText");
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
|
2021-12-17 15:57:11 +01:00
|
|
|
&:disabled {
|
|
|
|
opacity: 0.65;
|
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-outline-primary {
|
2021-12-17 15:57:11 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed("btnOutlinePrimaryBackground");
|
|
|
|
border-color: themed("btnOutlinePrimaryBorder");
|
|
|
|
color: themed("btnOutlinePrimaryText");
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(:disabled),
|
|
|
|
&:active {
|
2021-09-30 00:06:20 +02:00
|
|
|
@include themify($themes) {
|
2021-12-17 15:57:11 +01:00
|
|
|
background-color: themed("btnOutlinePrimaryBackgroundHover");
|
|
|
|
border-color: themed("btnOutlinePrimaryBorderHover");
|
|
|
|
color: themed("btnOutlinePrimaryTextHover");
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
|
|
|
|
2023-09-11 23:15:27 +02:00
|
|
|
.btn-secondary {
|
2021-12-17 15:57:11 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed("btnSecondary");
|
|
|
|
border-color: themed("btnSecondaryBorder");
|
|
|
|
color: themed("btnSecondaryText");
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(:disabled),
|
|
|
|
&:active:not(:disabled) {
|
2021-09-30 00:06:20 +02:00
|
|
|
@include themify($themes) {
|
2021-12-17 15:57:11 +01:00
|
|
|
background-color: themed("btnSecondaryHover");
|
|
|
|
border-color: themed("btnSecondaryBorderHover");
|
|
|
|
color: themed("btnSecondaryTextHover");
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
|
2021-12-17 15:57:11 +01:00
|
|
|
&:disabled {
|
|
|
|
opacity: 0.65;
|
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
|
2021-12-17 15:57:11 +01:00
|
|
|
&:focus,
|
|
|
|
&.focus {
|
|
|
|
@include themify($themes) {
|
|
|
|
box-shadow: 0 0 0 $btn-focus-width
|
|
|
|
rgba(mix(color-yiq(themed("primary")), themed("primary"), 15%), 0.5);
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-outline-secondary {
|
2021-12-17 15:57:11 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed("btnOutlineSecondaryBackground");
|
|
|
|
border-color: themed("btnOutlineSecondaryBorder");
|
|
|
|
color: themed("btnOutlineSecondaryText");
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(:disabled),
|
|
|
|
&:active {
|
2021-09-30 00:06:20 +02:00
|
|
|
@include themify($themes) {
|
2021-12-17 15:57:11 +01:00
|
|
|
background-color: themed("btnOutlineSecondaryBackgroundHover");
|
|
|
|
border-color: themed("btnOutlineSecondaryBorderHover");
|
|
|
|
color: themed("btnOutlineSecondaryTextHover");
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.show > .btn-outline-secondary {
|
2021-12-17 15:57:11 +01:00
|
|
|
&.dropdown-toggle,
|
|
|
|
&:focus {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed("btnOutlineSecondaryBackground");
|
|
|
|
border-color: themed("btnOutlineSecondaryBorder");
|
|
|
|
color: themed("btnOutlineSecondaryText");
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
|
2021-12-17 15:57:11 +01:00
|
|
|
&:hover {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed("btnOutlineSecondaryBackgroundHover");
|
|
|
|
border-color: themed("btnOutlineSecondaryBorderHover");
|
|
|
|
color: themed("btnOutlineSecondaryTextHover");
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
|
|
|
|
2023-09-11 23:15:27 +02:00
|
|
|
.btn-danger {
|
2021-12-17 15:57:11 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed("btnDanger");
|
|
|
|
border-color: themed("btnDanger");
|
|
|
|
color: themed("btnDangerText");
|
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
|
2021-12-17 15:57:11 +01:00
|
|
|
&:hover:not(:disabled),
|
|
|
|
&:active:not(:disabled) {
|
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed("btnDangerHover");
|
|
|
|
border-color: themed("btnDangerHover");
|
|
|
|
color: themed("btnDangerText");
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-outline-danger {
|
2021-12-17 15:57:11 +01:00
|
|
|
@include themify($themes) {
|
|
|
|
background-color: themed("btnOutlineDangerBackground");
|
|
|
|
border-color: themed("btnOutlineDangerBorder");
|
|
|
|
color: themed("btnOutlineDangerText");
|
|
|
|
}
|
|
|
|
|
|
|
|
&:hover:not(:disabled),
|
|
|
|
&:active {
|
2021-09-30 00:06:20 +02:00
|
|
|
@include themify($themes) {
|
2021-12-17 15:57:11 +01:00
|
|
|
background-color: themed("btnOutlineDangerBackgroundHover");
|
|
|
|
border-color: themed("btnOutlineDangerBorderHover");
|
|
|
|
color: themed("btnOutlineDangerTextHover");
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-link {
|
2021-12-17 15:57:11 +01:00
|
|
|
&:focus,
|
|
|
|
&.focus {
|
|
|
|
outline-color: -webkit-focus-ring-color;
|
|
|
|
outline-offset: 1px;
|
|
|
|
outline-style: auto;
|
|
|
|
outline-width: 1px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:not(.text-danger):not(.cursor-move) {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed("btnLinkText");
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
|
2021-12-17 15:57:11 +01:00
|
|
|
&:hover:not(.text-danger):not(.cursor-move) {
|
|
|
|
@include themify($themes) {
|
|
|
|
color: themed("btnLinkTextHover");
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
.btn-submit {
|
2021-12-17 15:57:11 +01:00
|
|
|
position: relative;
|
|
|
|
|
2022-01-27 18:25:58 +01:00
|
|
|
.bwi-spinner {
|
2021-12-17 15:57:11 +01:00
|
|
|
align-items: center;
|
|
|
|
bottom: 0;
|
|
|
|
display: none;
|
|
|
|
justify-content: center;
|
|
|
|
left: 0;
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
top: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&:disabled:not(.manual),
|
2022-12-23 01:18:18 +01:00
|
|
|
&[aria-disabled="true"]:not(.manual),
|
2021-12-17 15:57:11 +01:00
|
|
|
&.loading {
|
2022-01-27 18:25:58 +01:00
|
|
|
.bwi-spinner {
|
2021-12-17 15:57:11 +01:00
|
|
|
display: flex;
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
|
|
|
|
2021-12-17 15:57:11 +01:00
|
|
|
span {
|
|
|
|
visibility: hidden;
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|
2022-05-09 14:21:52 +02:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
button.no-btn {
|
|
|
|
background: transparent;
|
|
|
|
border: none;
|
|
|
|
padding: 0;
|
|
|
|
color: inherit;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
|
|
|
&:hover,
|
|
|
|
&:focus {
|
|
|
|
background: transparent;
|
|
|
|
box-shadow: none;
|
|
|
|
color: inherit;
|
2021-12-17 15:57:11 +01:00
|
|
|
}
|
2021-09-30 00:06:20 +02:00
|
|
|
}
|