1 /*===-- HTMLLogger.css ----------------------------------------------------===
3 * Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4 * See https://llvm.org/LICENSE.txt for license information.
5 * SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
7 *===----------------------------------------------------------------------===*/
8 html
{ font-family: sans-serif
; }
9 body
{ margin: 0; display: flex
; justify-content: left
; }
10 body
> * { box-sizing: border-box
; }
12 border: 1px solid black
;
18 background-color: #008;
28 border-top: 1px solid
#aaa;
31 min-width: max-content
;
32 counter-reset: entry_counter
;
34 #timeline .entry
.counter::before
{
35 counter-increment: entry_counter
;
36 content: counter
(entry_counter
) ":";
38 #timeline .entry
.counter
{
39 display: inline-block
;
40 min-width: 2em; /* Enough space for two digits and a colon */
43 #timeline .entry
.hover
{
44 background-color: #aaa;
46 #timeline .entry
.iter-select
{
47 background-color: #aac;
51 font-family: monospace
;
53 border-collapse: collapse
;
55 #bb-elements td:nth-child
(1) {
58 border-right: 1px solid
#008;
64 #bb-elements tr
.hover
{
65 background-color: #abc;
67 #bb-elements tr
.elt-select
{
68 background-color: #acf;
73 #iterations .chooser
{
78 #iterations .chooser :last-child
{
81 #iterations .chooser:not
(.iter-select
).hover
{
82 background-color: #ddd;
84 #iterations .iter-select
{
87 #iterations .chooser:not
(.iter-select
) {
88 text-decoration: underline
;
91 background-color: #ccc;
97 background-color: #ccc;
105 code
.line:before
{ /* line numbers */
106 content: attr
(data-line
);
107 display: inline-block
;
111 background-color: #ccc;
112 border-right: 1px solid
#888;
115 code
.line:has
(.bb-select
):before
{
116 border-right: 4px solid black
;
119 .c.hover, .bb.hover {
120 filter: saturate
(200%) brightness
(90%);
123 box-shadow: inset
0 -4px 2px -2px #a00;
125 .bb.bb-select polygon {
127 filter: brightness
(70%) saturate
(150%);
129 .bb { user-select: none
; }
130 .bb polygon { fill: white
; }
137 border: 1px solid
#888;
142 background-color: #ace;
146 .value > summary::before {
147 content: '\25ba'; /* Black Right-Pointing Pointer */
151 .value[open] > summary::before {
152 content: '\25bc'; /* Black Down-Pointing Triangle */
154 .value > summary > .location {
159 font-family: monospace
;
166 .value .property .key {