Projet

Général

Profil

Paste
Télécharger (30,9 ko) Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / modules / pdf_reader / css / pdf_reader-viewer.css @ 87dbc3bf

1
* {
2
  padding: 0;
3
  margin: 0;
4
}
5

    
6
html {
7
  height: 100%;
8
}
9

    
10
body {
11
  height: 100%;
12
  background-color: #404040;
13
  background-image: url(images/texture.png);
14
}
15

    
16
body,
17
input,
18
button,
19
select {
20
  font: message-box;
21
}
22

    
23
.hidden {
24
  display: none;
25
}
26
[hidden] {
27
  display: none !important;
28
}
29

    
30
#viewerContainer:-webkit-full-screen {
31
  top: 0px;
32
  padding-top: 6px;
33
  padding-bottom: 24px;
34
  background-color: #404040;
35
  background-image: url(images/texture.png);
36
  width: 100%;
37
  height: 100%;
38
  overflow: auto;
39
}
40

    
41
:-webkit-full-screen #viewer {
42
  margin: 0pt;
43
  padding: 0pt;
44
  height: 100%;
45
  width: 100%;
46
  overflow: hidden;
47
}
48

    
49
:-webkit-full-screen .page {
50
  margin: 0px auto;
51
  margin-bottom: 10px;
52
}
53

    
54
#viewerContainer:-moz-full-screen {
55
  background-color: #404040;
56
  background-image: url(images/texture.png);
57
  width: 100%;
58
  height: 100%;
59
  overflow: hidden;
60
}
61

    
62
:-moz-full-screen .page:last-child {
63
  margin-bottom: 40px;
64
}
65

    
66
#viewerContainer:full-screen {
67
  top: 0px;
68
  background-color: #404040;
69
  background-image: url(images/texture.png);
70
  width: 100%;
71
  height: 100%;
72
}
73

    
74
/* outer/inner center provides horizontal center */
75
html[dir='ltr'] .outerCenter {
76
  float: right;
77
  position: relative;
78
  right: 50%;
79
}
80
html[dir='rtl'] .outerCenter {
81
  float: left;
82
  position: relative;
83
  left: 50%;
84
}
85
html[dir='ltr'] .innerCenter {
86
  float: right;
87
  position: relative;
88
  right: -50%;
89
}
90
html[dir='rtl'] .innerCenter {
91
  float: left;
92
  position: relative;
93
  left: -50%;
94
}
95

    
96
#outerContainer {
97
  width: 100%;
98
  height: 100%;
99
}
100

    
101
#sidebarContainer {
102
  width: 200px;
103
  visibility: hidden;
104
  -webkit-transition-duration: 200ms;
105
  -webkit-transition-timing-function: ease;
106
  -moz-transition-duration: 200ms;
107
  -moz-transition-timing-function: ease;
108
  -ms-transition-duration: 200ms;
109
  -ms-transition-timing-function: ease;
110
  -o-transition-duration: 200ms;
111
  -o-transition-timing-function: ease;
112
  transition-duration: 200ms;
113
  transition-timing-function: ease;
114
  
115
}
116
html[dir='ltr'] #sidebarContainer {
117
  -webkit-transition-property: left;
118
  -moz-transition-property: left;
119
  -ms-transition-property: left;
120
  -o-transition-property: left;
121
  transition-property: left;
122
  left: -200px;
123
}
124
html[dir='rtl'] #sidebarContainer {
125
  -webkit-transition-property: right;
126
  -ms-transition-property: right;
127
  -o-transition-property: right;
128
  transition-property: right;
129
  right: -200px;
130
}
131

    
132
#outerContainer.sidebarMoving > #sidebarContainer,
133
#outerContainer.sidebarOpen > #sidebarContainer {
134
  visibility: visible;
135
}
136
html[dir='ltr'] #outerContainer.sidebarOpen > #sidebarContainer {
137
  left: 0px;
138
}
139
html[dir='rtl'] #outerContainer.sidebarOpen > #sidebarContainer {
140
  right: 0px;
141
}
142

    
143
#mainContainer {
144
  position: relative;
145
  top: 0;
146
  right: 0;
147
  bottom: 0;
148
  left: 0;
149
  -webkit-transition-duration: 200ms;
150
  -webkit-transition-timing-function: ease;
151
  -moz-transition-duration: 200ms;
152
  -moz-transition-timing-function: ease;
153
  -ms-transition-duration: 200ms;
154
  -ms-transition-timing-function: ease;
155
  -o-transition-duration: 200ms;
156
  -o-transition-timing-function: ease;
157
  transition-duration: 200ms;
158
  transition-timing-function: ease;
159
}
160
html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer {
161
  -webkit-transition-property: left;
162
  -moz-transition-property: left;
163
  -ms-transition-property: left;
164
  -o-transition-property: left;
165
  transition-property: left;
166
  left: 200px;
167
}
168
html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer {
169
  -webkit-transition-property: right;
170
  -moz-transition-property: right;
171
  -ms-transition-property: right;
172
  -o-transition-property: right;
173
  transition-property: right;
174
  right: 200px;
175
}
176

    
177
#sidebarContent {
178
  top: 32px;
179
  bottom: 0;
180
  overflow: auto;
181
  position: absolute;
182
  width: 200px;
183

    
184
  background-color: hsla(0,0%,0%,.1);
185
  box-shadow: inset -1px 0 0 hsla(0,0%,0%,.25);
186
}
187
html[dir='ltr'] #sidebarContent {
188
  left: 0;
189
}
190
html[dir='rtl'] #sidebarContent {
191
  right: 0;
192
}
193

    
194
#viewerContainer {
195
  overflow: auto;
196
  box-shadow: inset 1px 0 0 hsla(0,0%,100%,.05);
197
  padding-top: 30px;
198
  top: 32px;
199
  right: 0;
200
  bottom: 0;
201
  left: 0;
202
}
203

    
204
.toolbar {
205
  position: absolute;
206
  left: 0;
207
  right: 0;
208
  height: 32px;
209
  z-index: 9999;
210
  cursor: default;
211
}
212

    
213
#toolbarContainer {
214
  width: 100%;
215
}
216

    
217
#toolbarSidebar {
218
  width: 200px;
219
  height: 29px;
220
  background-image: url(images/texture.png),
221
                    -webkit-linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95));
222
  background-image: url(images/texture.png),
223
                    -moz-linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95));
224
  background-image: url(images/texture.png),
225
                    -ms-linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95));
226
  background-image: url(images/texture.png),
227
                    -o-linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95));
228
  background-image: url(images/texture.png),
229
                    linear-gradient(hsla(0,0%,30%,.99), hsla(0,0%,25%,.95));
230
  box-shadow: inset -2px 0 0 hsla(0,0%,100%,.08),
231
              inset 0 1px 1px hsla(0,0%,0%,.15),
232
              inset 0 -1px 0 hsla(0,0%,100%,.05),
233
              0 1px 0 hsla(0,0%,0%,.15),
234
              0 1px 1px hsla(0,0%,0%,.1);
235
}
236

    
237
#toolbarViewer {
238
  position: relative;
239
  height: 32px;
240
  background-image: url(images/texture.png),
241
                    -webkit-linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
242
  background-image: url(images/texture.png),
243
                    -moz-linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
244
  background-image: url(images/texture.png),
245
                    -ms-linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
246
  background-image: url(images/texture.png),
247
                    -o-linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
248
  background-image: url(images/texture.png),
249
                    linear-gradient(hsla(0,0%,32%,.99), hsla(0,0%,27%,.95));
250
  border-left: 1px solid hsla(0,0%,0%,.5);
251
  box-shadow: inset 1px 0 0 hsla(0,0%,100%,.08),
252
              inset 0 1px 1px hsla(0,0%,0%,.15),
253
              inset 0 -1px 0 hsla(0,0%,100%,.05),
254
              0 1px 0 hsla(0,0%,0%,.15),
255
              0 1px 1px hsla(0,0%,0%,.1);
256
}
257
html[dir='ltr'] #toolbarViewerLeft {
258
  margin-left: -1px;
259
}
260
html[dir='rtl'] #toolbarViewerRight {
261
  margin-left: -1px;
262
}
263

    
264

    
265
html[dir='ltr'] #toolbarViewerLeft,
266
html[dir='rtl'] #toolbarViewerRight {
267
  position: absolute;
268
  top: 0;
269
  left: 0;
270
}
271
html[dir='ltr'] #toolbarViewerRight,
272
html[dir='rtl'] #toolbarViewerLeft {
273
  position: absolute;
274
  top: 0;
275
  right: 0;
276
}
277
html[dir='ltr'] #toolbarViewerLeft > *,
278
html[dir='ltr'] #toolbarViewerMiddle > *,
279
html[dir='ltr'] #toolbarViewerRight > * {
280
  float: left;
281
}
282
html[dir='rtl'] #toolbarViewerLeft > *,
283
html[dir='rtl'] #toolbarViewerMiddle > *,
284
html[dir='rtl'] #toolbarViewerRight > * {
285
  float: right;
286
}
287

    
288
html[dir='ltr'] .splitToolbarButton {
289
  margin: 3px 2px 4px 0;
290
  display: inline-block;
291
}
292
html[dir='rtl'] .splitToolbarButton {
293
  margin: 3px 0 4px 2px;
294
  display: inline-block;
295
}
296
html[dir='ltr'] .splitToolbarButton > .toolbarButton {
297
  border-radius: 0;
298
  float: left;
299
}
300
html[dir='rtl'] .splitToolbarButton > .toolbarButton {
301
  border-radius: 0;
302
  float: right;
303
}
304

    
305
.toolbarButton {
306
  border: 0 none;
307
  background-color: rgba(0, 0, 0, 0);
308
  width: 32px;
309
  height: 25px;
310
}
311

    
312
.toolbarButton > span {
313
  display: inline-block;
314
  width: 0;
315
  height: 0;
316
  overflow: hidden;
317
}
318

    
319
.toolbarButton[disabled] {
320
  opacity: .5;
321
}
322

    
323
.toolbarButton.group {
324
  margin-right:0;
325
}
326

    
327
.splitToolbarButton.toggled .toolbarButton {
328
  margin: 0;
329
}
330

    
331
.splitToolbarButton:hover > .toolbarButton,
332
.splitToolbarButton:focus > .toolbarButton,
333
.splitToolbarButton.toggled > .toolbarButton,
334
.toolbarButton.textButton {
335
  background-color: hsla(0,0%,0%,.12);
336
  background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
337
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
338
  background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
339
  background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
340
  background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
341
  background-clip: padding-box;
342
  border: 1px solid hsla(0,0%,0%,.35);
343
  border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
344
  box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
345
              0 0 1px hsla(0,0%,100%,.15) inset,
346
              0 1px 0 hsla(0,0%,100%,.05);
347
  -webkit-transition-property: background-color, border-color, box-shadow;
348
  -webkit-transition-duration: 150ms;
349
  -webkit-transition-timing-function: ease;
350
  -moz-transition-property: background-color, border-color, box-shadow;
351
  -moz-transition-duration: 150ms;
352
  -moz-transition-timing-function: ease;
353
  -ms-transition-property: background-color, border-color, box-shadow;
354
  -ms-transition-duration: 150ms;
355
  -ms-transition-timing-function: ease;
356
  -o-transition-property: background-color, border-color, box-shadow;
357
  -o-transition-duration: 150ms;
358
  -o-transition-timing-function: ease;
359
  transition-property: background-color, border-color, box-shadow;
360
  transition-duration: 150ms;
361
  transition-timing-function: ease;
362

    
363
}
364
.splitToolbarButton > .toolbarButton:hover,
365
.splitToolbarButton > .toolbarButton:focus,
366
.dropdownToolbarButton:hover,
367
.toolbarButton.textButton:hover,
368
.toolbarButton.textButton:focus {
369
  background-color: hsla(0,0%,0%,.2);
370
  box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
371
              0 0 1px hsla(0,0%,100%,.15) inset,
372
              0 0 1px hsla(0,0%,0%,.05);
373
  z-index: 199;
374
}
375
html[dir='ltr'] .splitToolbarButton > .toolbarButton:first-child,
376
html[dir='rtl'] .splitToolbarButton > .toolbarButton:last-child {
377
  position: relative;
378
  margin: 0;
379
  margin-right: -1px;
380
  border-top-left-radius: 2px;
381
  border-bottom-left-radius: 2px;
382
  border-right-color: transparent;
383
}
384
html[dir='ltr'] .splitToolbarButton > .toolbarButton:last-child,
385
html[dir='rtl'] .splitToolbarButton > .toolbarButton:first-child {
386
  position: relative;
387
  margin: 0;
388
  margin-left: -1px;
389
  border-top-right-radius: 2px;
390
  border-bottom-right-radius: 2px;
391
  border-left-color: transparent;
392
}
393
.splitToolbarButtonSeparator {
394
  padding: 8px 0;
395
  width: 1px;
396
  background-color: hsla(0,0%,00%,.5);
397
  z-index: 99;
398
  box-shadow: 0 0 0 1px hsla(0,0%,100%,.08);
399
  display: inline-block;
400
  margin: 5px 0;
401
}
402
html[dir='ltr'] .splitToolbarButtonSeparator {
403
  float:left;
404
}
405
html[dir='rtl'] .splitToolbarButtonSeparator {
406
  float:right;
407
}
408
.splitToolbarButton:hover > .splitToolbarButtonSeparator,
409
.splitToolbarButton.toggled > .splitToolbarButtonSeparator {
410
  padding: 12px 0;
411
  margin: 0;
412
  box-shadow: 0 0 0 1px hsla(0,0%,100%,.03);
413
  -webkit-transition-property: padding;
414
  -webkit-transition-duration: 10ms;
415
  -webkit-transition-timing-function: ease;
416
  -moz-transition-property: padding;
417
  -moz-transition-duration: 10ms;
418
  -moz-transition-timing-function: ease;
419
  -ms-transition-property: padding;
420
  -ms-transition-duration: 10ms;
421
  -ms-transition-timing-function: ease;
422
  -o-transition-property: padding;
423
  -o-transition-duration: 10ms;
424
  -o-transition-timing-function: ease;
425
  transition-property: padding;
426
  transition-duration: 10ms;
427
  transition-timing-function: ease;
428
}
429

    
430
.toolbarButton,
431
.dropdownToolbarButton {
432
  min-width: 16px;
433
  padding: 2px 6px 0;
434
  border: 1px solid transparent;
435
  border-radius: 2px;
436
  color: hsl(0,0%,95%);
437
  font-size: 12px;
438
  line-height: 14px;
439
  -webkit-user-select:none;
440
  -moz-user-select:none;
441
  -ms-user-select:none;
442
  /* Opera does not support user-select, use <... unselectable="on"> instead */
443
  cursor: default;
444
  -webkit-transition-property: background-color, border-color, box-shadow;
445
  -webkit-transition-duration: 150ms;
446
  -webkit-transition-timing-function: ease;
447
  -moz-transition-property: background-color, border-color, box-shadow;
448
  -moz-transition-duration: 150ms;
449
  -moz-transition-timing-function: ease;
450
  -ms-transition-property: background-color, border-color, box-shadow;
451
  -ms-transition-duration: 150ms;
452
  -ms-transition-timing-function: ease;
453
  -o-transition-property: background-color, border-color, box-shadow;
454
  -o-transition-duration: 150ms;
455
  -o-transition-timing-function: ease;
456
  transition-property: background-color, border-color, box-shadow;
457
  transition-duration: 150ms;
458
  transition-timing-function: ease;
459
}
460

    
461
html[dir='ltr'] .toolbarButton,
462
html[dir='ltr'] .dropdownToolbarButton {
463
  margin: 3px 2px 4px 0;
464
}
465
html[dir='rtl'] .toolbarButton,
466
html[dir='rtl'] .dropdownToolbarButton {
467
  margin: 3px 0 4px 2px;
468
}
469

    
470
.toolbarButton:hover,
471
.toolbarButton:focus,
472
.dropdownToolbarButton {
473
  background-color: hsla(0,0%,0%,.12);
474
  background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
475
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
476
  background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
477
  background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
478
  background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
479
  background-clip: padding-box;
480
  border: 1px solid hsla(0,0%,0%,.35);
481
  border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
482
  box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
483
              0 0 1px hsla(0,0%,100%,.15) inset,
484
              0 1px 0 hsla(0,0%,100%,.05);
485
}
486

    
487
.toolbarButton:hover:active,
488
.dropdownToolbarButton:hover:active {
489
  background-color: hsla(0,0%,0%,.2);
490
  background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
491
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
492
  background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
493
  background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
494
  background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
495
  border-color: hsla(0,0%,0%,.35) hsla(0,0%,0%,.4) hsla(0,0%,0%,.45);
496
  box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
497
              0 0 1px hsla(0,0%,0%,.2) inset,
498
              0 1px 0 hsla(0,0%,100%,.05);
499
  -webkit-transition-property: background-color, border-color, box-shadow;
500
  -webkit-transition-duration: 10ms;
501
  -webkit-transition-timing-function: linear;
502
  -moz-transition-property: background-color, border-color, box-shadow;
503
  -moz-transition-duration: 10ms;
504
  -moz-transition-timing-function: linear;
505
  -ms-transition-property: background-color, border-color, box-shadow;
506
  -ms-transition-duration: 10ms;
507
  -ms-transition-timing-function: linear;
508
  -o-transition-property: background-color, border-color, box-shadow;
509
  -o-transition-duration: 10ms;
510
  -o-transition-timing-function: linear;
511
  transition-property: background-color, border-color, box-shadow;
512
  transition-duration: 10ms;
513
  transition-timing-function: linear;
514
}
515

    
516
.toolbarButton.toggled,
517
.splitToolbarButton.toggled > .toolbarButton.toggled {
518
  background-color: hsla(0,0%,0%,.3);
519
  background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
520
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
521
  background-image: -ms-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
522
  background-image: -o-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
523
  background-image: linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
524
  border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.45) hsla(0,0%,0%,.5);
525
  box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
526
              0 0 1px hsla(0,0%,0%,.2) inset,
527
              0 1px 0 hsla(0,0%,100%,.05);
528
  -webkit-transition-property: background-color, border-color, box-shadow;
529
  -webkit-transition-duration: 10ms;
530
  -webkit-transition-timing-function: linear;
531
  -moz-transition-property: background-color, border-color, box-shadow;
532
  -moz-transition-duration: 10ms;
533
  -moz-transition-timing-function: linear;
534
  -ms-transition-property: background-color, border-color, box-shadow;
535
  -ms-transition-duration: 10ms;
536
  -ms-transition-timing-function: linear;
537
  -o-transition-property: background-color, border-color, box-shadow;
538
  -o-transition-duration: 10ms;
539
  -o-transition-timing-function: linear;
540
  transition-property: background-color, border-color, box-shadow;
541
  transition-duration: 10ms;
542
  transition-timing-function: linear;
543
}
544

    
545
.toolbarButton.toggled:hover:active,
546
.splitToolbarButton.toggled > .toolbarButton.toggled:hover:active {
547
  background-color: hsla(0,0%,0%,.4);
548
  border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.5) hsla(0,0%,0%,.55);
549
  box-shadow: 0 1px 1px hsla(0,0%,0%,.2) inset,
550
              0 0 1px hsla(0,0%,0%,.3) inset,
551
              0 1px 0 hsla(0,0%,100%,.05);
552
}
553

    
554
.dropdownToolbarButton {
555
  min-width: 120px;
556
  max-width: 120px;
557
  padding: 3px 2px 2px;
558
  overflow: hidden;
559
  background: url(images/toolbarButton-menuArrows.png) no-repeat;
560
}
561
html[dir='ltr'] .dropdownToolbarButton {
562
  background-position: 95%;
563
}
564
html[dir='rtl'] .dropdownToolbarButton {
565
  background-position: 5%;
566
}
567

    
568
.dropdownToolbarButton > select {
569
  -webkit-appearance: none;
570
  -moz-appearance: none; /* in the future this might matter, see bugzilla bug #649849 */
571
  min-width: 140px;
572
  font-size: 12px;
573
  color: hsl(0,0%,95%);
574
  margin:0;
575
  padding:0;
576
  border:none;
577
  background: rgba(0,0,0,0); /* Opera does not support 'transparent' <select> background */
578
}
579

    
580
.dropdownToolbarButton > select > option {
581
  background: hsl(0,0%,24%);
582
}
583

    
584
#customScaleOption {
585
  display: none;
586
}
587

    
588
#pageWidthOption {
589
  border-bottom: 1px rgba(255, 255, 255, .5) solid;
590
}
591

    
592
html[dir='ltr'] .splitToolbarButton:first-child,
593
html[dir='ltr'] .toolbarButton:first-child,
594
html[dir='rtl'] .splitToolbarButton:last-child,
595
html[dir='rtl'] .toolbarButton:last-child {
596
  margin-left: 4px;
597
}
598
html[dir='ltr'] .splitToolbarButton:last-child,
599
html[dir='ltr'] .toolbarButton:last-child,
600
html[dir='rtl'] .splitToolbarButton:first-child,
601
html[dir='rtl'] .toolbarButton:first-child {
602
  margin-right: 4px;
603
}
604

    
605
.toolbarButtonSpacer {
606
  width: 30px;
607
  display: inline-block;
608
  height: 1px;
609
}
610

    
611
.toolbarButtonFlexibleSpacer {
612
  -webkit-box-flex: 1;
613
  -moz-box-flex: 1;
614
  min-width: 30px;
615
}
616

    
617
.toolbarButton#sidebarToggle::before {
618
  display: inline-block;
619
  content: url(images/toolbarButton-sidebarToggle.png);
620
}
621
    
622
html[dir='ltr'] .toolbarButton.pageUp::before {
623
  display: inline-block;
624
  content: url(images/toolbarButton-pageUp.png);
625
}
626

    
627
html[dir='rtl'] .toolbarButton.pageUp::before {
628
  display: inline-block;
629
  content: url(images/toolbarButton-pageUp-rtl.png);
630
}
631
    
632
html[dir='ltr'] .toolbarButton.pageDown::before {
633
  display: inline-block;
634
  content: url(images/toolbarButton-pageDown.png);
635
}
636

    
637
html[dir='rtl'] .toolbarButton.pageDown::before {
638
  display: inline-block;
639
  content: url(images/toolbarButton-pageDown-rtl.png);
640
}
641

    
642
.toolbarButton.zoomOut::before {
643
  display: inline-block;
644
  content: url(images/toolbarButton-zoomOut.png);
645
}
646
    
647
.toolbarButton.zoomIn::before {
648
  display: inline-block;
649
  content: url(images/toolbarButton-zoomIn.png);
650
}
651

    
652
.toolbarButton.fullscreen::before {
653
  display: inline-block;
654
  content: url(images/toolbarButton-fullscreen.png);
655
}
656

    
657
.toolbarButton.print::before {
658
  display: inline-block;
659
  content: url(images/toolbarButton-print.png);
660
}
661

    
662
.toolbarButton.openFile::before {
663
  display: inline-block;
664
  content: url(images/toolbarButton-openFile.png);
665
}
666

    
667
.toolbarButton.download::before {
668
  display: inline-block;
669
  content: url(images/toolbarButton-download.png);
670
}
671

    
672
.toolbarButton.bookmark {
673
  -webkit-box-sizing: border-box;
674
  -moz-box-sizing: border-box;
675
  box-sizing: border-box;
676
  margin-top: 3px;
677
  padding-top: 4px;
678
}
679

    
680
.toolbarButton.bookmark::before {
681
  content: url(images/toolbarButton-bookmark.png);
682
}
683
    
684
#viewThumbnail.toolbarButton::before {
685
  display: inline-block;
686
  content: url(images/toolbarButton-viewThumbnail.png);
687
}
688
    
689
#viewOutline.toolbarButton::before {
690
  display: inline-block;
691
  content: url(images/toolbarButton-viewOutline.png);
692
}
693

    
694
#viewSearch.toolbarButton::before {
695
  display: inline-block;
696
  content: url(images/toolbarButton-search.png);
697
}
698

    
699

    
700
.toolbarField {
701
  padding: 3px 6px;
702
  margin: 4px 0 4px 0;
703
  border: 1px solid transparent;
704
  border-radius: 2px;
705
  background-color: hsla(0,0%,100%,.09);
706
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
707
  background-clip: padding-box;
708
  border: 1px solid hsla(0,0%,0%,.35);
709
  border-color: hsla(0,0%,0%,.32) hsla(0,0%,0%,.38) hsla(0,0%,0%,.42);
710
  box-shadow: 0 1px 0 hsla(0,0%,0%,.05) inset,
711
              0 1px 0 hsla(0,0%,100%,.05);
712
  color: hsl(0,0%,95%);
713
  font-size: 12px;
714
  line-height: 14px;
715
  outline-style: none;
716
  -moz-transition-property: background-color, border-color, box-shadow;
717
  -moz-transition-duration: 150ms;
718
  -moz-transition-timing-function: ease;
719
}
720

    
721
.toolbarField.pageNumber {
722
  min-width: 16px;
723
  text-align: right;
724
  width: 40px;
725
}
726

    
727
.toolbarField.pageNumber::-webkit-inner-spin-button,
728
.toolbarField.pageNumber::-webkit-outer-spin-button {
729
    -webkit-appearance: none;
730
    margin: 0;
731
}
732

    
733
.toolbarField:hover {
734
  background-color: hsla(0,0%,100%,.11);
735
  border-color: hsla(0,0%,0%,.4) hsla(0,0%,0%,.43) hsla(0,0%,0%,.45);
736
}
737

    
738
.toolbarField:focus {
739
  background-color: hsla(0,0%,100%,.15);
740
  border-color: hsla(204,100%,65%,.8) hsla(204,100%,65%,.85) hsla(204,100%,65%,.9);
741
}
742

    
743
.toolbarLabel {
744
  min-width: 16px;
745
  padding: 3px 6px 3px 2px;
746
  margin: 4px 2px 4px 0;
747
  border: 1px solid transparent;
748
  border-radius: 2px;
749
  color: hsl(0,0%,85%);
750
  font-size: 12px;
751
  line-height: 14px;
752
  text-align: left;
753
  -webkit-user-select:none;
754
  -moz-user-select:none;
755
  cursor: default;
756
}
757

    
758
#thumbnailView {
759
  position: fixed;
760
  width: 120px;
761
  top: 33px;
762
  bottom: 0;
763
  padding: 10px 40px 0;
764
  overflow: auto;
765
}
766

    
767
.thumbnail {
768
  margin-bottom: 15px;
769
  float: left;
770
  width: 114px;
771
  height: 142px;
772
}
773

    
774
.thumbnail:not([data-loaded]) {
775
  border: 1px dashed rgba(255, 255, 255, 0.5);
776
}
777

    
778
.thumbnailImage {
779
  -moz-transition-duration: 150ms;
780
  border: 1px solid transparent;
781
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.5), 0 2px 8px rgba(0, 0, 0, 0.3);
782
  opacity: 0.8;
783
  z-index: 99;
784
}
785

    
786
.thumbnailSelectionRing {
787
  border-radius: 2px;
788
  padding: 7px;
789
  -moz-transition-duration: 150ms;
790
}
791
    
792
a:focus > .thumbnail > .thumbnailSelectionRing > .thumbnailImage,
793
.thumbnail:hover > .thumbnailSelectionRing > .thumbnailImage {
794
  opacity: .9;
795
}
796

    
797
a:focus > .thumbnail > .thumbnailSelectionRing,
798
.thumbnail:hover > .thumbnailSelectionRing {
799
  background-color: hsla(0,0%,100%,.15);
800
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
801
  background-clip: padding-box;
802
  box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
803
              0 0 1px hsla(0,0%,100%,.2) inset,
804
              0 0 1px hsla(0,0%,0%,.2);
805
  color: hsla(0,0%,100%,.9);
806
}
807

    
808
.thumbnail.selected > .thumbnailSelectionRing > .thumbnailImage {
809
  box-shadow: 0 0 0 1px hsla(0,0%,0%,.5);
810
  opacity: 1;
811
}
812

    
813
.thumbnail.selected > .thumbnailSelectionRing {
814
  background-color: hsla(0,0%,100%,.3);
815
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
816
  background-clip: padding-box;
817
  box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
818
              0 0 1px hsla(0,0%,100%,.1) inset,
819
              0 0 1px hsla(0,0%,0%,.2);
820
  color: hsla(0,0%,100%,1);
821
}
822

    
823
#outlineView {
824
  position: fixed;
825
  width: 192px;
826
  top: 33px;
827
  bottom: 0;
828
  padding: 4px 4px 0;
829
  overflow: auto;
830
  -webkit-user-select:none;
831
  -moz-user-select:none;
832
}
833

    
834
.outlineItem > .outlineItems {
835
  margin-left: 20px;
836
}
837

    
838
.outlineItem > a,
839
#searchResults > a {
840
  text-decoration: none;
841
  display: inline-block;
842
  min-width: 95%;
843
  height: 20px;
844
  padding: 2px 0 0 10px;
845
  margin-bottom: 1px;
846
  border-radius: 2px;
847
  color: hsla(0,0%,100%,.8);
848
  font-size: 13px;
849
  line-height: 15px;
850
  -moz-user-select:none;
851
  cursor: default;
852
  white-space: nowrap;
853
}
854

    
855
.outlineItem > a:hover,
856
#searchResults > a:hover {
857
  background-color: hsla(0,0%,100%,.02);
858
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
859
  background-clip: padding-box;
860
  box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
861
              0 0 1px hsla(0,0%,100%,.2) inset,
862
              0 0 1px hsla(0,0%,0%,.2);
863
  color: hsla(0,0%,100%,.9);
864
}
865

    
866
.outlineItem.selected {
867
  background-color: hsla(0,0%,100%,.08);
868
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
869
  background-clip: padding-box;
870
  box-shadow: 0 1px 0 hsla(0,0%,100%,.05) inset,
871
              0 0 1px hsla(0,0%,100%,.1) inset,
872
              0 0 1px hsla(0,0%,0%,.2);
873
  color: hsla(0,0%,100%,1);
874
}
875

    
876
.noOutline,
877
.noResults {
878
  font-size: 12px;
879
  color: hsla(0,0%,100%,.8);
880
  font-style: italic;
881
}
882

    
883
#searchScrollView {
884
  position: absolute;
885
  top: 10px;
886
  bottom: 10px;
887
  left: 10px;
888
  width: 280px;
889
}
890

    
891
#searchToolbar {
892
  padding-left: 0px;
893
  right: 0px;
894
  padding-top: 0px;
895
  padding-bottom: 5px;
896
}
897

    
898
#searchToolbar > input {
899
  margin-left: 4px;
900
  width: 124px;
901
}
902

    
903
#searchToolbar button {
904
  width: auto;
905
  margin: 0;
906
  padding: 0 6px;
907
  height: 22px;
908
}
909

    
910
#searchResults {
911
  overflow: auto;
912
  position: absolute;
913
  top: 30px;
914
  bottom: 0px;
915
  left: 0px;
916
  right: 0;
917
  padding: 4px 4px 0;
918
  font-size: smaller;
919
}
920

    
921
#sidebarControls {
922
  position:absolute;
923
  width: 180px;
924
  height: 32px;
925
  left: 15px;
926
  bottom: 35px;
927
}
928

    
929
canvas {
930
  margin: auto;
931
  display: block;
932
}
933

    
934
.page {
935
  direction: ltr;
936
  width: 816px;
937
  height: 1056px;
938
  margin: 10px auto;
939
  position: relative;
940
  overflow: hidden;
941
  -webkit-box-shadow: 0px 4px 10px #000;
942
  -moz-box-shadow: 0px 4px 10px #000;
943
  box-shadow: 0px 4px 10px #000;
944
  background-color: white;
945
}
946

    
947
.page > a {
948
  display: block;
949
  position: absolute;
950
}
951

    
952
.page > a:hover {
953
  opacity: 0.2;
954
  background: #ff0;
955
  -webkit-box-shadow: 0px 2px 10px #ff0;
956
  -moz-box-shadow: 0px 2px 10px #ff0;
957
  box-shadow: 0px 2px 10px #ff0;
958
}
959

    
960
.loadingIcon {
961
  position: absolute;
962
  display: block;
963
  left: 0;
964
  top: 0;
965
  right: 0;
966
  bottom: 0;
967
  background: url('images/loading-icon.gif') center no-repeat;
968
}
969

    
970
#loadingBox {
971
  position: absolute;
972
  top: 50%;
973
  margin-top: -25px;
974
  left: 0;
975
  right: 0;
976
  text-align: center;
977
  color: #ddd;
978
  font-size: 14px;
979
}
980

    
981
#loadingBar {
982
  display: inline-block;
983
  clear: both;
984
  margin: 0px;
985
  margin-top: 5px;
986
  line-height: 0;
987
  border-radius: 2px;
988
  width: 200px;
989
  height: 25px;
990

    
991
  background-color: hsla(0,0%,0%,.3);
992
  background-image: -moz-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
993
  background-image: -webkit-linear-gradient(hsla(0,0%,100%,.05), hsla(0,0%,100%,0));
994
  border: 1px solid #000;
995
  box-shadow: 0 1px 1px hsla(0,0%,0%,.1) inset,
996
              0 0 1px hsla(0,0%,0%,.2) inset,
997
              0 0 1px 1px rgba(255, 255, 255, 0.1);
998
}
999

    
1000
#loadingBar .progress {
1001
  display: inline-block;
1002
  float: left;
1003

    
1004
  background: #666;
1005
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#b2b2b2), color-stop(100%,#898989));
1006
  background: -webkit-linear-gradient(top, #b2b2b2 0%,#898989 100%);
1007
  background: -moz-linear-gradient(top, #b2b2b2 0%,#898989 100%);
1008
  background: -ms-linear-gradient(top, #b2b2b2 0%,#898989 100%);
1009
  background: -o-linear-gradient(top, #b2b2b2 0%,#898989 100%);
1010
  background: linear-gradient(top, #b2b2b2 0%,#898989 100%);    
1011

    
1012
  border-top-left-radius: 2px;
1013
  border-bottom-left-radius: 2px;
1014

    
1015
  width: 0%;
1016
  height: 100%;
1017
}
1018

    
1019
#loadingBar .progress.full {
1020
  border-top-right-radius: 2px;
1021
  border-bottom-right-radius: 2px;
1022
}
1023

    
1024
.textLayer {
1025
  position: absolute;
1026
  left: 0;
1027
  top: 0;
1028
  right: 0;
1029
  bottom: 0;
1030
  color: #000;
1031
  font-family: sans-serif;
1032
}
1033

    
1034
.textLayer > div {
1035
  color: transparent;
1036
  position: absolute;
1037
  line-height:1.3;
1038
}
1039

    
1040
/* TODO: file FF bug to support ::-moz-selection:window-inactive
1041
   so we can override the opaque grey background when the window is inactive;
1042
   see https://bugzilla.mozilla.org/show_bug.cgi?id=706209 */
1043
::selection { background:rgba(0,0,255,0.3); }
1044
::-moz-selection { background:rgba(0,0,255,0.3); }
1045

    
1046
.annotComment > div {
1047
  position: absolute;
1048
}
1049

    
1050
.annotComment > img {
1051
  position: absolute;
1052
}
1053

    
1054
.annotComment > img:hover {
1055
  cursor: pointer;
1056
  opacity: 0.7;
1057
}
1058

    
1059
.annotComment > div {
1060
  padding: 0.2em;
1061
  max-width: 20em;
1062
  background-color: #F1E47B;
1063
  -webkit-box-shadow: 0px 2px 10px #333;
1064
  -moz-box-shadow: 0px 2px 10px #333;
1065
  box-shadow: 0px 2px 10px #333;
1066
}
1067

    
1068
.annotComment > div > h1 {
1069
  font-weight: normal;
1070
  font-size: 1.2em;
1071
  border-bottom: 1px solid #000000;
1072
  margin: 0px;
1073
}
1074

    
1075
#errorWrapper {
1076
  background: none repeat scroll 0 0 #FF5555;
1077
  color: white;
1078
  left: 0;
1079
  position: absolute;
1080
  right: 0;
1081
  top: 32px;
1082
  z-index: 1000;
1083
  padding: 3px;
1084
  font-size: 0.8em;
1085
}
1086

    
1087
#errorMessageLeft {
1088
  float: left;
1089
}
1090

    
1091
#errorMessageRight {
1092
  float: right;
1093
}
1094

    
1095
#errorMoreInfo {
1096
  background-color: #FFFFFF;
1097
  color: black;
1098
  padding: 3px;
1099
  margin: 3px;
1100
  width: 98%;
1101
}
1102

    
1103
.clearBoth {
1104
  clear: both;
1105
}
1106

    
1107
.fileInput {
1108
  background: white;
1109
  color: black;
1110
  margin-top: 5px;
1111
}
1112

    
1113
#PDFBug {
1114
  background: none repeat scroll 0 0 white;
1115
  border: 1px solid #666666;
1116
  position: fixed;
1117
  top: 32px;
1118
  right: 0;
1119
  bottom: 0;
1120
  font-size: 10px;
1121
  padding: 0;
1122
  width: 300px;
1123
}
1124
#PDFBug .controls {
1125
    background:#EEEEEE;
1126
    border-bottom: 1px solid #666666;
1127
    padding: 3px;
1128
}
1129
#PDFBug .panels {
1130
  bottom: 0;
1131
  left: 0;
1132
  overflow: auto;
1133
  position: absolute;
1134
  right: 0;
1135
  top: 27px;
1136
}
1137
#PDFBug button.active {
1138
  font-weight: bold;
1139
}
1140
.debuggerShowText {
1141
  background: none repeat scroll 0 0 yellow;
1142
  color: blue;
1143
  opacity: 0.3;
1144
}
1145
.debuggerHideText:hover {
1146
  background: none repeat scroll 0 0 yellow;
1147
  opacity: 0.3;
1148
}
1149
#PDFBug .stats {
1150
  font-family: courier;
1151
  font-size: 10px;
1152
  white-space: pre;
1153
}
1154
#PDFBug .stats .title {
1155
    font-weight: bold;
1156
}
1157
#PDFBug table {
1158
  font-size: 10px;
1159
}
1160

    
1161
#viewer.textLayer-visible .textLayer > div,
1162
#viewer.textLayer-hover .textLayer > div:hover {
1163
  background-color: white;
1164
  color: black;
1165
}
1166

    
1167
#viewer.textLayer-shadow .textLayer > div {
1168
  background-color: rgba(255,255,255, .6);
1169
  color: black;
1170
}
1171

    
1172
@page {
1173
  margin: 0;
1174
} 
1175

    
1176
#printContainer {
1177
  display: none;
1178
}
1179

    
1180
@media print {
1181
  /* Rules for browsers that don't support mozPrintCallback. */
1182
  #sidebarContainer, .toolbar, #loadingBox, #errorWrapper, .textLayer {
1183
    display: none;
1184
  }
1185

    
1186
  #mainContainer, #viewerContainer, .page, .page canvas {
1187
    position: static;
1188
    padding: 0;
1189
    margin: 0;
1190
  }
1191

    
1192
  .page {
1193
    float: left;
1194
    display: none;
1195
    -webkit-box-shadow: none;
1196
    -moz-box-shadow: none;
1197
    box-shadow: none;
1198
  }
1199

    
1200
  .page[data-loaded] {
1201
    display: block;
1202
  }
1203

    
1204
  /* Rules for browsers that support mozPrintCallback */
1205
  body[data-mozPrintCallback] #outerContainer {
1206
    display: none;
1207
  }
1208
  body[data-mozPrintCallback] #printContainer {
1209
    display: block;
1210
  }
1211
  #printContainer canvas {
1212
    position: relative;
1213
    top: 0;
1214
    left: 0;
1215
  }
1216
}
1217

    
1218
@media all and (max-width: 950px) {
1219
  html[dir='ltr'] #outerContainer.sidebarMoving .outerCenter,
1220
  html[dir='ltr'] #outerContainer.sidebarOpen .outerCenter {
1221
    float: left;
1222
    left: 180px;
1223
  }
1224
  html[dir='rtl'] #outerContainer.sidebarMoving .outerCenter,
1225
  html[dir='rtl'] #outerContainer.sidebarOpen .outerCenter {
1226
    float: right;
1227
    right: 180px;
1228
  }
1229
}
1230

    
1231
@media all and (max-width: 770px) {
1232
  #sidebarContainer {
1233
    top: 33px;
1234
    z-index: 100;
1235
  }
1236
  #sidebarContent {
1237
    top: 32px;
1238
    background-color: hsla(0,0%,0%,.7);
1239
  }
1240
  #thumbnailView, #outlineView {
1241
    top: 66px;
1242
  }
1243

    
1244
  html[dir='ltr'] #outerContainer.sidebarOpen > #mainContainer {
1245
    left: 0px;
1246
  }
1247
  html[dir='rtl'] #outerContainer.sidebarOpen > #mainContainer {
1248
    right: 0px;
1249
  }
1250

    
1251
  html[dir='ltr'] .outerCenter {
1252
    float: left;
1253
    left: 180px;
1254
  }
1255
  html[dir='rtl'] .outerCenter {
1256
    float: right;
1257
    right: 180px;
1258
  }
1259
}
1260

    
1261
@media all and (max-width: 600px) {
1262
  #toolbarViewerRight {
1263
    display: none;
1264
  }
1265
}
1266

    
1267
@media all and (max-width: 500px) {
1268
  #scaleSelectContainer, #pageNumberLabel {
1269
    display: none;
1270
  }
1271
}