269 lines
4.4 KiB
CSS
269 lines
4.4 KiB
CSS
.sh-overview {
|
|
padding: 28px;
|
|
background: radial-gradient(circle at top, rgba(99,102,241,0.15), transparent),
|
|
radial-gradient(circle at bottom, rgba(14,165,233,0.12), transparent),
|
|
var(--sh-bg);
|
|
border-radius: 22px;
|
|
}
|
|
|
|
.sh-hero {
|
|
background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(14,165,233,0.18));
|
|
border-radius: 20px;
|
|
padding: 28px;
|
|
border: 1px solid var(--sh-border);
|
|
display: grid;
|
|
grid-template-columns: 2fr 2fr 1fr;
|
|
gap: 20px;
|
|
align-items: center;
|
|
box-shadow: 0 20px 40px rgba(0,0,0,0.35);
|
|
}
|
|
|
|
.sh-hero-title {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 18px;
|
|
}
|
|
|
|
.sh-hero-icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
border-radius: 18px;
|
|
background: rgba(15,23,42,0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
font-size: 32px;
|
|
}
|
|
|
|
.sh-hero-title h1 {
|
|
margin: 0;
|
|
font-size: 28px;
|
|
color: var(--sh-text-primary);
|
|
}
|
|
|
|
.sh-hero-title p {
|
|
margin: 4px 0 0;
|
|
color: var(--sh-text-secondary);
|
|
}
|
|
|
|
.sh-hero-meta {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 10px;
|
|
}
|
|
|
|
.sh-badge {
|
|
padding: 8px 14px;
|
|
border-radius: 999px;
|
|
background: rgba(15,23,42,0.6);
|
|
border: 1px solid rgba(255,255,255,0.1);
|
|
font-weight: 600;
|
|
cursor: default;
|
|
}
|
|
|
|
.sh-badge.ghost {
|
|
background: rgba(255,255,255,0.1);
|
|
}
|
|
|
|
.sh-badge-copy {
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sh-hero-score {
|
|
text-align: center;
|
|
background: rgba(15,23,42,0.6);
|
|
padding: 16px;
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
}
|
|
|
|
.sh-score-value {
|
|
font-size: 42px;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.sh-score-label {
|
|
text-transform: uppercase;
|
|
font-size: 12px;
|
|
letter-spacing: 0.18em;
|
|
color: var(--sh-text-secondary);
|
|
}
|
|
|
|
.sh-info-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 16px;
|
|
margin: 26px 0;
|
|
}
|
|
|
|
.sh-info-card {
|
|
background: var(--sh-bg-card);
|
|
border-radius: 18px;
|
|
border: 1px solid var(--sh-border);
|
|
padding: 18px;
|
|
box-shadow: 0 10px 25px rgba(0,0,0,0.25);
|
|
position: relative;
|
|
}
|
|
|
|
.sh-info-label {
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
color: var(--sh-text-secondary);
|
|
letter-spacing: 0.15em;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.sh-info-value {
|
|
font-size: 22px;
|
|
font-weight: 600;
|
|
color: var(--sh-text-primary);
|
|
}
|
|
|
|
.sh-info-value.mono {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
.sh-info-action {
|
|
position: absolute;
|
|
top: 14px;
|
|
right: 14px;
|
|
border: none;
|
|
background: rgba(99,102,241,0.18);
|
|
color: var(--sh-text-primary);
|
|
font-weight: 600;
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.sh-monitor-panel,
|
|
.sh-status-panel {
|
|
background: var(--sh-bg-card);
|
|
border-radius: 20px;
|
|
border: 1px solid var(--sh-border);
|
|
box-shadow: 0 15px 35px rgba(0,0,0,0.25);
|
|
padding: 22px;
|
|
margin-bottom: 26px;
|
|
}
|
|
|
|
.sh-section-header {
|
|
margin-bottom: 16px;
|
|
}
|
|
|
|
.sh-section-header h2 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.sh-section-header p {
|
|
margin: 4px 0 0;
|
|
color: var(--sh-text-secondary);
|
|
}
|
|
|
|
.sh-monitor-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
|
|
gap: 18px;
|
|
}
|
|
|
|
.sh-monitor-card {
|
|
background: rgba(255,255,255,0.02);
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(255,255,255,0.05);
|
|
padding: 18px;
|
|
display: grid;
|
|
grid-template-columns: auto 1fr auto;
|
|
gap: 12px;
|
|
align-items: center;
|
|
}
|
|
|
|
.sh-monitor-icon {
|
|
font-size: 28px;
|
|
}
|
|
|
|
.sh-monitor-info {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.sh-monitor-label {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sh-monitor-detail {
|
|
color: var(--sh-text-secondary);
|
|
font-size: 14px;
|
|
}
|
|
|
|
.sh-monitor-progress {
|
|
grid-column: 2 / span 2;
|
|
height: 7px;
|
|
background: rgba(255,255,255,0.08);
|
|
border-radius: 999px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.sh-monitor-bar {
|
|
height: 100%;
|
|
background: linear-gradient(90deg, #22d3ee, #a855f7);
|
|
transition: width 0.25s ease;
|
|
}
|
|
|
|
.sh-monitor-percent {
|
|
font-family: 'JetBrains Mono', monospace;
|
|
}
|
|
|
|
.sh-status-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
|
|
gap: 16px;
|
|
}
|
|
|
|
.sh-status-card {
|
|
border-radius: 18px;
|
|
padding: 16px;
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
display: flex;
|
|
gap: 14px;
|
|
background: rgba(255,255,255,0.025);
|
|
}
|
|
|
|
.sh-status-icon {
|
|
font-size: 20px;
|
|
}
|
|
|
|
.sh-status-card.ok {
|
|
border-left: 3px solid #22c55e;
|
|
}
|
|
|
|
.sh-status-card.warn {
|
|
border-left: 3px solid #f97316;
|
|
}
|
|
|
|
.sh-status-card.unknown {
|
|
border-left: 3px solid #9ca3af;
|
|
}
|
|
|
|
.sh-status-value {
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sh-status-extra {
|
|
display: block;
|
|
font-size: 13px;
|
|
color: var(--sh-text-secondary);
|
|
margin-top: 4px;
|
|
}
|
|
|
|
@media (max-width: 960px) {
|
|
.sh-hero {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 600px) {
|
|
.sh-overview {
|
|
padding: 16px;
|
|
}
|
|
}
|