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
.speculative-loads-pane {
min-height: 15%;
padding: 5px;
}
.speculative-loads-pane:first-child {
border-bottom: 1px solid var(--theme-splitter-color);
}
.speculative-loads-status {
margin: 0;
padding: 5px 5px;
border-radius: 5px;
background-color: var(--bg-color);
width: fit-content;
}
.status-icon {
height: calc(var(--base-unit) * 4);
width: calc(var(--base-unit) * 4);
color: var(--theme-icon-color);
vertical-align: center;
display: inline-block;
background-position: center;
background-repeat: no-repeat;
fill: currentColor;
-moz-context-properties: fill;
}
.status-text {
padding-inline-start: 5px;
font-weight: bold;
}
.speculative-loads-status[data-prefetch-status="prefetched"] .status-icon {
color: var(--theme-icon-checked-color);
background-image: url("chrome://devtools/skin/images/check.svg");
}
.speculations-table {
width: 100%;
table-layout: fixed;
border-collapse: collapse;
th,
td {
padding: 4px 8px;
text-align: start;
border-bottom: 1px solid var(--theme-splitter-color);
}
th:first-child {
width: 70%;
}
thead {
background-color: var(--theme-toolbar-background);
}
.speculation-url {
overflow-wrap: anywhere;
}
tr[data-status="failure"] .speculation-status {
color: var(--theme-text-color-error);
}
}