Skip to content

Commit

Permalink
FIXED: Component: Preloader: Custom icon was not aligned properly.
Browse files Browse the repository at this point in the history
  • Loading branch information
SagnikGanguly96 committed Feb 14, 2023
1 parent f241a8b commit 25b2768
Showing 1 changed file with 25 additions and 3 deletions.
28 changes: 25 additions & 3 deletions src/css/components/preloaders.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2022 SGNetworks. All rights reserved.
* Copyright (c) 2022-2023 SGNetworks. All rights reserved.
*
* The software is an exclusive copyright of "SGNetworks" and is provided as is exclusively with only "USAGE" access. "Modification", "Alteration", "Re-distribution" is completely prohibited.
* VIOLATING THE ABOVE TERMS IS A PUNISHABLE OFFENSE WHICH MAY LEAD TO LEGAL CONSEQUENCES.
Expand Down Expand Up @@ -46,15 +46,16 @@


.sgn-preloader > .preloader > img {
width: 100%;
height: 100%;
width: calc(var(--sgn-preloader-circles-width) + ((var(--sgn-preloader-stripes-width) + var(--sgn-preloader-circles-margin)) * 2));
height: calc(var(--sgn-preloader-circles-height) + (var(--sgn-preloader-stripes-width) + var(--sgn-preloader-circles-margin)));
margin: var(--sgn-preloader-circles-margin);
display: flex;
justify-content: center;
align-items: center;
position: relative;
top: 50%;
left: 50%;
animation: spin 4s ease-in-out forwards infinite;
}

.sgn-preloader > .preloader > .spinner > img {
Expand Down Expand Up @@ -198,4 +199,25 @@
}
}

@keyframes pulse {
from {
transform: scale(.8);
}
to {
transform: scale(1);
}
}

@keyframes spin {
0% {
transform: rotateY(0deg);
}
50% {
transform: rotateY(180deg);
}
100% {
transform: rotateY(360deg);
}
}


0 comments on commit 25b2768

Please sign in to comment.