Skip to content

Commit

Permalink
Resize loaders
Browse files Browse the repository at this point in the history
  • Loading branch information
jolaleye committed Apr 27, 2019
1 parent 26cd566 commit 0264275
Show file tree
Hide file tree
Showing 6 changed files with 24 additions and 24 deletions.
24 changes: 12 additions & 12 deletions effects/loader-multi-ring.vue
Original file line number Diff line number Diff line change
Expand Up @@ -24,26 +24,26 @@
}
.outer {
width: 4em;
height: 4em;
margin-left: -2em;
margin-top: -2em;
width: 3.5em;
height: 3.5em;
margin-left: -1.75em;
margin-top: -1.75em;
animation: spin 2s linear infinite;
}
.middle {
width: 2.6em;
height: 2.6em;
margin-left: -1.3em;
margin-top: -1.3em;
width: 2.1em;
height: 2.1em;
margin-left: -1.05em;
margin-top: -1.05em;
animation: spin 1.75s linear reverse infinite;
}
.inner {
width: 1.3em;
height: 1.3em;
margin-left: -0.65em;
margin-top: -0.65em;
width: 0.8em;
height: 0.8em;
margin-left: -0.4em;
margin-top: -0.4em;
animation: spin 1.5s linear infinite;
}
Expand Down
8 changes: 4 additions & 4 deletions effects/loader-orbit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
<style scoped>
div {
display: flex;
width: 4em;
height: 4em;
width: 3.5em;
height: 3.5em;
border: 3px solid transparent;
border-top-color: #3cefff;
border-bottom-color: #3cefff;
Expand All @@ -18,8 +18,8 @@ div:before {
content: '';
display: block;
margin: auto;
width: 1.25em;
height: 1.25em;
width: 0.75em;
height: 0.75em;
border: 3px solid #3cefff;
border-radius: 50%;
animation: pulse 1s alternate ease-in-out infinite;
Expand Down
2 changes: 1 addition & 1 deletion effects/loader-orbit2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@

<style scoped>
svg {
width: 4.5em;
width: 3.75em;
animation: 1.5s spin ease infinite;
}
Expand Down
2 changes: 1 addition & 1 deletion effects/loader-ring.vue
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

<style scoped>
svg {
width: 4.5em;
width: 3.75em;
transform-origin: center;
animation: rotate 2s linear infinite;
}
Expand Down
4 changes: 2 additions & 2 deletions effects/loader-ring2.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ div {
border: 3px solid hsla(185, 100%, 62%, 0.2);
border-top-color: #3cefff;
border-radius: 50%;
width: 4em;
height: 4em;
width: 3em;
height: 3em;
animation: spin 1s linear infinite;
}
Expand Down
8 changes: 4 additions & 4 deletions effects/loader-wave.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

<style scoped>
.balls {
width: 4em;
width: 3.5em;
display: flex;
flex-flow: row nowrap;
align-items: center;
Expand All @@ -20,7 +20,7 @@
height: 0.8em;
border-radius: 50%;
background-color: #fc2f70;
transform: translateY(-125%);
transform: translateY(-100%);
animation: wave 0.8s ease-in-out alternate infinite;
}
Expand All @@ -34,10 +34,10 @@
@keyframes wave {
from {
transform: translateY(-125%);
transform: translateY(-100%);
}
to {
transform: translateY(125%);
transform: translateY(100%);
}
}
</style>

0 comments on commit 0264275

Please sign in to comment.