blob: b155c294f8ffbd20420402a0f88c1c3062206bc6 (
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
|
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
html,
body {
height: 100vh;
width: 100vw;
}
.image-view {
width: 100%;
height: 100%;
display: flex;
flex-direction: column;
}
.preview-buttons {
display: flex;
align-items: center;
justify-content: flex-end;
width: 100%;
border: 0;
box-sizing: border-box;
margin: 4px 0;
margin-inline-start: calc(-2% + 4px);
}
.preview-button {
display: flex;
align-items: center;
justify-content: center;
gap: var(--space-xsmall);
cursor: pointer;
text-align: center;
user-select: none;
white-space: nowrap;
min-width: 32px;
}
.preview-button > img {
-moz-context-properties: fill;
fill: currentColor;
width: 16px;
height: 16px;
pointer-events: none;
}
#retry > img {
content: url("chrome://global/skin/icons/reload.svg");
}
#cancel > img {
content: url("chrome://global/skin/icons/close.svg");
}
#copy > img {
content: url("chrome://global/skin/icons/edit-copy.svg");
}
#download > img {
content: url("chrome://browser/skin/downloads/downloads.svg");
}
.preview-image {
height: 100%;
width: 100%;
overflow: auto;
}
#preview-image-div {
margin: 2%;
margin-top: 0;
}
#placeholder-image {
width: 100%;
height: 100%;
}
|