88 lines
1.4 KiB
SCSS
88 lines
1.4 KiB
SCSS
|
|
.main-content {
|
||
|
|
min-height: calc(100vh - 68px);
|
||
|
|
background: #f8f9fa;
|
||
|
|
display: flex;
|
||
|
|
flex-direction: column;
|
||
|
|
}
|
||
|
|
|
||
|
|
.server-check-overlay,
|
||
|
|
.server-error-overlay {
|
||
|
|
position: fixed;
|
||
|
|
top: 0;
|
||
|
|
left: 0;
|
||
|
|
right: 0;
|
||
|
|
bottom: 0;
|
||
|
|
background: #f8f9fa;
|
||
|
|
display: flex;
|
||
|
|
align-items: center;
|
||
|
|
justify-content: center;
|
||
|
|
z-index: 9999;
|
||
|
|
}
|
||
|
|
|
||
|
|
.server-check-content,
|
||
|
|
.server-error-content {
|
||
|
|
text-align: center;
|
||
|
|
padding: 40px;
|
||
|
|
max-width: 500px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.spinner-large {
|
||
|
|
width: 60px;
|
||
|
|
height: 60px;
|
||
|
|
border: 6px solid #f3f3f3;
|
||
|
|
border-top: 6px solid var(--primary-color);
|
||
|
|
border-radius: 50%;
|
||
|
|
animation: spin 1s linear infinite;
|
||
|
|
margin: 0 auto 24px;
|
||
|
|
}
|
||
|
|
|
||
|
|
@keyframes spin {
|
||
|
|
0% { transform: rotate(0deg); }
|
||
|
|
100% { transform: rotate(360deg); }
|
||
|
|
}
|
||
|
|
|
||
|
|
.server-check-content h2 {
|
||
|
|
color: #333;
|
||
|
|
font-size: 1.5rem;
|
||
|
|
margin: 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.error-icon {
|
||
|
|
font-size: 5rem;
|
||
|
|
margin-bottom: 20px;
|
||
|
|
}
|
||
|
|
|
||
|
|
.server-error-content h1 {
|
||
|
|
font-size: 2rem;
|
||
|
|
color: #333;
|
||
|
|
margin: 0 0 16px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.server-error-content p {
|
||
|
|
font-size: 1.1rem;
|
||
|
|
color: #333;
|
||
|
|
line-height: 1.6;
|
||
|
|
margin: 0 0 32px 0;
|
||
|
|
}
|
||
|
|
|
||
|
|
.retry-btn {
|
||
|
|
padding: 14px 32px;
|
||
|
|
background: var(--primary-color);
|
||
|
|
color: white;
|
||
|
|
border: none;
|
||
|
|
border-radius: 8px;
|
||
|
|
font-size: 1.1rem;
|
||
|
|
font-weight: 600;
|
||
|
|
cursor: pointer;
|
||
|
|
transition: background 0.2s;
|
||
|
|
|
||
|
|
&:hover {
|
||
|
|
background: var(--primary-hover);
|
||
|
|
}
|
||
|
|
|
||
|
|
|
||
|
|
&:active {
|
||
|
|
transform: scale(0.98);
|
||
|
|
}
|
||
|
|
}
|