-
Notifications
You must be signed in to change notification settings - Fork 21
/
alert.module.css
40 lines (36 loc) · 1.22 KB
/
alert.module.css
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
.container {
border-style: solid;
border-width: 1px;
color: var(--reactist-content-primary);
padding: var(--reactist-spacing-small);
/* this is to make sure it always has the same minimum height, whether it has a close button or not */
min-height: calc(2 * var(--reactist-spacing-small) + var(--reactist-button-small-height) + 2px);
}
.tone-info {
background-color: var(--reactist-alert-tone-info-background);
border-color: var(--reactist-alert-tone-info-border);
}
.tone-info .icon {
color: var(--reactist-alert-tone-info-icon);
}
.tone-positive {
background-color: var(--reactist-alert-tone-positive-background);
border-color: var(--reactist-alert-tone-positive-border);
}
.tone-positive .icon {
color: var(--reactist-alert-tone-positive-icon);
}
.tone-caution {
background-color: var(--reactist-alert-tone-caution-background);
border-color: var(--reactist-alert-tone-caution-border);
}
.tone-caution .icon {
color: var(--reactist-alert-tone-caution-icon);
}
.tone-critical {
background-color: var(--reactist-alert-tone-critical-background);
border-color: var(--reactist-alert-tone-critical-border);
}
.tone-critical .icon {
color: var(--reactist-alert-tone-critical-icon);
}