forked from pterodactyl/panel
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathnotifications.css
More file actions
46 lines (36 loc) · 941 Bytes
/
Copy pathnotifications.css
File metadata and controls
46 lines (36 loc) · 941 Bytes
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
/**
* Styling to control alert boxes.
*/
.alert {
@apply .p-2 .border .items-center .leading-normal .rounded .flex .w-full .text-sm;
& > .title {
@apply .flex .rounded-full .uppercase .px-2 .py-1 .text-xs .font-bold .mr-3 .leading-none;
}
& > .message {
@apply .mr-2 .text-left .flex-auto;
}
&.error {
@apply .bg-red-600 .border-red-800 .text-red-50;
& > .title {
@apply .bg-red-500;
}
}
&.info {
@apply .bg-primary-600 .border-primary-800 .text-primary-50;
& > .title {
@apply .bg-primary-500;
}
}
&.success {
@apply .bg-green-600 .border-green-800 .text-green-50;
& > .title {
@apply .bg-green-500;
}
}
&.warning {
@apply .bg-yellow-600 .border-yellow-800 .text-yellow-50;
& > .title {
@apply .bg-yellow-500;
}
}
}