forked from mirrors/gecko-dev
68 lines
1.1 KiB
CSS
68 lines
1.1 KiB
CSS
/* 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%;
|
|
}
|