-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstandard_message.css
101 lines (89 loc) · 2.06 KB
/
standard_message.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
div.messagearea {
margin:0;
padding: 0;
clear:both;
}
div.browsername {
background-color: #FFF;
padding-left: 0.5em;
}
#messagearea.empty {
border: none;
clear: both;
}
div#messagearea ul.messages li.hi_warn { margin: 2.5em 0; }
ul.messages {
font-family: arial, helvetica, sans-serif;
margin: 0;
padding: 0;
list-style-type: none;
list-style-image: none;
}
ul.messages li {
margin: 0.22em 0 0.22em;
padding: 0.25em;
background: transparent no-repeat 0.5em 0.3em;
position: relative;
}
ul.messages li .icon, ul.messages li.icon{
background: url(img/standard_message_icons.png) no-repeat;
display: block;
margin-right: 4px;
padding-left: 16px;
}
ul.messages li span.icon {
background: #fff;
padding-left: .5em;
padding-top: .35em;
margin-top: -.5em;
}
ul.messages li.success .icon, ul.messages li.success.icon {
background-position: 0 0;
}
ul.messages li.warn .icon, ul.messages li.hi_warn .icon, ul.messages li.warn.icon, ul.messages li.hi_warn.icon {
background-position: -17px 0;
}
ul.messages li.suggest .icon, ul.messages li.suggest.icon {
background-position: -34px 0;
}
ul.messages li.info .icon, ul.messages li.info.icon {
background-position: -51px 0;
}
ul.messages li.error .icon, ul.messages li.error.icon {
background-position: -68px 0;
}
ul.messages li.hi_warn em.detail{
font-weight: normal;
font-style: normal;
padding-left: 1.7em;
}
ul.messages li.hi_warn {
font-weight: bold;
}
/* Message_icon - will refine a bit more*/
.success, .error, .warn, .info, .suggest, .hi_warn {
background-image: url(img/standard_message_icons.png);
padding-left: 17px;
background-repeat: no-repeat;
background-color: transparent;
margin-bottom:.5em
}
.success {
background-position: 0 0;
}
.warn {
background-position: -17px 0;
}
.hi_warn {
background-position: -17px 0;
font-weight: bold;
}
.suggest {
background-position: -34px 0;
}
.info {
background-position: -51px 0;
}
.error {
background-position: -68px 0;
}