mirror of
https://github.com/tips-of-mine/GLPI-Plugin-SOC-Case-Management.git
synced 2025-06-28 05:38:42 +02:00
205 lines
3.3 KiB
CSS
205 lines
3.3 KiB
CSS
/* Main SOC plugin styles */
|
|
.soc-dashboard {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 20px;
|
|
padding: 20px;
|
|
}
|
|
|
|
.soc-card {
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
|
|
padding: 20px;
|
|
transition: transform 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
|
|
}
|
|
|
|
.soc-card:hover {
|
|
transform: translateY(-5px);
|
|
box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
|
|
}
|
|
|
|
.soc-card-header {
|
|
border-bottom: 1px solid #eee;
|
|
margin-bottom: 15px;
|
|
padding-bottom: 10px;
|
|
}
|
|
|
|
.soc-card-title {
|
|
font-size: 18px;
|
|
font-weight: 500;
|
|
margin: 0;
|
|
}
|
|
|
|
.soc-card-content {
|
|
color: #555;
|
|
}
|
|
|
|
/* Status and severity indicators */
|
|
.soc-status, .soc-severity {
|
|
border-radius: 4px;
|
|
display: inline-block;
|
|
font-size: 12px;
|
|
font-weight: 500;
|
|
padding: 4px 8px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Status colors */
|
|
.soc-status-new {
|
|
background-color: #e3f2fd;
|
|
color: #1976d2;
|
|
}
|
|
|
|
.soc-status-assigned {
|
|
background-color: #e8f5e9;
|
|
color: #388e3c;
|
|
}
|
|
|
|
.soc-status-in-progress {
|
|
background-color: #fffde7;
|
|
color: #fbc02d;
|
|
}
|
|
|
|
.soc-status-pending {
|
|
background-color: #fff8e1;
|
|
color: #ff8f00;
|
|
}
|
|
|
|
.soc-status-resolved {
|
|
background-color: #e8eaf6;
|
|
color: #3f51b5;
|
|
}
|
|
|
|
.soc-status-closed {
|
|
background-color: #eceff1;
|
|
color: #607d8b;
|
|
}
|
|
|
|
/* Severity colors */
|
|
.soc-severity-critical {
|
|
background-color: #ffebee;
|
|
color: #d32f2f;
|
|
border-left: 4px solid #d32f2f;
|
|
}
|
|
|
|
.soc-severity-high {
|
|
background-color: #fff3e0;
|
|
color: #f57c00;
|
|
border-left: 4px solid #f57c00;
|
|
}
|
|
|
|
.soc-severity-medium {
|
|
background-color: #fffde7;
|
|
color: #fbc02d;
|
|
border-left: 4px solid #fbc02d;
|
|
}
|
|
|
|
.soc-severity-low {
|
|
background-color: #e8f5e9;
|
|
color: #4caf50;
|
|
border-left: 4px solid #4caf50;
|
|
}
|
|
|
|
/* Timeline */
|
|
.soc-timeline {
|
|
position: relative;
|
|
margin: 20px 0;
|
|
padding-left: 30px;
|
|
}
|
|
|
|
.soc-timeline:before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 10px;
|
|
top: 0;
|
|
bottom: 0;
|
|
width: 2px;
|
|
background: #e0e0e0;
|
|
}
|
|
|
|
.soc-timeline-item {
|
|
position: relative;
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
.soc-timeline-item:before {
|
|
content: '';
|
|
position: absolute;
|
|
left: -30px;
|
|
top: 5px;
|
|
width: 12px;
|
|
height: 12px;
|
|
border-radius: 50%;
|
|
background: #0056b3;
|
|
border: 2px solid white;
|
|
}
|
|
|
|
.soc-timeline-item-content {
|
|
background: #f9f9f9;
|
|
border-radius: 4px;
|
|
padding: 12px;
|
|
box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.soc-timeline-item-time {
|
|
color: #757575;
|
|
font-size: 12px;
|
|
margin-bottom: 5px;
|
|
}
|
|
|
|
/* Animation for status changes */
|
|
@keyframes statusChange {
|
|
0% { transform: scale(1); }
|
|
50% { transform: scale(1.1); }
|
|
100% { transform: scale(1); }
|
|
}
|
|
|
|
.soc-status-changed {
|
|
animation: statusChange 0.5s ease-in-out;
|
|
}
|
|
|
|
/* KPI Dashboard */
|
|
.soc-kpi-container {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
gap: 15px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.soc-kpi-card {
|
|
background: white;
|
|
border-radius: 8px;
|
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
|
|
flex: 1;
|
|
min-width: 200px;
|
|
padding: 15px;
|
|
text-align: center;
|
|
}
|
|
|
|
.soc-kpi-value {
|
|
font-size: 36px;
|
|
font-weight: 700;
|
|
margin: 10px 0;
|
|
}
|
|
|
|
.soc-kpi-label {
|
|
color: #757575;
|
|
font-size: 14px;
|
|
text-transform: uppercase;
|
|
}
|
|
|
|
/* Responsive adjustments */
|
|
@media (max-width: 768px) {
|
|
.soc-dashboard {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.soc-kpi-container {
|
|
flex-direction: column;
|
|
}
|
|
|
|
.soc-kpi-card {
|
|
width: 100%;
|
|
}
|
|
} |