summaryrefslogtreecommitdiffstats
path: root/browser/components/screenshots/content/screenshots.css
blob: 506f3658c99796404d78fabc2b8b827be168c6f4 (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
/* 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;
  cursor: pointer;
  text-align: center;
  user-select: none;
  white-space: nowrap;
  min-height: 36px;
  font-size: 15px;
  min-width: 36px;
}

.preview-button > img {
  -moz-context-properties: fill;
  fill: currentColor;
  width: 16px;
  height: 16px;
}

#download > img,
#copy > img {
  margin-inline-end: 5px;
}

.preview-image {
  height: 100%;
  width: 100%;
  overflow: auto;
}

#preview-image-div {
  margin: 2%;
  margin-top: 0;
}

#placeholder-image {
  width: 100%;
  height: 100%;
}