chore: add ansible backend docker frontend-prep

This commit is contained in:
2026-01-21 13:05:13 +01:00
parent 5a280b6b01
commit 943fe4de7d
14930 changed files with 2341433 additions and 0 deletions
@@ -0,0 +1,651 @@
/* ============================================
ALERT HISTORY - CONTAINER
============================================ */
.alert-history-container {
width: 100%;
min-height: 100vh;
padding: clamp(1rem, 3vw, 2rem);
max-width: 1400px;
margin: 0 auto;
}
/* ============================================
HEADER
============================================ */
.alert-history-header {
margin-bottom: clamp(2rem, 5vw, 3rem);
}
.back-button {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1.25rem;
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.03) 0%,
rgba(255, 255, 255, 0.01) 100%
);
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
color: #9ca3af;
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
margin-bottom: 2rem;
}
.back-button:hover {
background: linear-gradient(
135deg,
rgba(16, 185, 129, 0.1) 0%,
rgba(5, 150, 105, 0.05) 100%
);
border-color: rgba(16, 185, 129, 0.3);
color: #10b981;
transform: translateX(-4px);
}
.header-content {
display: flex;
align-items: center;
gap: 1.5rem;
}
.header-icon {
width: 64px;
height: 64px;
border-radius: 16px;
display: flex;
align-items: center;
justify-content: center;
background: linear-gradient(
135deg,
rgba(16, 185, 129, 0.2),
rgba(5, 150, 105, 0.1)
);
border: 1px solid rgba(16, 185, 129, 0.3);
}
.alert-history-header h1 {
color: white;
font-size: clamp(2rem, 6vw, 2.5rem);
margin: 0 0 0.5rem 0;
font-weight: bold;
letter-spacing: -0.5px;
}
.header-subtitle {
color: #888;
font-size: clamp(1rem, 3vw, 1.1rem);
margin: 0;
}
/* ============================================
STATS CARDS
============================================ */
.alert-stats-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
gap: clamp(1rem, 3vw, 1.5rem);
margin-bottom: clamp(2rem, 5vw, 3rem);
}
.alert-stat-card {
position: relative;
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.03) 0%,
rgba(255, 255, 255, 0.01) 100%
);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: clamp(1.5rem, 4vw, 2rem);
display: flex;
align-items: center;
gap: 1.5rem;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
backdrop-filter: blur(8px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.alert-stat-card::before {
content: "";
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(
90deg,
transparent,
rgba(16, 185, 129, 0.1),
transparent
);
transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
pointer-events: none;
}
.alert-stat-card:hover {
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.05) 0%,
rgba(255, 255, 255, 0.02) 100%
);
border-color: rgba(16, 185, 129, 0.3);
box-shadow: 0 12px 32px rgba(16, 185, 129, 0.2);
transform: translateY(-4px);
}
.alert-stat-card:hover::before {
left: 100%;
}
.alert-stat-icon {
width: 60px;
height: 60px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.alert-stat-card:hover .alert-stat-icon {
transform: scale(1.1) rotate(5deg);
}
.alert-stat-icon.total {
background: linear-gradient(
135deg,
rgba(59, 130, 246, 0.2),
rgba(37, 99, 235, 0.1)
);
color: #3b82f6;
box-shadow: 0 8px 24px rgba(59, 130, 246, 0.3);
}
.alert-stat-icon.active {
background: linear-gradient(
135deg,
rgba(239, 68, 68, 0.2),
rgba(220, 38, 38, 0.1)
);
color: #ef4444;
box-shadow: 0 8px 24px rgba(239, 68, 68, 0.3);
}
.alert-stat-icon.resolved {
background: linear-gradient(
135deg,
rgba(16, 185, 129, 0.2),
rgba(5, 150, 105, 0.1)
);
color: #10b981;
box-shadow: 0 8px 24px rgba(16, 185, 129, 0.3);
}
.alert-stat-content {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.alert-stat-label {
color: #888;
font-size: clamp(0.85rem, 2.5vw, 0.95rem);
margin: 0;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 600;
}
.alert-stat-value {
color: white;
font-size: clamp(1.8rem, 5vw, 2.2rem);
margin: 0;
font-weight: bold;
letter-spacing: -0.5px;
}
/* ============================================
FILTERS
============================================ */
.alert-filters {
display: flex;
gap: 1rem;
margin-bottom: clamp(2rem, 5vw, 3rem);
flex-wrap: wrap;
}
.filter-button {
padding: 0.75rem 1.5rem;
border: 1px solid rgba(255, 255, 255, 0.1);
border-radius: 12px;
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.03) 0%,
rgba(255, 255, 255, 0.01) 100%
);
color: #9ca3af;
font-size: 0.95rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
backdrop-filter: blur(8px);
}
.filter-button:hover {
background: linear-gradient(
135deg,
rgba(16, 185, 129, 0.1) 0%,
rgba(5, 150, 105, 0.05) 100%
);
border-color: rgba(16, 185, 129, 0.3);
color: #10b981;
transform: translateY(-2px);
}
.filter-button.active {
background: linear-gradient(135deg, #10b981, #059669);
border-color: #10b981;
color: white;
box-shadow: 0 4px 16px rgba(16, 185, 129, 0.3);
}
.filter-button.active:hover {
transform: translateY(-2px);
box-shadow: 0 6px 20px rgba(16, 185, 129, 0.4);
}
/* ============================================
ALERTS LIST
============================================ */
.alerts-section {
margin-bottom: clamp(2rem, 5vw, 3rem);
}
.alerts-list {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.alert-card {
position: relative;
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.03) 0%,
rgba(255, 255, 255, 0.01) 100%
);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
padding: clamp(1.5rem, 4vw, 2rem);
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
overflow: hidden;
backdrop-filter: blur(8px);
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.alert-card.active {
border-color: rgba(239, 68, 68, 0.3);
background: linear-gradient(
135deg,
rgba(239, 68, 68, 0.05) 0%,
rgba(220, 38, 38, 0.02) 100%
);
}
.alert-card.resolved {
border-color: rgba(16, 185, 129, 0.2);
}
.alert-card:hover {
box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
transform: translateY(-2px);
}
.alert-card-header {
display: flex;
align-items: center;
gap: 1rem;
margin-bottom: 1.5rem;
padding-bottom: 1.5rem;
border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.alert-card-icon {
width: 48px;
height: 48px;
border-radius: 12px;
display: flex;
align-items: center;
justify-content: center;
flex-shrink: 0;
}
.alert-card.active .alert-card-icon {
background: linear-gradient(
135deg,
rgba(239, 68, 68, 0.2),
rgba(220, 38, 38, 0.1)
);
color: #ef4444;
}
.alert-card.resolved .alert-card-icon {
background: linear-gradient(
135deg,
rgba(16, 185, 129, 0.2),
rgba(5, 150, 105, 0.1)
);
color: #10b981;
}
.alert-card-info {
flex: 1;
}
.alert-card-info h3 {
color: white;
font-size: 1.2rem;
font-weight: 700;
margin: 0 0 0.5rem 0;
}
.alert-card-meta {
display: flex;
align-items: center;
gap: 0.5rem;
color: #9ca3af;
font-size: 0.9rem;
}
.alert-status-badge {
padding: 0.5rem 1rem;
border-radius: 20px;
font-size: 0.85rem;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.5px;
}
.alert-status-badge.active {
background: linear-gradient(
135deg,
rgba(239, 68, 68, 0.2),
rgba(220, 38, 38, 0.1)
);
color: #ef4444;
border: 1px solid rgba(239, 68, 68, 0.4);
animation: pulse-badge 2s infinite;
}
.alert-status-badge.resolved {
background: linear-gradient(
135deg,
rgba(16, 185, 129, 0.2),
rgba(5, 150, 105, 0.1)
);
color: #10b981;
border: 1px solid rgba(16, 185, 129, 0.4);
}
@keyframes pulse-badge {
0%,
100% {
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.4);
}
50% {
box-shadow: 0 0 0 8px rgba(239, 68, 68, 0);
}
}
.alert-card-details {
display: flex;
flex-direction: column;
gap: 1rem;
}
.alert-detail-item {
display: flex;
align-items: flex-start;
gap: 1rem;
padding: 1rem;
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.02) 0%,
rgba(255, 255, 255, 0.01) 100%
);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 12px;
}
.alert-detail-item svg {
color: #10b981;
flex-shrink: 0;
margin-top: 2px;
}
.alert-detail-item > div {
flex: 1;
display: flex;
flex-direction: column;
gap: 0.25rem;
}
.detail-label {
color: #888;
font-size: 0.85rem;
text-transform: uppercase;
letter-spacing: 0.5px;
font-weight: 600;
}
.detail-value {
color: white;
font-size: 1rem;
font-weight: 500;
}
.alert-active-indicator {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1rem;
background: linear-gradient(
135deg,
rgba(239, 68, 68, 0.1) 0%,
rgba(220, 38, 38, 0.05) 100%
);
border: 1px solid rgba(239, 68, 68, 0.3);
border-radius: 12px;
color: #ef4444;
font-weight: 600;
}
.pulse-indicator {
width: 12px;
height: 12px;
border-radius: 50%;
background: #ef4444;
animation: pulse-dot 2s infinite;
}
@keyframes pulse-dot {
0%,
100% {
box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
}
50% {
box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
}
}
/* ============================================
NO ALERTS CARD
============================================ */
.no-alerts-card {
text-align: center;
padding: 4rem 2rem;
background: linear-gradient(
135deg,
rgba(255, 255, 255, 0.03) 0%,
rgba(255, 255, 255, 0.01) 100%
);
border: 1px solid rgba(255, 255, 255, 0.08);
border-radius: 16px;
backdrop-filter: blur(8px);
}
.no-alerts-card p {
color: #9ca3af;
font-size: 1.2rem;
font-weight: 600;
margin: 1rem 0 0.5rem 0;
}
.no-alerts-text {
color: #6b7280;
font-size: 0.95rem;
}
/* ============================================
INFO BOX
============================================ */
.info-box {
display: flex;
gap: 1rem;
padding: 1.5rem;
background: linear-gradient(
135deg,
rgba(59, 130, 246, 0.1) 0%,
rgba(37, 99, 235, 0.05) 100%
);
border: 1px solid rgba(59, 130, 246, 0.3);
border-radius: 16px;
color: #3b82f6;
}
.info-box svg {
flex-shrink: 0;
margin-top: 2px;
}
.info-box h4 {
color: white;
font-size: 1rem;
font-weight: 700;
margin: 0 0 0.5rem 0;
}
.info-box p {
color: #9ca3af;
font-size: 0.95rem;
line-height: 1.6;
margin: 0;
}
/* ============================================
LOADING
============================================ */
.loading-alerts {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: 1.5rem;
padding: 4rem 2rem;
text-align: center;
}
.loading-alerts p {
color: #9ca3af;
font-size: 1.2rem;
font-weight: 600;
animation: pulse 1.5s ease-in-out infinite;
}
@keyframes pulse {
0%,
100% {
opacity: 0.6;
}
50% {
opacity: 1;
}
}
/* ============================================
RESPONSIVE
============================================ */
@media (max-width: 768px) {
.header-content {
flex-direction: column;
align-items: center;
}
.header-icon {
width: 56px;
height: 56px;
}
.alert-stats-grid {
grid-template-columns: 1fr;
}
.alert-filters {
flex-direction: column;
}
.filter-button {
width: 100%;
}
.alert-card-header {
flex-wrap: wrap;
}
.alert-status-badge {
width: 100%;
text-align: center;
}
}
@media (max-width: 480px) {
.alert-card-header {
flex-direction: column;
align-items: flex-start;
}
.alert-card-icon {
width: 40px;
height: 40px;
}
.alert-card-info h3 {
font-size: 1.1rem;
}
}
@media (hover: none) {
.back-button:hover,
.alert-stat-card:hover,
.filter-button:hover,
.alert-card:hover {
transform: none;
}
}