Files
mht-siemens/solution/src/PlcVanguard.Web/wwwroot/app.css
T
2026-06-22 17:33:26 +02:00

149 lines
2.5 KiB
CSS

:root {
--primary: #0d6efd;
--success: #198754;
--danger: #dc3545;
--warning: #ffc107;
--dark: #212529;
}
body {
background-color: #f8f9fa;
font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}
.card {
border: none;
border-radius: 10px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-bottom: 20px;
}
.card-header {
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
color: white;
border-radius: 10px 10px 0 0 !important;
font-weight: 600;
padding: 15px 20px;
}
.counter-value {
font-size: 3rem;
font-weight: bold;
color: var(--primary);
transition: all 0.3s ease;
}
.counter-value.changed {
animation: pulse 0.5s ease-in-out;
}
@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); color: var(--success); }
100% { transform: scale(1); }
}
.status-badge {
padding: 8px 16px;
border-radius: 20px;
font-weight: 600;
font-size: 0.9rem;
}
.status-connected {
background-color: var(--success);
color: white;
}
.status-disconnected {
background-color: var(--danger);
color: white;
}
.chart-container {
width: 100%;
height: 300px;
position: relative;
}
.history-table {
max-height: 400px;
overflow-y: auto;
}
.history-table thead {
position: sticky;
top: 0;
background-color: white;
z-index: 10;
}
/* Comparison page styles */
.chart-container {
width: 100%;
height: 400px;
position: relative;
background: #fff;
border: 1px solid #dee2e6;
border-radius: 8px;
padding: 10px;
margin-bottom: 20px;
}
.chart-svg {
width: 100%;
height: 100%;
}
.reference-line {
stroke: rgba(220, 53, 69, 0.8);
stroke-width: 2;
stroke-dasharray: 8 4;
}
.selection-info {
padding: 10px 15px;
background: #e9ecef;
border-radius: 8px;
margin-top: 10px;
}
.selected-badge {
display: inline-block;
padding: 4px 12px;
border-radius: 20px;
font-size: 0.85rem;
margin: 2px;
cursor: pointer;
}
.badge-selected {
background: #0d6efd;
color: white;
}
.badge-deselected {
background: #6c757d;
color: white;
}
.table-checkbox {
width: 25px;
height: 25px;
cursor: pointer;
}
@keyframes chart-draw {
from { stroke-dashoffset: 1000; }
to { stroke-dashoffset: 0; }
}
.chart-polyline {
animation: chart-draw 1s ease-in-out;
}
@keyframes _pv_pulse {
0%, 100% { opacity: 1; transform: scale(1); }
50% { opacity: 0.5; transform: scale(1.3); }
}