alert.scss 1.14 KB
Newer Older
1
.alert {
2
  padding: 8px 16px;
3
  display: flex;
4
  justify-content: space-between;
5
  flex-direction: column;
6
7
8
9
  font-size: 0.875rem;
  font-weight: 400;
  font-family: "Roboto", "Helvetica", "Arial", sans-serif;
  line-height: 1.46429em;
10
11
12
13
14
15
16
  cursor: default;
  position: relative;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);

  &:hover {
    background-color: rgba(0, 0, 0, 0.03);
  }
17
18
}

19
.alert-subject-container {
20
  display: flex;
21
22
23
24
25
26
27
28
29
30
31
32
33
  justify-content: space-between;
  align-items: center;

  width: 100%;
  margin-bottom: 5px;
}

.alert-subject {
  margin: 0;
}

.alert-body {
  display: inline;
34
35
36
37
38
39
40
41
42
}

.alert-urgency-chip {
  height: 20px !important;
  font-size: 12px !important;
  line-height: 1;
  color: white !important;
}

43
44
45
46
47
48
49
.alert-url-container {
  width: 100%;
}

.alert-url-button-root {
  padding: 0 !important;
}
50

51
.alert-link {
52
53
54
55
  color: #0645AD;
  word-wrap: break-word;
  overflow-wrap: break-word;
  word-break: break-all;
56
57
58
}

.alert-info {
59
  background-color: #42A5F5 !important;
60
61
62
}

.alert-minor {
63
  background-color: #66BB6A !important;
64
65
66
}

.alert-major {
67
  background-color: #FFA726 !important;
68
69
70
}

.alert-emergency {
71
  background-color: #EF5350 !important;
72
}