Skip to content

Commit

Permalink
Improve button spinner (#4534)
Browse files Browse the repository at this point in the history
This PR includes small changes in the button spinner styles
  • Loading branch information
leiyre authored Jan 26, 2024
1 parent 123ddf1 commit 29968a7
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion frontend/components/base/base-button/BaseButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ export default {
.button {
@extend %button;
.spinner {
flex-shrink: 0;
height: 20px;
width: 20px;
border: 3px solid #242323d8;
Expand All @@ -163,7 +164,8 @@ export default {
fill: palette(white);
}
.spinner {
border-color: palette(white);
border: 3px solid #ffffff;
border-top-color: #ffffff3a;
}
&:hover,
&:active,
Expand All @@ -177,6 +179,10 @@ export default {
.svg-icon {
fill: $primary-color;
}
.spinner {
border: 3px solid $primary-color;
border-top-color: #2517f321;
}
&:hover,
&:active,
&.active {
Expand All @@ -187,6 +193,10 @@ export default {
&.light {
background: lighten($black-4, 50%);
color: $primary-color;
.spinner {
border: 3px solid $primary-color;
border-top-color: #2517f321;
}
&:hover,
&:active,
&.active {
Expand Down

0 comments on commit 29968a7

Please sign in to comment.