alertwindow.css
846 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
47
48
49
/* the overlayed element */
div.overlay {
/* growing background image */
background-image:url(/server/pic/alertwindow/white.png);
/* dimensions after the growing animation finishes */
width:600px;
height:470px;
/* initially overlay is hidden */
display:none;
/* some padding to layout nested elements nicely */
padding:55px;
}
/* default close button positioned on upper right corner */
div.overlay div.close {
background-image:url(/server/pic/alertwindow/close.png);
position:absolute;
right:5px;
top:5px;
cursor:pointer;
height:35px;
width:35px;
}
#alert {
width:300px;
height:220px;
}
#alert div.close {
top:0;
right:0;
}
#alert h2 {
background-image:url(/server/pic/alertwindow/alert.png);
background-position:6px center;
background-repeat:no-repeat;
padding:10px 0 10px 60px;
margin-top:-10px;
}