File: popup.css

package info (click to toggle)
wot 20151208-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 3,684 kB
  • ctags: 828
  • sloc: makefile: 8
file content (449 lines) | stat: -rw-r--r-- 10,186 bytes parent folder | download
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
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
/*
	popup.css
	Copyright © 2009 - 2013  WOT Services Oy <info@mywot.com>

	This file is part of WOT.

	WOT is free software: you can redistribute it and/or modify it
	under the terms of the GNU General Public License as published by
	the Free Software Foundation, either version 3 of the License, or
	(at your option) any later version.

	WOT is distributed in the hope that it will be useful, but WITHOUT
	ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
	or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
	License for more details.

	You should have received a copy of the GNU General Public License
	along with WOT. If not, see <http://www.gnu.org/licenses/>.
*/

.wot-popup-layer {
    position: absolute;
    top: -9999px;
    z-index: 2147483647;
    max-width: 395px;
    margin: 0;
    padding: 0;
    border: 1px solid #e4e4e4 !important;
    font-family: Arial, sans-serif;
    font-size: 12px;
    cursor: pointer;
    -moz-user-select: none;
    box-shadow: 4px 4px 6px rgba(189, 189, 189, 0.65);
    background-color: white;
}

#wot-logo {
    background: url("chrome://wot/skin/fusion/logo.png") top left no-repeat;
    margin: 0;
    text-align: right;
    color: #A5A4A4;
    font-size: 11px;
    padding: 5px 5px;
    background-position: 6px 6px;
    background-size: 11%;
}

.wot-ratings {
    display: block;
    margin: 0;
    padding: 0 5px 0;
    background-color: #F9F9F9;
    height: 97px;
    border-top: 1px solid #D9D9D9;
    border-bottom: 1px solid #D9D9D9;
}

#wot-hostname {
    text-align: center;
    white-space: nowrap;
    text-overflow: ellipsis;
    padding: 6px 0;
    overflow: hidden;
    font-weight: bold;
    color: #454545;
}

.wot-stack {
    display: table-cell;
    height: 50px;
    min-width: 110px;
}

.wot-stack-left {
    padding-left: 12px;
}

.wot-stack-right {
    padding: 0 15px;
}

.wot-header {
    color: #454545;
    display: block;
    font-size: 12px;
    font-weight: normal;
    line-height: 14px;
    margin: 0;
    overflow: hidden;
    padding: 0 0 7px 0;
    text-align: left;
    white-space: nowrap;
}

.wot-rep {
    background-image: url("chrome://wot/skin/b/donuts_150.png");
    background-repeat: no-repeat;
    background-position: 0 -165px;
    background-size: 35px 198px;
    height: 33px;
    width: 35px;
    margin-left: -4px;
    margin-top: 7px;
    padding: 0;
    float: left;
}

.wot-popup-layer-accessible .wot-rep {
    background-image: url("chrome://wot/skin/b/accessible/donuts_150.png");
}

.wot-rep[reputation="r1"] {
    background-position: 0 -132px;
}

.wot-rep[reputation="r2"] {
    background-position: 0 -99px;
}

.wot-rep[reputation="r3"] {
    background-position: 0 -66px;
}

.wot-rep[reputation="r4"] {
    background-position: 0 -33px;
}

.wot-rep[reputation="r5"] {
    background-position: 0 0;
}

.wot-rating-confidence {
    position: absolute;
    margin-top: 14px;
    margin-left: 40px;
    width: 44px;
}

.confidence-dot {
    border: 1px solid #676767;
    border-radius: 50%/50%;
    width: 4px;
    height: 4px;
    margin-right: 2px;
    display: inline-block;
}

.wot-rating-confidence[confidence="c1"] .confidence-dot-1 {
    background-color: #676767;
}

.wot-rating-confidence[confidence="c2"] .confidence-dot-1,
.wot-rating-confidence[confidence="c2"] .confidence-dot-2 {
    background-color: #676767;
}

.wot-rating-confidence[confidence="c3"] .confidence-dot-1,
.wot-rating-confidence[confidence="c3"] .confidence-dot-2,
.wot-rating-confidence[confidence="c3"] .confidence-dot-3 {
    background-color: #676767;
}

.wot-rating-confidence[confidence="c4"] .confidence-dot-1,
.wot-rating-confidence[confidence="c4"] .confidence-dot-2,
.wot-rating-confidence[confidence="c4"] .confidence-dot-3,
.wot-rating-confidence[confidence="c4"] .confidence-dot-4 {
    background-color: #676767;
}

.wot-rating-confidence[confidence="c5"] .confidence-dot-1,
.wot-rating-confidence[confidence="c5"] .confidence-dot-2,
.wot-rating-confidence[confidence="c5"] .confidence-dot-3,
.wot-rating-confidence[confidence="c5"] .confidence-dot-4,
.wot-rating-confidence[confidence="c5"] .confidence-dot-5 {
    background-color: #676767;
}

.wot-popup-layer .rating-legend-wrapper {
    /*position: absolute;*/
    background: url("chrome://wot/skin/b/bubl_speech_c_150.png")  top left repeat-x;
    background-size: 1px 24px;
    height: 24px;
    margin: 1px 0 auto 14px;
    float: left;
    position: relative;

    display: none; /* don't show bubble speeches for now until we have their new styles */
}

.wot-popup-layer .rating-legend-wrapper:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 17px;
    margin-left: -17px;
    background: url("chrome://wot/skin/b/bubl_speech_l_150.png") top left no-repeat;
    background-size: 17px 24px;
}

.wot-popup-layer .rating-legend-wrapper:after {
    position: absolute;
    content: "";
    height: 24px;
    width: 17px;
    right: -17px;
    background: url("chrome://wot/skin/b/bubl_speech_r_150.png") top left no-repeat;
    background-size: 10px 24px;
    top: 0px;
}

.wot-popup-layer .rating-legend {
    position: relative;
    height: 24px;
    min-width: 48px;
    margin: -2px 0 0;
    padding: 7px 4px 0 0;
    color: #454545;
    font-size: 12px;
    text-align: center;
    white-space: nowrap;
}

#wot-categories {
    /* Block of categories */
    clear: both;
}

#wot-cat-text {
    /* This element is for optional text when no categories are identified */
    font-size: 11px;
    color: #3073C5;
    padding: 6px 5px;
    text-align: center;
    display: none;
}

#wot-cat-text:hover {
    text-decoration: underline;
}

#wot-cat-list {
    /* List of categories */
    display: none;
    padding: 0 10px 0 40px !important;
    margin: 6px 0 !important;
}

.wot-popup-layer .cat-item {
    font-size: 9pt;
    color: silver;
    list-style: none !important;
    padding: 0.2em 0 !important;
}

.wot-popup-layer .cat-item:before {
    width: 1em;
    height: 1em;
    border: 1px solid #C0C0C0;
    background-color: #C0C0C0;
    border-radius: 50%;
    content: "";
    position: absolute;
    margin-left: -1.65em;
    margin-top: 0;
}

.c-neutral.cat-item:before {
    background-color: #707070;
    background: -moz-radial-gradient(center, ellipse cover, #9e9c9c 0%,#707070 100%); /* Chrome10+,Safari5.1+ */
    border-color: #7d7d7d;
}

.wot-popup-layer-accessible .c-neutral.cat-item:before {
    background-color: #707070;
    background: -moz-radial-gradient(center, ellipse cover, #9B9898 0%, #7E7E7E 100%);
    border-color: #707070;
}

.c-questionable.cat-item:before {
    background-color: #ffd100;
    background: -moz-radial-gradient(center, ellipse cover, #f8df68 0%,#f6cd0e 100%); /* Chrome10+,Safari5.1+ */
    border-color: #f6cd0e;
}

.wot-popup-layer-accessible .c-questionable.cat-item:before {
    background-color: #F6CD0E;
    background: -moz-radial-gradient(center, ellipse cover, #FEE68A 0%, #F5CC33 100%);
    border-color: #F6CD0E;
}

.c-negative.cat-item:before {
    background-color: #f66d3f;
    background: -moz-radial-gradient(center, ellipse cover, #fca080 0%,#f77448 100%); /* Chrome10+,Safari5.1+ */
    border-color: #f66d3f;
}

.wot-popup-layer-accessible .c-negative.cat-item:before {
    background-color: #1F1F1F;
    background: -moz-radial-gradient(center, ellipse cover,#939393 0%, #1F1F1F 100%);
    border-color: #1F1F1F;
}

.c-positive.cat-item:before {
    background-color: #68c800;
    background: -moz-radial-gradient(center, ellipse cover, #83d561 0%,#6dc14a 100%); /* Chrome10+,Safari5.1+ */
    border-color: #6dc14a;
}

.wot-popup-layer-accessible .c-positive.cat-item:before {
    background-color: #B8B8B8;
    background: -moz-radial-gradient(center, ellipse cover, #FDFDFD 0%, #F7F7F7 100%);
    border-color: #B8B8B8;
}

/* reset styles */
.wot-popup-layer .c0,
.wot-popup-layer .c1,
.wot-popup-layer .c2,
.wot-popup-layer .c3,
.wot-popup-layer .c4,
.wot-popup-layer .c5 {
    height: auto;
}

.wot-popup-layer .c0 {
    font-size: 11px !important;
    color: #a7a7a7 !important;
}

.wot-popup-layer .c0.cat-item:before {
    width: 4px !important;
    height: 4px !important;
    margin-left: -19px !important;
    margin-top: 4px !important;
}

.wot-popup-layer .c1 {
    font-size: 12px;
    color: #a7a7a7;
}

.wot-popup-layer .c1.cat-item:before {
    width: 6px;
    height: 6px;
    margin-left: -20px;
    margin-top: 3px;
}

.wot-popup-layer .c2,
.wot-popup-layer .c3 {
    font-size: 12px;
    color: #646464;
}

.wot-popup-layer .c2.cat-item:before,
.wot-popup-layer .c3.cat-item:before {
    width: 7px;
    height: 7px;
    margin-left: -19px;
    margin-top: 1px;
}

.wot-popup-layer .c4,
.wot-popup-layer .c5 {
    font-size: 12px;
    color: #5c5c5c;
    font-weight: bold;
}

.wot-popup-layer .c4.cat-item:before,
.wot-popup-layer .c5.cat-item:before {
    width: 8px;
    height: 8px;
    margin-left: -20px;
    margin-top: 2px;
}

/* small hints about user's ratings on the popup */

.wot-corners-wrapper {
    position: relative;
}

.wot-pp-tr,
.wot-pp-cs {
    position: absolute;
    width: 0;
    height: 0;
    bottom: 0;
    left: 0;
    border: 4px solid transparent;
}

.wot-pp-cs {
    right: 0;
    left: auto;
    margin-left: auto;
    bottom: 0;
}

.wot-pp-tr[r="r1"] {
    border-left-color: #fd0000;
    border-bottom-color: #fd0000;
}

.wot-pp-cs[r="r1"] {
    border-right-color: #fd0000;
    border-bottom-color: #fd0000;
}

.wot-pp-tr[r="r2"] {
    border-left-color: #ff9f75;
    border-bottom-color: #ff9f75;
}

.wot-pp-cs[r="r2"] {
    border-right-color: #ff9f75;
    border-bottom-color: #ff9f75;
}

.wot-pp-tr[r="r3"] {
    border-left-color: #ffd100;
    border-bottom-color: #ffd100;
}

.wot-pp-cs[r="r3"] {
    border-right-color: #ffd100;
    border-bottom-color: #ffd100;
}

.wot-pp-tr[r="r4"] {
    border-left-color: #a7df21;
    border-bottom-color: #a7df21;
}

.wot-pp-cs[r="r4"] {
    border-right-color: #a7df21;
    border-bottom-color: #a7df21;
}

.wot-pp-tr[r="r5"] {
    border-left-color: #68c800;
    border-bottom-color: #68c800;
}

.wot-pp-cs[r="r5"] {
    border-right-color: #68c800;
    border-bottom-color: #68c800;
}