forked from caolan/jquery.notify.js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnotify.css
85 lines (84 loc) · 1.64 KB
/
notify.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
#notifications {
font-size: 12pt;
font-family: Arial,sans-serif;
padding: 0;
margin: 0;
list-style-type: none;
width: 284px;
position: absolute;
top: 0;
right: 2.0em;
}
*html #notifications {
width /**/: 302px;
top: 0.05em;
right: 0.15em;
}
#notifications li {
margin: 0.5em;
color: #fff;
min-height: 3em;
position: relative;
}
*html #notifications li {
margin /**/: 0.45em 0;
height: 3em;
}
#notifications li * {
margin: 0;
padding: 0;
}
#notifications li .inner {
margin: 0;
padding: 1em;
background: #000;
width: 100%;
-webkit-border-radius: 6px;
-moz-border-radius: 6px;
border-radius: 6px;
}
#notifications li .inner .close {
cursor: pointer;
position: absolute;
right: -23px;
top: 0;
}
/*= CSS hack for Opera Rounded Corners */
@media all and (-webkit-min-device-pixel-ratio:10000), not all and (-webkit-min-device-pixel-ratio:0) {
#notifications li .inner {
background: url(jquery.notify.svg);
}
}
*html #notifications li .inner {
padding: 0.6em;
margin: 7px 0 0 2px;
}
#notifications li .inner .title {
font-weight: bold;
font-size: 14pt;
}
#notifications li .inner .text {
font-size: 11pt;
}
#notifications .withicon .inner * {
margin-left: 68px;
}
#notifications li .inner .icon {
display: block;
width: 52px;
height: 52px;
position: absolute;
text-align: center;
top: 1em;
left: -52px;
overflow: hidden;
}
#notifications li .inner .icon img {
margin: 0;
}
#notifications .withicon .inner {
min-height /**/: 52px;
}
*html #notifications .withicon {
height /**/: 80px;
}