-
Notifications
You must be signed in to change notification settings - Fork 0
/
flashs.css
75 lines (60 loc) · 1.31 KB
/
flashs.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
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
73
74
75
/*
##### flashes messages #####
# Developed by Baramex #
### github: https://github.com/baramex ###
License: lgpl-3.0
*/
.flash {
margin-top: 20px;
width: 85%;
margin-left: 7.5%;
border-radius: 10px;
vertical-align: middle;
padding: 5px;
font-size: 110%;
border-width: 0 3px 3px 0;
border-style: solid;
}
.success-flash.flash {
border-color: transparent #2ecc71 #2ecc71 transparent;
}
.error-flash.flash {
border-color: transparent #e74c3c #e74c3c transparent;
}
.info-flash.flash {
border-color: transparent #3498db #3498db transparent;
}
.not-allowed-flash.flash {
border-color: transparent #e74c3c #e74c3c transparent;
}
.error-flash p.mes {
border-left: 4px solid #e74c3c;
}
.error-flash {
background-color: #FF6B5A;
color: #fff;
}
.success-flash p.mes {
border-left: 4px solid #2ecc71;
}
.success-flash {
background-color: #41fb77;
color: #fff;
}
.info-flash p.mes {
border-left: 4px solid #3498db;
}
.info-flash {
background-color: #52baff;
color: #fff;
}
.not-allowed-flash p.mes {
border-left: 4px solid #e74c3c;
}
.not-allowed-flash {
background-color: #FF6B5A;
color: #fff;
}
p.mes {
border-radius: 2px;
}