aboutsummaryrefslogtreecommitdiff
path: root/src/frontend/app/components/ServiceAlerts.css
blob: 484b45be5aeb87a8d9aa0bd633f317dd602bd913 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
/* Service Alerts Container */
.service-alerts-container {
  margin-bottom: 1.5rem;
}

.service-alert {
  display: flex;
  gap: 1rem;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 0.75rem;
  border: 1px solid;
}

.service-alert.info {
  background-color: #e3f2fd;
  border-color: #2196f3;
  color: #0d47a1;
}

.service-alert.warning {
  background-color: #fff3e0;
  border-color: #ff9800;
  color: #e65100;
}

.service-alert.error {
  background-color: #ffebee;
  border-color: #f44336;
  color: #b71c1c;
}

/* Dark mode adjustments */
@media (prefers-color-scheme: dark) {
  .service-alert.info {
    background-color: #0d47a1;
    border-color: #2196f3;
    color: #e3f2fd;
  }

  .service-alert.warning {
    background-color: #e65100;
    border-color: #ff9800;
    color: #fff3e0;
  }

  .service-alert.error {
    background-color: #b71c1c;
    border-color: #f44336;
    color: #ffebee;
  }
}

.alert-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
}

.alert-content {
  flex: 1;
}

.alert-title {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.alert-message {
  font-size: 0.9rem;
  line-height: 1.4;
}