2021-02-18 15:18:58 +05:30
|
|
|
<!DOCTYPE html>
|
|
|
|
<html>
|
|
|
|
<head>
|
|
|
|
<meta charset="utf-8">
|
|
|
|
<style type="text/css">
|
|
|
|
html, body {
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
body {
|
|
|
|
font-family: sans-serif;
|
|
|
|
font-size: 1rem;
|
|
|
|
margin: 0;
|
|
|
|
display: grid;
|
|
|
|
grid-template-areas: "nav nav" "items details";
|
|
|
|
grid-template-columns: 1fr 400px;
|
|
|
|
grid-template-rows: auto 1fr;
|
|
|
|
min-height: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
main {
|
|
|
|
grid-area: items;
|
|
|
|
min-width: 0;
|
|
|
|
min-height: 0;
|
|
|
|
overflow-y: auto;
|
2021-02-18 16:32:26 +05:30
|
|
|
padding: 8px;
|
2021-02-18 15:18:58 +05:30
|
|
|
}
|
|
|
|
|
2021-02-18 16:24:21 +05:30
|
|
|
main section h2 {
|
|
|
|
margin: 2px 14px;
|
|
|
|
font-size: 1rem;
|
|
|
|
}
|
|
|
|
|
2021-02-18 15:18:58 +05:30
|
|
|
aside {
|
|
|
|
grid-area: details;
|
2021-02-18 15:38:43 +05:30
|
|
|
padding: 8px;
|
2021-02-18 15:18:58 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
aside h3 {
|
|
|
|
word-wrap: anywhere;
|
|
|
|
}
|
|
|
|
|
2021-02-18 15:38:43 +05:30
|
|
|
aside p {
|
|
|
|
margin: 2px 0;
|
|
|
|
}
|
|
|
|
|
2021-02-18 15:18:58 +05:30
|
|
|
aside .values li span {
|
|
|
|
word-wrap: ;
|
|
|
|
word-wrap: anywhere;
|
2021-02-24 01:30:15 +05:30
|
|
|
padding: 4px;
|
2021-02-18 15:18:58 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
aside .values {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
2021-02-18 15:38:43 +05:30
|
|
|
border: 1px solid lightgray;
|
2021-02-18 15:18:58 +05:30
|
|
|
}
|
|
|
|
|
2021-02-18 15:38:43 +05:30
|
|
|
aside .values span.key {
|
|
|
|
width: 30%;
|
2021-02-18 15:18:58 +05:30
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2021-02-18 15:38:43 +05:30
|
|
|
aside .values span.value {
|
|
|
|
width: 70%;
|
|
|
|
display: block;
|
2021-02-24 01:30:15 +05:30
|
|
|
white-space: pre-wrap;
|
2021-02-18 15:38:43 +05:30
|
|
|
}
|
|
|
|
|
2021-02-18 15:18:58 +05:30
|
|
|
aside .values li {
|
|
|
|
display: flex;
|
2021-02-18 15:38:43 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
aside .values li:not(:first-child) {
|
|
|
|
border-top: 1px solid lightgray;
|
2021-02-18 15:18:58 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
nav {
|
|
|
|
grid-area: nav;
|
|
|
|
}
|
|
|
|
|
2021-02-18 15:56:27 +05:30
|
|
|
.timeline li:not(.expanded) > ol {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline li > div {
|
|
|
|
display: flex;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline .toggleExpanded {
|
|
|
|
border: none;
|
|
|
|
background: none;
|
|
|
|
width: 24px;
|
|
|
|
height: 24px;
|
|
|
|
margin-right: 4px;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline .toggleExpanded:before {
|
|
|
|
content: "▶";
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline li.expanded > div > .toggleExpanded:before {
|
|
|
|
content: "▼";
|
|
|
|
}
|
|
|
|
|
2021-02-18 15:18:58 +05:30
|
|
|
.timeline ol {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0 0 0 20px;
|
2021-02-18 16:24:21 +05:30
|
|
|
margin: 0;
|
2021-02-18 15:18:58 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.timeline div.item {
|
|
|
|
--hue: 100deg;
|
|
|
|
--brightness: 80%;
|
|
|
|
background-color: hsl(var(--hue), 60%, var(--brightness));
|
|
|
|
border: 1px solid hsl(var(--hue), 60%, calc(var(--brightness) - 40%));
|
|
|
|
border-radius: 4px;
|
|
|
|
padding: 2px;
|
|
|
|
display: flex;
|
|
|
|
margin: 1px;
|
2021-02-18 15:56:27 +05:30
|
|
|
flex: 1;
|
2021-02-18 16:24:21 +05:30
|
|
|
min-width: 0;
|
2021-02-18 15:56:27 +05:30
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.timeline div.item:not(.has-children) {
|
|
|
|
margin-left: calc(24px + 4px + 1px);
|
2021-02-18 15:18:58 +05:30
|
|
|
}
|
|
|
|
|
|
|
|
.timeline div.item .caption {
|
|
|
|
white-space: nowrap;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
overflow: hidden;
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
|
2021-02-19 16:27:57 +05:30
|
|
|
.timeline .item.level-3 {
|
2021-02-18 15:18:58 +05:30
|
|
|
--brightness: 90%;
|
|
|
|
}
|
2021-02-19 16:27:57 +05:30
|
|
|
|
|
|
|
.timeline .item.level-2 {
|
|
|
|
--brightness: 95%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timeline .item.level-5 {
|
|
|
|
--brightness: 80%;
|
|
|
|
}
|
2021-02-18 15:18:58 +05:30
|
|
|
|
2021-02-19 16:27:57 +05:30
|
|
|
.timeline .item.level-6, .timeline .item.level-7 {
|
2021-02-18 15:18:58 +05:30
|
|
|
--hue: 0deg !important;
|
|
|
|
}
|
|
|
|
|
2021-02-19 16:27:57 +05:30
|
|
|
.timeline .item.level-7 {
|
|
|
|
--brightness: 50%;
|
|
|
|
color: white;
|
|
|
|
}
|
|
|
|
|
2021-02-18 15:18:58 +05:30
|
|
|
.timeline div.item.type-network {
|
|
|
|
--hue: 30deg;
|
|
|
|
}
|
|
|
|
|
2021-02-19 16:27:57 +05:30
|
|
|
.timeline div.item.type-navigation {
|
|
|
|
--hue: 200deg;
|
|
|
|
}
|
|
|
|
|
2021-02-18 15:18:58 +05:30
|
|
|
.timeline div.item.selected {
|
|
|
|
background-color: Highlight;
|
|
|
|
border-color: Highlight;
|
|
|
|
color: HighlightText;
|
|
|
|
}
|
|
|
|
|
|
|
|
.hidden {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<nav><button id="openFile">Open log file</button></nav>
|
|
|
|
<main></main>
|
|
|
|
<aside></aside>
|
|
|
|
<script type="module" src="main.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|