summaryrefslogtreecommitdiff
path: root/browser/base/content/padlock.css
blob: 9c4e978dee1d9ee6d775a012ba8500f358ba7f4a (plain)
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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
#padlock-ib {
  -moz-appearance: none;
  min-width: 0px;
  margin-right: 1px !important;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1000 !important;
  padding: 0px;
  margin: 0px;
  border: 0px; 
}

#padlock-ib[padshow="ib-trans-bg"][level="ev"] {
  list-style-image: url("chrome://browser/content/padlock_mod_ev.png");
  background-color: transparent;
}

#padlock-ib[padshow="ib-trans-bg"][level="high"] {
  list-style-image: url("chrome://browser/content/padlock_mod_https.png");
  background-color: transparent;
}

#padlock-ib[padshow="ib-trans-bg"][level="low"] {
  list-style-image: url("chrome://browser/content/padlock_mod_low.png");
  background-color: transparent;
}

#padlock-ib[padshow="ib-trans-bg"][level="broken"] {
  list-style-image: url("chrome://browser/content/padlock_mod_broken.png");
  background-color: transparent;
}

#padlock-ib-left {
  -moz-appearance: none;
  min-width: 0px;
  margin-right: 1px !important;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1000 !important;
  padding: 0px;
  margin: 0px;
  border: 0px; 
}

#padlock-ib-left[padshow="ib-left"][level="ev"] {
  list-style-image: url("chrome://browser/content/padlock_mod_ev.png");
  padding: 2px;
  background-color: transparent;
}

#padlock-ib-left[padshow="ib-left"][level="high"] {
  list-style-image: url("chrome://browser/content/padlock_mod_https.png");
  padding: 2px;
  background-color: transparent;
}

#padlock-ib-left[padshow="ib-left"][level="low"] {
  list-style-image: url("chrome://browser/content/padlock_mod_low.png");
  padding: 2px;
  background-color: transparent;
}

#padlock-ib-left[padshow="ib-left"][level="broken"] {
  list-style-image: url("chrome://browser/content/padlock_mod_broken.png");
  padding: 2px;
  background-color: transparent;
}

#padlock-ub-right {
  -moz-appearance: none;
  min-width: 0px;
  margin-right: 1px !important;
  background-repeat: no-repeat;
  background-position: center;
  z-index: 1000 !important;
  padding: 0px;
  margin: 0px;
  border: 0px; 
}

#padlock-ub-right[padshow="ub-right"][level="ev"] {
  list-style-image: url("chrome://browser/content/padlock_mod_ev.png");
  background-color: transparent;
}

#padlock-ub-right[padshow="ub-right"][level="high"] {
  list-style-image: url("chrome://browser/content/padlock_mod_https.png");
  background-color: transparent;
}

#padlock-ub-right[padshow="ub-right"][level="low"] {
  list-style-image: url("chrome://browser/content/padlock_mod_low.png");
  background-color: transparent;
}

#padlock-ub-right[padshow="ub-right"][level="broken"] {
  list-style-image: url("chrome://browser/content/padlock_mod_broken.png");
  background-color: transparent;
}

#padlock-sb {
  -moz-appearance: none;
  background-repeat: no-repeat;
  background-position: center;
}

#padlock-sb[padshow="statbar"][level="ev"] {
  list-style-image: url("chrome://browser/content/padlock_mod_ev.png");
  background-color: transparent;
}

#padlock-sb[padshow="statbar"][level="high"] {
  list-style-image: url("chrome://browser/content/padlock_mod_https.png");
  background-color: transparent;
}

#padlock-sb[padshow="statbar"][level="low"] {
  list-style-image: url("chrome://browser/content/padlock_mod_low.png");
  background-color: transparent;
}

#padlock-sb[padshow="statbar"][level="broken"] {
  list-style-image: url("chrome://browser/content/padlock_mod_broken.png");
  background-color: transparent;
}

#padlock-tab {
  -moz-appearance: none;
  background-repeat: no-repeat;
  background-position: center;
}

#padlock-tab[padshow="tabs-bar"][level="ev"] {
  list-style-image: url("chrome://browser/content/padlock_mod_ev.png");
  background-color: transparent;
}

#padlock-tab[padshow="tabs-bar"][level="high"] {
  list-style-image: url("chrome://browser/content/padlock_mod_https.png");
  background-color: transparent;
}

#padlock-tab[padshow="tabs-bar"][level="low"] {
  list-style-image: url("chrome://browser/content/padlock_mod_low.png");
  background-color: transparent;
}

#padlock-tab[padshow="tabs-bar"][level="broken"] {
  list-style-image: url("chrome://browser/content/padlock_mod_broken.png");
  background-color: transparent;
}

/* Classic style */
#padlock-ib[padshow="ib-trans-bg"][padstyle="classic"][level="ev"],
#padlock-ib-left[padshow="ib-left"][padstyle="classic"][level="ev"],
#padlock-ub-right[padshow="ub-right"][padstyle="classic"][level="ev"],
#padlock-sb[padshow="statbar"][padstyle="classic"][level="ev"],
#padlock-tab[padshow="tabs-bar"][padstyle="classic"][level="ev"] {
  list-style-image: url("chrome://browser/content/padlock_classic_ev.png");
}

#padlock-ib[padshow="ib-trans-bg"][padstyle="classic"][level="high"],
#padlock-ib-left[padshow="ib-left"][padstyle="classic"][level="high"],
#padlock-ub-right[padshow="ub-right"][padstyle="classic"][level="high"],
#padlock-sb[padshow="statbar"][padstyle="classic"][level="high"],
#padlock-tab[padshow="tabs-bar"][padstyle="classic"][level="high"] {
  list-style-image: url("chrome://browser/content/padlock_classic_https.png");
}

#padlock-ib[padshow="ib-trans-bg"][padstyle="classic"][level="low"],
#padlock-ib-left[padshow="ib-left"][padstyle="classic"][level="low"],
#padlock-ub-right[padshow="ub-right"][padstyle="classic"][level="low"],
#padlock-sb[padshow="statbar"][padstyle="classic"][level="low"],
#padlock-tab[padshow="tabs-bar"][padstyle="classic"][level="low"] {
  list-style-image: url("chrome://browser/content/padlock_classic_https.png");
}

#padlock-ib[padshow="ib-trans-bg"][padstyle="classic"][level="broken"],
#padlock-ib-left[padshow="ib-left"][padstyle="classic"][level="broken"],
#padlock-ub-right[padshow="ub-right"][padstyle="classic"][level="broken"],
#padlock-sb[padshow="statbar"][padstyle="classic"][level="broken"],
#padlock-tab[padshow="tabs-bar"][padstyle="classic"][level="broken"] {
  list-style-image: url("chrome://browser/content/padlock_classic_broken.png");
}

/* Remove a few px of dead space for disabled locations */
#padlock-ib:not([padshow="ib-trans-bg"]),
#padlock-ib-left:not([padshow="ib-left"]),
#padlock-ub-right:not([padshow="ub-right"]),
#padlock-sb:not([padshow="statbar"]),
#padlock-tab:not([padshow="tabs-bar"]) {
    visibility: collapse;
}