blob: 62a4348169cefbe00d10c8dae055a4d4cabab74e [file] [log] [blame]
/*
* Copyright (C) 2006, 2007, 2008 Apple Inc. All rights reserved.
* Copyright (C) 2009 Anthony Ricaud <[email protected]>
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
* are met:
*
* 1. Redistributions of source code must retain the above copyright
* notice, this list of conditions and the following disclaimer.
* 2. Redistributions in binary form must reproduce the above copyright
* notice, this list of conditions and the following disclaimer in the
* documentation and/or other materials provided with the distribution.
* 3. Neither the name of Apple Computer, Inc. ("Apple") nor the names of
* its contributors may be used to endorse or promote products derived
* from this software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY APPLE AND ITS CONTRIBUTORS "AS IS" AND ANY
* EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
* WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
* DISCLAIMED. IN NO EVENT SHALL APPLE OR ITS CONTRIBUTORS BE LIABLE FOR ANY
* DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
* (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
* LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
* ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
* THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
:root {
--network-overview-total: var(--sys-color-surface-variant);
--network-overview-blocking: var(--sys-color-neutral-bright);
--network-overview-connecting: var(--ref-palette-yellow60);
--network-overview-service-worker: var(--sys-color-orange-bright);
--network-overview-service-worker-respond-with: var(--sys-color-cyan-bright);
--network-overview-push: var(--ref-palette-blue60);
--override-network-overview-proxy: var(--ref-palette-neutral60);
--network-overview-dns: var(--sys-color-cyan);
--network-overview-ssl: var(--ref-palette-purple70);
--override-network-overview-sending: var(--ref-palette-cyan60);
--network-overview-waiting: var(--ref-palette-green70);
--network-overview-receiving: var(--ref-palette-blue60);
--network-overview-queueing: var(--ref-palette-neutral100);
--network-grid-navigation-color: var(--ref-palette-blue90);
--network-grid-initiator-path-color: var(--ref-palette-green90);
--network-grid-initiated-path-color: var(--ref-palette-error80);
--network-grid-focus-selected-color-has-error: var(--sys-color-surface-error);
--network-grid-focus-selected-color-has-warning: var(--sys-color-surface-yellow);
--network-grid-from-frame-color: var(--ref-palette-cyan95);
--network-grid-is-product-color: var(--ref-palette-yellow95);
--network-frame-divider-color: var(--ref-palette-yellow60);
}
.theme-with-dark-background {
--network-grid-initiator-path-color: var(--ref-palette-green40);
--network-grid-initiated-path-color: var(--ref-palette-error20);
--network-grid-from-frame-color: var(--ref-palette-neutral50);
--network-grid-is-product-color: var(--ref-palette-neutral70);
}
.network-details-view {
background: var(--app-color-toolbar-background);
}
.network-details-view-tall-header {
border-top: 4px solid var(--app-color-toolbar-background);
}
.network-item-view {
display: flex;
background: var(--sys-color-cdt-base-container);
}
.network-item-preview-toolbar {
border-top: 1px solid var(--sys-color-divider);
background-color: var(--sys-color-surface1);
}
.resource-timing-view {
display: block;
margin: 6px;
color: var(--sys-color-on-surface);
overflow: auto;
background-color: var(--sys-color-cdt-base-container);
}
.resource-timing-table {
width: 100% !important; /* stylelint-disable-line declaration-no-important */
}
#network-overview-panel {
flex: none;
position: relative;
}
#network-overview-container {
overflow: hidden;
flex: auto;
display: flex;
flex-direction: column;
position: relative;
border-bottom: 1px solid var(--sys-color-divider);
}
#network-overview-container canvas {
width: 100%;
height: 100%;
}
.resources-dividers-label-bar {
background-color: var(--sys-color-cdt-base-container);
}
#network-overview-grid .resources-dividers-label-bar {
pointer-events: auto;
}
.network .network-overview {
flex: 0 0 60px;
}
.network-overview .resources-dividers-label-bar .resources-divider {
background-color: transparent;
}
.network-overview .resources-dividers {
z-index: 250;
}
.request-view.html iframe {
width: 100%;
height: 100%;
position: absolute;
}
.network-film-strip {
border-bottom: solid 1px var(--sys-color-divider);
flex: none !important; /* stylelint-disable-line declaration-no-important */
}
.network-film-strip-placeholder {
flex-shrink: 0;
}
.network-tabbed-pane {
background-color: var(--sys-color-cdt-base-container);
}
.network-settings-pane {
display: grid;
grid-template-columns: 50% 50%;
flex: none;
background-color: var(--sys-color-cdt-base-container);
border-bottom: 1px solid var(--sys-color-divider);
}
.network-toolbar-container {
display: flex;
align-items: flex-start;
flex: none;
background-color: var(--sys-color-cdt-base-container);
border-bottom: 1px solid var(--sys-color-divider);
& > :first-child {
flex: 1 1 auto;
}
}
@media (forced-colors: active) {
.panel.network devtools-toolbar {
background-color: canvas;
}
}
devtools-request-headers {
min-width: 360px;
}