jquery.msg.css
3.11 KB
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
/*
* v1.0
* 2013年10月2日16:05:35;
*
* v1.1
* 2014年3月18日21:59:25;
* 扩大了å—体和内边è·ä»¥åŠå¤–阴影
* 2014年4月24日22:40:32
* å¢žåŠ äº†å—体和边è·ã€è°ƒæ•´äº†è¡Œé«˜
* 2014年6月2日16:07:06
* 调整了行高ã€å®½åº¦;
*/
@charset "utf-8";
.jquery_msg____ {
position: fixed;
top: 0;
left: 0;
margin: 0;
padding: 0;
line-height: 30px;
min-height: 10px;
max-width: 400px;
min-width: 300px;
z-index: 99999;
border-radius: 6px;
color: #fff;
box-shadow: 0 0 20px #666;
overflow: hidden;
}
@media(max-width: 500px){
.jquery_msg____{
max-width: 90%;
}
}
.jquery_msg____title,
.jquery_msg____footer{
text-align: center;
}
.jquery_msg____title{
font-size: 14px;
}
.jquery_msg____body {
padding: 10px 20px;
word-break: break-all;
font-size: 15px;
text-align: center;
}
.jquery_msg____inverse {
background: #6F6F6F;
text-shadow: 0 1px 0 #000;
background-image: linear-gradient(to bottom,#9B9B9B 0,#585858 100%);
}
.jquery_msg____muted {
background: #fff;
color: #666;
background-image: linear-gradient(to bottom,#fff 0,#F8F8F8 100%);
}
.jquery_msg____success {
text-shadow: 0 1px 0 #1B911B;
background: #42AF42;
background-image: linear-gradient(to bottom,#68D368 0,#419641 100%);
}
.jquery_msg____info {
background: #28ABD3;
text-shadow: 0 1px 0 #2B9DC0;
background-image: linear-gradient(to bottom,#6BCDEB 0,#2499BD 100%);
}
.jquery_msg____error {
text-shadow: 0 1px 0 #8B0A07;
background: #D54A46;
background-image: linear-gradient(to bottom,#E4635F 0,#c12e2a 100%);
}
.jquery_msg____warning {
background: #F17840;
text-shadow: 0 1px 0 #CC551E;
background-image: linear-gradient(to bottom,#FAB190 0,#DF5B1E 100%);
}
.jquery_msg____footer{
border-top: 1px solid;
}
.jquery_msg____footer button{
border: none;
margin: 0;
padding: 4px 0;
width: 0;
cursor: pointer;
outline: none;
font-size: 16px;
opacity: .8;
}
.jquery_msg____footer button{
border-right: 1px solid;
background: transparent;
}
.jquery_msg____footer button:last-child{
border-right: none;
}
.jquery_msg____footer button:hover{
opacity: 1;
}
.jquery_msg____inverse .jquery_msg____footer,
.jquery_msg____inverse .jquery_msg____footer button{
border-color: #505050;
}
.jquery_msg____muted .jquery_msg____footer,
.jquery_msg____muted .jquery_msg____footer button{
border-color: #d6d6d6;
}
.jquery_msg____success .jquery_msg____footer,
.jquery_msg____success .jquery_msg____footer button{
border-color: #279222;
}
.jquery_msg____info .jquery_msg____footer,
.jquery_msg____info .jquery_msg____footer button{
border-color: #218EAF;
}
.jquery_msg____error .jquery_msg____footer,
.jquery_msg____error .jquery_msg____footer button{
border-color: #AD2222;
}
.jquery_msg____warning .jquery_msg____footer,
.jquery_msg____warning .jquery_msg____footer button{
border-color: #D6571C;
}