first commit
This commit is contained in:
27
src/components/feedback/spinner.css
Normal file
27
src/components/feedback/spinner.css
Normal file
@@ -0,0 +1,27 @@
|
||||
.ui-spinner{
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
border-radius: 999px;
|
||||
border: 2px solid rgba(255,255,255,0.25);
|
||||
border-top-color: var(--ui-fg);
|
||||
animation: ui-spin .7s linear infinite;
|
||||
}
|
||||
:root[data-theme="light"] .ui-spinner{
|
||||
border: 2px solid rgba(17,19,24,0.25);
|
||||
border-top-color: var(--ui-fg);
|
||||
}
|
||||
|
||||
@keyframes ui-spin{
|
||||
to { transform: rotate(360deg); }
|
||||
}
|
||||
|
||||
.ui-screenspinner{
|
||||
position: fixed;
|
||||
inset: 0;
|
||||
background: rgba(0,0,0,0.35);
|
||||
backdrop-filter: blur(6px);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
z-index: 90;
|
||||
}
|
||||
Reference in New Issue
Block a user