220 lines
3.8 KiB
CSS
220 lines
3.8 KiB
CSS
.sh-services-view {
|
|
padding: 28px;
|
|
background: radial-gradient(circle at top, rgba(15,118,255,0.12), transparent),
|
|
radial-gradient(circle at bottom, rgba(99,102,241,0.1), transparent),
|
|
var(--sh-bg);
|
|
border-radius: 22px;
|
|
}
|
|
|
|
.sh-services-hero {
|
|
background: linear-gradient(135deg, rgba(99,102,241,0.18), rgba(6,182,212,0.18));
|
|
border-radius: 22px;
|
|
padding: 24px;
|
|
border: 1px solid var(--sh-border);
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
gap: 16px;
|
|
box-shadow: 0 20px 40px rgba(0,0,0,0.35);
|
|
}
|
|
|
|
.sh-services-hero h1 {
|
|
margin: 0;
|
|
font-size: 26px;
|
|
}
|
|
|
|
.sh-services-hero p {
|
|
margin: 4px 0 0;
|
|
color: var(--sh-text-secondary);
|
|
}
|
|
|
|
.sh-services-stats {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
|
|
gap: 12px;
|
|
min-width: 300px;
|
|
}
|
|
|
|
.sh-service-stat {
|
|
background: rgba(15,23,42,0.45);
|
|
border-radius: 16px;
|
|
padding: 12px;
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
text-align: center;
|
|
}
|
|
|
|
.sh-service-stat .label {
|
|
display: block;
|
|
font-size: 12px;
|
|
text-transform: uppercase;
|
|
color: var(--sh-text-secondary);
|
|
letter-spacing: 0.15em;
|
|
}
|
|
|
|
.sh-service-stat .value {
|
|
font-size: 28px;
|
|
font-weight: 700;
|
|
line-height: 1;
|
|
}
|
|
|
|
.sh-service-stat.success .value {
|
|
color: #22c55e;
|
|
}
|
|
|
|
.sh-service-stat.danger .value {
|
|
color: #ef4444;
|
|
}
|
|
|
|
.sh-service-controls {
|
|
margin: 24px 0;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 16px;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
}
|
|
|
|
.sh-service-tabs {
|
|
flex: 1;
|
|
min-width: 220px;
|
|
}
|
|
|
|
.sh-service-search input {
|
|
width: 260px;
|
|
max-width: 100%;
|
|
border-radius: 16px;
|
|
border: 1px solid rgba(255,255,255,0.12);
|
|
background: rgba(255,255,255,0.02);
|
|
padding: 10px 16px;
|
|
color: var(--sh-text-primary);
|
|
}
|
|
|
|
.sh-services-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
|
|
gap: 18px;
|
|
}
|
|
|
|
.sh-service-card {
|
|
background: var(--sh-bg-card);
|
|
border-radius: 18px;
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
padding: 18px;
|
|
box-shadow: 0 12px 30px rgba(0,0,0,0.25);
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 16px;
|
|
}
|
|
|
|
.sh-service-card.running {
|
|
border-left: 4px solid #22c55e;
|
|
}
|
|
|
|
.sh-service-card.stopped {
|
|
border-left: 4px solid #ef4444;
|
|
}
|
|
|
|
.sh-service-head {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: 10px;
|
|
}
|
|
|
|
.sh-service-head h3 {
|
|
margin: 0;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.sh-service-tag {
|
|
font-size: 12px;
|
|
color: var(--sh-text-secondary);
|
|
}
|
|
|
|
.sh-service-status {
|
|
padding: 6px 12px;
|
|
border-radius: 999px;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.sh-service-status.running {
|
|
background: rgba(34,197,94,0.18);
|
|
color: #22c55e;
|
|
}
|
|
|
|
.sh-service-status.stopped {
|
|
background: rgba(239,68,68,0.18);
|
|
color: #ef4444;
|
|
}
|
|
|
|
.sh-service-actions {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
gap: 10px;
|
|
}
|
|
|
|
.sh-btn {
|
|
border-radius: 12px;
|
|
padding: 10px;
|
|
border: 1px solid rgba(255,255,255,0.08);
|
|
background: rgba(255,255,255,0.03);
|
|
color: var(--sh-text-primary);
|
|
font-weight: 600;
|
|
cursor: pointer;
|
|
transition: all 0.2s ease;
|
|
}
|
|
|
|
.sh-btn:hover {
|
|
background: rgba(255,255,255,0.09);
|
|
}
|
|
|
|
.sh-btn-ghost {
|
|
grid-column: span 2;
|
|
background: rgba(99,102,241,0.15);
|
|
border-color: rgba(99,102,241,0.35);
|
|
}
|
|
|
|
.sh-empty-state {
|
|
grid-column: 1 / -1;
|
|
text-align: center;
|
|
padding: 40px;
|
|
color: var(--sh-text-secondary);
|
|
border: 1px dashed rgba(255,255,255,0.15);
|
|
border-radius: 18px;
|
|
}
|
|
|
|
.sh-empty-icon {
|
|
font-size: 40px;
|
|
margin-bottom: 8px;
|
|
}
|
|
|
|
.sh-service-detail {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 12px;
|
|
margin-bottom: 18px;
|
|
}
|
|
|
|
.sh-service-detail-row {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
border-bottom: 1px solid rgba(148,163,184,0.2);
|
|
padding-bottom: 6px;
|
|
font-size: 14px;
|
|
}
|
|
|
|
@media (max-width: 720px) {
|
|
.sh-services-view {
|
|
padding: 16px;
|
|
}
|
|
|
|
.sh-service-controls {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.sh-service-search input {
|
|
width: 100%;
|
|
}
|
|
}
|