Source code

Revision control

Copy as Markdown

Other Tools

/* 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 {
}
#cancel > img {
}
#copy > img {
}
#download > img {
}
.preview-image {
height: 100%;
width: 100%;
overflow: auto;
}
#preview-image-div {
margin: 2%;
margin-top: 0;
}
#placeholder-image {
width: 100%;
height: 100%;
}