chrome-devtools-frontend
Version:
Chrome DevTools UI
62 lines (50 loc) • 997 B
CSS
/*
* Copyright 2017 The Chromium Authors. All rights reserved.
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
:host {
position: absolute ; /* stylelint-disable-line declaration-no-important */
top: 0;
bottom: 0;
left: 0;
right: 0;
overflow: hidden;
contain: strict;
background-color: transparent;
}
:host-context(.dimmed-pane) {
background-color: var(--color-background-opacity-50);
}
:host-context(.no-pointer-events) {
pointer-events: none;
}
.widget {
display: flex;
background-color: transparent;
pointer-events: auto;
flex: none;
}
.no-pointer-events {
pointer-events: none;
}
.arrow-top {
margin-top: -19px;
margin-left: -9px;
}
.arrow-bottom {
margin-left: -9px;
}
.arrow-left {
margin-left: -19px;
margin-top: -9px;
}
.arrow-right {
margin-top: -9px;
}
.arrow-none {
display: none;
}
:host-context(.-theme-with-dark-background) .arrow {
filter: invert(80%);
}