Spaces:
Running
Running
File size: 3,204 Bytes
e3d939d | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 | /* Critical skeleton loader stylesheet loaded externally for strict CSP compliance */
*, *::before, *::after {
box-sizing: border-box;
}
html, body {
margin: 0 !important;
padding: 0 !important;
width: 100% !important;
height: 100% !important;
overflow: hidden !important;
background: #0f172a;
}
#root {
width: 100%;
height: 100%;
overflow: hidden;
}
#app-loader {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
overflow: hidden;
z-index: 9999;
}
.skel-container {
position: fixed;
inset: 0;
width: 100%;
height: 100%;
overflow: hidden;
background: linear-gradient(135deg, #0f172a 0%, #020617 100%);
font-family: 'Be Vietnam Pro', system-ui, sans-serif;
user-select: none;
}
.skel-bg {
position: absolute;
inset: 0;
width: 100%;
height: 100%;
background-size: cover;
background-position: center;
z-index: 0;
filter: saturate(1.5) contrast(1.25);
}
.skel-spinner-container {
position: absolute;
inset: 0;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 10;
gap: 1rem;
}
.skel-spinner {
width: 3rem;
height: 3rem;
border: 4px solid rgba(255, 255, 255, 0.2);
border-top-color: white;
border-radius: 50%;
animation: skel-spin 1s linear infinite;
box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}
@keyframes skel-spin {
100% {
transform: rotate(360deg);
}
}
.skel-text {
color: white;
font-family: 'Courier Prime', monospace;
font-size: 0.875rem;
letter-spacing: 0.05em;
opacity: 0.9;
background: rgba(0, 0, 0, 0.3);
padding: 0.25rem 0.75rem;
border-radius: 0.25rem;
min-height: 1.75rem;
}
/* Matching App.tsx retro taskbar styling */
.skel-taskbar {
position: absolute;
bottom: 0;
left: 0;
width: 100%;
height: 3.5rem;
background: #0ea5e9;
border-top: 4px solid #1E293B;
display: flex;
align-items: center;
justify-content: space-between;
z-index: 50;
box-shadow: 0 -4px 0 0 rgba(30, 41, 59, 0.1);
}
.skel-start-btn {
height: 100%;
min-width: 7.5rem;
padding: 0 1.5rem;
display: flex;
align-items: center;
gap: 0.5rem;
background: #39ff14;
border-right: 4px solid #1E293B;
color: #1E293B;
font-family: 'Bricolage Grotesque', sans-serif;
font-weight: bold;
font-style: italic;
font-size: 1.125rem;
box-shadow: inset -3px -3px 0px rgba(0, 0, 0, 0.2), inset 3px 3px 0px rgba(255, 255, 255, 0.5);
}
.skel-start-icon {
display: inline-block;
width: 24px;
height: 24px;
line-height: 24px;
overflow: hidden;
text-align: center;
font-variation-settings: 'FILL' 1;
font-size: 24px;
}
.skel-clock {
height: 100%;
padding: 0 1rem;
border-left: 4px solid #1E293B;
background: #0369a1;
display: flex;
align-items: center;
justify-content: center;
gap: 1rem;
box-shadow: inset 3px 3px 0px rgba(0, 0, 0, 0.2);
}
.skel-pulse {
height: 0.5rem;
background: rgba(255, 255, 255, 0.3);
border-radius: 0.125rem;
animation: skel-pulse-anim 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
.skel-pulse-sm {
width: 1rem;
}
.skel-pulse-md {
width: 2rem;
}
@keyframes skel-pulse-anim {
0%, 100% {
opacity: 1;
}
50% {
opacity: 0.4;
}
}
|