Skip to content

Commit

Permalink
linter
Browse files Browse the repository at this point in the history
  • Loading branch information
GrabowskiM committed Sep 8, 2023
1 parent 7c04dbb commit 7d2d0dd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/bundle/Resources/public/scss/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
@import 'mixins/font';
@import 'mixins/containers';
@import 'mixins/drag-and-drop';
@import "mixins/spinner";
@import 'mixins/spinner';

@mixin datetime-field() {
.ibexa-data-source__input-wrapper {
Expand Down
9 changes: 4 additions & 5 deletions src/bundle/Resources/public/scss/mixins/_spinner.scss
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
@mixin spinner($size, $line-size, $color: $ibexa-color-info) {
--mask:
conic-gradient(#{rgba($ibexa-color-black, 0)} 10%, #{$ibexa-color-black}),
linear-gradient(#{$ibexa-color-black} 0 0) content-box;
--mask: conic-gradient(#{rgba($ibexa-color-black, 0)} 10%, #{$ibexa-color-black}),
linear-gradient(#{$ibexa-color-black} 0 0) content-box;

width: $size;
padding: $line-size;
aspect-ratio: 1;
border-radius: 50%;
background: $color;
-webkit-mask: var(--mask);
mask: var(--mask);
mask: var(--mask);
-webkit-mask-composite: source-out;
mask-composite: subtract;
mask-composite: subtract;
animation: spinner-animation 1s infinite linear;
}

Expand Down

0 comments on commit 7d2d0dd

Please sign in to comment.