/
overlay.css
86 lines (84 loc) · 2.09 KB
/
overlay.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
#igmail-notifier,
#igmail-notifier[type="blue"] {
list-style-image: url('toolbar-new.png') !important;
-moz-image-region: rect(0, 57px, 16px, 38px);
}
#igmail-notifier[type="gray"] {
-moz-image-region: rect(0, 38px, 16px, 19px);
}
#igmail-notifier[type="red"] {
-moz-image-region: rect(0, 19px, 16px, 0);
}
#igmail-notifier[type="new"] {
-moz-image-region: rect(0, 76px, 16px, 57px);
}
#igmail-notifier[type="load0"] {
-moz-image-region: rect(0, 95px, 16px, 76px);
}
#igmail-notifier[type="load1"] {
-moz-image-region: rect(0, 114px, 16px, 95px);
}
#igmail-notifier[type="load2"] {
-moz-image-region: rect(0, 133px, 16px, 114px);
}
#igmail-notifier[type="load3"] {
-moz-image-region: rect(0, 152px, 16px, 133px);
}
#igmail-notifier:after {
position: relative;
display: block;
font-family: arial;
font-size: 10px;
font-weight: 600;
content: attr(value);
background-color: #3366CC;
color: white;
text-align: center;
overflow: hidden;
border-radius: 2px;
height: 11px;
line-height: 10px;
}
/* Windows Small Icon */
#igmail-notifier[length="1"]:after {
margin: 6px -1px 0 -9px;
width: 10px;
}
#igmail-notifier[length="2"]:after {
margin: 6px 0 0 -16px;
width: 16px;
}
#igmail-notifier[length="3"]:after {
margin: 6px -1px 0 -19px;
width: 20px;
}
#igmail-notifier[length="4"]:after {
margin: 6px -2px 0 -20px;
width: 22px;
}
/* Windows Large Icon */
#navigator-toolbox[iconsize="large"] #igmail-notifier[length="1"]:after {
margin: 6px 5px 0 -15px;
width: 10px;
}
#navigator-toolbox[iconsize="large"] #igmail-notifier[length="2"]:after {
margin: 6px 3px 0 -19px;
width: 16px;
}
#navigator-toolbox[iconsize="large"] #igmail-notifier[length="3"]:after {
margin: 6px 3px 0 -25px;
width: 22px;
}
#navigator-toolbox[iconsize="large"] #igmail-notifier[length="4"]:after{
margin: 6px 3px 0 -31px;
width: 28px;
}
/* Notification */
#alertTitleLabel[value="Gmail notifier"] + #alertTextLabel {
text-decoration: none !important;
}
@media (-moz-windows-default-theme: 1) {
#alertTitleLabel[value="Gmail notifier"] + #alertTextLabel {
color: InfoText !important;
}
}