* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
background-color: #F8F9FA;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 20px;
}
.container {
max-width: 900px;
width: 100%;
margin: 0 auto;
}
.header {
text-align: center;
margin-bottom: 30px;
}
.header h1 {
color: #495057;
font-size: 2.5rem;
margin-bottom: 10px;
text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}
.header p {
color: #6c757d;
font-size: 1.2rem;
}
.card {
background: white;
border-radius: 15px;
padding: 30px;
box-shadow: 0 4px 12px rgba(0,0,0,0.1);
margin-bottom: 30px;
border: 1px solid #e9ecef;
}
.status-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 20px;
margin-bottom: 30px;
}
.status-item {
text-align: center;
padding: 20px;
background: #f8f9fa;
border-radius: 10px;
border: 2px solid #e9ecef;
transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.status-item:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}
.status-item h3 {
color: #495057;
margin-bottom: 10px;
font-size: 1.1rem;
}
.status-item .value {
font-size: 1.4rem;
font-weight: bold;
color: #212529;
}
.status-item .sub-value {
font-size: 0.9rem;
color: #6c757d;
margin-top: 5px;
font-weight: normal;
}
.splunk-connection-item {
grid-column: span 2;
}
.status-connected {
color: #28a745 !important;
}
.status-disconnected {
color: #dc3545 !important;
}
.status-running {
color: #28a745 !important;
}
.status-degraded {
color: #ffc107 !important;
}
.capabilities {
margin-top: 20px;
}
.capabilities h3 {
color: #495057;
margin-bottom: 10px;
}
.capability-tags {
display: flex;
flex-wrap: wrap;
gap: 10px;
}
.capability-tag {
background: #007bff;
color: white;
padding: 5px 15px;
border-radius: 20px;
font-size: 0.9rem;
font-weight: 500;
}
.footer {
text-align: center;
margin-top: auto;
padding-top: 20px;
}
.footer p {
color: #6c757d;
font-size: 1rem;
}
.refresh-btn {
display: inline-block;
margin-top: 20px;
padding: 10px 20px;
background: #007bff;
color: white;
text-decoration: none;
border-radius: 5px;
transition: background 0.2s ease;
}
.refresh-btn:hover {
background: #0056b3;
}
.timestamp {
text-align: right;
color: #6c757d;
font-size: 0.9rem;
margin-top: 15px;
}
.mcp-link {
text-align: center;
margin-top: 20px;
}
.mcp-link a {
color: #007bff;
text-decoration: none;
padding: 8px 16px;
border: 1px solid #007bff;
border-radius: 5px;
font-size: 0.9rem;
transition: all 0.2s ease;
}
.mcp-link a:hover {
background: #007bff;
color: white;
}
.info-box {
background: #f8f9fa;
padding: 20px;
border-radius: 10px;
margin-top: 15px;
border: 1px solid #e9ecef;
}
.info-box code {
background: #e9ecef;
padding: 2px 6px;
border-radius: 3px;
font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
}
.info-box ol {
margin-left: 20px;
}
.info-box ol li {
margin-bottom: 5px;
}
@media (max-width: 768px) {
.status-grid {
grid-template-columns: 1fr;
}
.splunk-connection-item {
grid-column: span 1;
}
.header h1 {
font-size: 2rem;
}
.header p {
font-size: 1rem;
}
.card {
padding: 20px;
}
}