Skip to content

Commit

Permalink
IBX-6905: Changing Country in Corporate Account form removes current …
Browse files Browse the repository at this point in the history
…data without any warning (#1182)
  • Loading branch information
GrabowskiM authored Mar 15, 2024
1 parent 7a27a90 commit 9c2faf4
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/bundle/Resources/public/scss/_mixins.scss
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
@import 'mixins/font';
@import 'mixins/containers';
@import 'mixins/drag-and-drop';
@import 'mixins/spinner';

@mixin datetime-field() {
&.is-invalid {
Expand Down
22 changes: 22 additions & 0 deletions src/bundle/Resources/public/scss/mixins/_spinner.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
@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;

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

@keyframes spinner-animation {
to {
transform: rotate(1turn);
}
}

0 comments on commit 9c2faf4

Please sign in to comment.