UNPKG

express-status-monitor

Version:

Realtime Monitoring for Express-based Node applications

165 lines (135 loc) 2.32 kB
* { font-family: Helvetica Neue, Helvetica, Arial, sans-serif; } body.hide-cpu .container.cpu, body.hide-mem .container.mem, body.hide-load .container.load, body.hide-responseTime .container.responseTime, body.hide-rps .container.rps, body.hide-statusCodes .container.statusCodes { display: none; } h1 { font-size: 3em; color: #222; margin: 0; } h5 { margin: 0; color: #888; } h6 { margin: 0; } p { font-size: 0.7em; color: #888; } span { cursor: pointer; font-size: 10px; margin-left: 5px; border: 1px solid #DDD; padding: 3px 10px 4px 10px; } canvas { width: 400px; height: 100px; } .content { width: 600px; margin: auto; } .active { background: #eeeeee; } .stats-column { flex: 0 0 200px; } .container { display: flex; flex-direction: row; margin-top: 20px; height: 100px; } .chart-container { width: 400px; height: 100px; } .container.healthChecks { display: block; height: auto; } .health-check-row { align-items: center; border: 1px solid #eee; border-radius: 4px; display: flex; margin: 0 0 10px 0; width: 100%; } .health-check-title-column { flex: 0 0 400px; display: flex; align-items: center; padding: 0 10px; } .health-check-title-column h5 a { color: #888; cursor: pointer; text-decoration: none; } .health-check-title-column h5 a:hover { text-decoration: underline; } .health-check-status-container { align-items: center; border-radius: 0 4px 4px 0; display: flex; justify-content: center; height: 2em; text-align: center; width: 200px; } .health-check-status-container.ok { background: #75D701; } .health-check-status-container.failed { background: #E53A40; } .health-check-status-container h1 { line-height: 2em; font-size: 1.5em; color: #fff; text-align: center; text-transform: uppercase; } .footer { text-align: center; } .span-controls { float: right; } .status-code { margin-top: 2px; } .status-code:before { content: ''; display: inline-block; width: 8px; height: 8px; border-radius: 8px; margin-right: 10px; } .status-code-2xx:before { background-color: #75D701; } .status-code-3xx:before { background-color: #47b8e0; } .status-code-4xx:before { background-color: #ffc952; } .status-code-5xx:before { background-color: #E53A40; }