diff options
Diffstat (limited to 'src/styles')
-rw-r--r-- | src/styles/globals.css | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/src/styles/globals.css b/src/styles/globals.css index 4bc2c75..d22c133 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -121,4 +121,36 @@ body { @apply bg-background text-foreground; } +} + +/* Loaders */ +.spinner { + border: 4px solid rgba(0, 0, 0, 0.1); + width: 24px; + height: 24px; + border-radius: 50%; + border-left-color: #09f; + margin: 5px auto; + animation: spin 1s ease infinite; +} + +.mini-spinner { + display: inline-block; + border: 2px solid rgba(0, 0, 0, 0.1); + width: 12px; + height: 12px; + border-radius: 50%; + border-left-color: #09f; + margin: 0 3px; + animation: spin 1s ease infinite; +} + +@keyframes spin { + 0% { + transform: rotate(0deg); + } + + 100% { + transform: rotate(360deg); + } }
\ No newline at end of file |