chrome-devtools-frontend
Version:
Chrome DevTools UI
37 lines (31 loc) • 753 B
CSS
/*
* Copyright 2014 The Chromium Authors
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
.image-view {
overflow: auto;
}
.image-view > .image {
padding: 20px 20px 10px;
text-align: center;
}
.image-view img.resource-image-view {
max-width: 100%;
max-height: 1000px;
background-image: var(--image-file-checker);
box-shadow: 0 5px 10px var(--sys-color-outline);
user-select: text;
-webkit-user-drag: auto;
}
.resource-image-unavailable {
display: flex;
align-items: center;
justify-content: center;
gap: var(--sys-size-4);
}
.resource-image-unavailable devtools-icon {
color: var(--sys-color-primary);
width: var(--sys-size-7);
height: var(--sys-size-7);
}