-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathjquery.toaster.css
More file actions
86 lines (71 loc) · 2.71 KB
/
jquery.toaster.css
File metadata and controls
86 lines (71 loc) · 2.71 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
/*body { background: url(http://www.josephklevenefineartltd.com/NewSite/JasperJohnsCrosshatch.jpg); }*/
.toast {
display: block;
position: relative;
margin: 0 0 12px 0;
padding: 20px 6px;
z-index: 10000;
opacity: 0.8;
color: #eee;
background-color: rgba(0,0,0, 0.8);
background: -webkit-gradient(linear, right bottom, right top, color-stop(1.00, rgba(0,0,0, 0.8)), color-stop(0.15, rgba(0,0,0, 1.0)), color-stop(0.85, rgba(0,0,0, 0.8)), color-stop(0.00, rgba(0,0,0, 0.7)));
background: -webkit-linear-gradient(right bottom, right top, rgba(0,0,0, 0.8) 1.00, rgba(0,0,0, 1.0) 0.15, rgba(0,0,0, 0.8) 0.85, rgba(0,0,0, 0.7) 0.00);
background: -moz-linear-gradient(right bottom, right top, rgba(0,0,0, 0.8) 1.00, rgba(0,0,0, 1.0) 0.15, rgba(0,0,0, 0.8) 0.85, rgba(0,0,0, 0.7) 0.00);
background: -ms-linear-gradient(right bottom, right top, rgba(0,0,0, 0.8) 1.00, rgba(0,0,0, 1.0) 0.15, rgba(0,0,0, 0.8) 0.85, rgba(0,0,0, 0.7) 0.00);
background: linear-gradient(right bottom, right top, rgba(0,0,0, 0.8) 1.00, rgba(0,0,0, 1.0) 0.15, rgba(0,0,0, 0.8) 0.85, rgba(0,0,0, 0.7) 0.00);
-webkit-box-shadow: 0 3px 10px rgba(0,0,0,0.9);
-moz-box-shadow: 0 3px 10px rgba(0,0,0,0.9);
box-shadow: 0 3px 10px rgba(0,0,0,0.9);
text-shadow: 0 1px 0 #000;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;
border: 2px solid #999;
}
.toast:before {
content: '';
float:left;
width: 32px;
height: 32px;
margin-right: 10px;
}
.toast-none:before { display: none; }
.toast-info:before { background: url(./images/success.png); }
.toast-notice:before { background: url(./images/notice.png); }
.toast-warn:before { background: url(./images/warning.png); }
.toast-error:before { background: url(./images/error.png); }
.toast > a[href="#close"]/*:after*/ {
content: 'X';
color: white;
display: block;
position: absolute;
border: 2px solid white;
width: 18px; height: 16px;
top: -10px; right: -10px;
font-size: 12px;
padding-top: 2px;
background: black;
outline: none;
font-weight: bold;
text-align: center;
text-decoration: none;
-webkit-border-radius: 10px;
-moz-border-radius: 10px;
-ms-border-radius: 10px;
-o-border-radius: 10px;
border-radius: 10px;
-webkit-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
-moz-box-shadow: 0 1px 3px rgba(0,0,0,0.5);
box-shadow: 0 1px 3px rgba(0,0,0,0.5);
}
.toast > a[href="#close"]:focus/*:after*/,
.toast > a[href="#close"]:hover/*:after*/
{
-webkit-transform: scale(1.1, 1.1);
-moz-transform: scale(1.1, 1.1);
}
.toast > a[href="#close"]:focus/*:after*/ {
outline: 1px solid #000;
}