PLC Connection Status — Mock Visualisations

by velo_ninja

HTML

<!doctype html>
<html>
<head>
    <meta charset="utf-8">
    <title>PLC Connection Status Mockups</title>
    <style>
        * {
            box-sizing: border-box;
        }

        body {
            margin: 0;
            font-family: "Segoe UI", Arial, sans-serif;
            background: #f8fafc;
            color: #0f172a;
            padding: 20px;
        }

        h1 {
            margin: 0 0 6px;
            font-size: 22px;
        }

        .subtitle {
            color: #64748b;
            font-size: 13px;
            margin-bottom: 14px;
        }

        .tabs {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            margin: 16px 0;
        }

        .tab-btn {
            border: 1px solid #e2e8f0;
            background: #fff;
            padding: 9px 12px;
            border-radius: 10px;
            cursor: pointer;
            font-weight: 700;
            color: #334155;
        }

        .tab-btn.active {
            background: #0f172a;
            color: #fff;
            border-color: #0f172a;
        }

        .panel {
            display: none;
        }

        .panel.active {
            display: block;
        }

        .card {
            background: #fff;
            border: 1px solid #e2e8f0;
            border-radius: 16px;
            padding: 16px;
            box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
            margin-bottom: 16px;
        }

        .topline {
            display: flex;
            justify-content: space-between;
            gap: 12px;
            align-items: center;
            margin-bottom: 10px;
            flex-wrap: wrap;
        }

        .progress {
            height: 12px;
            background: #e2e8f0;
            border-radius: 999px;
            overflow: hidden;
        }

        .progress-bar {
            height: 100%;
            border-radius: 999px;
     ...