File tree Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Expand file tree Collapse file tree 2 files changed +31
-1
lines changed Original file line number Diff line number Diff line change @@ -371,6 +371,29 @@ a.button {
371
371
color : var (--text-color-subtle );
372
372
}
373
373
374
+ .benchmark a .info {
375
+ display : inline-block;
376
+ text-align : center;
377
+ vertical-align : middle;
378
+ font-style : italic;
379
+ font-weight : bold;
380
+ border-radius : 100% ;
381
+ background-color : var (--benchmark-heading-color );
382
+ color : var (--text-color-inverse ) !important ;
383
+ width : 1em ;
384
+ height : 1em ;
385
+ user-select : none;
386
+
387
+ }
388
+
389
+ .benchmark-running a .info {
390
+ background-color : var (--color-primary );
391
+ }
392
+
393
+ .benchmark-done a .info {
394
+ background-color : var (--text-color-subtle );
395
+ }
396
+
374
397
.benchmark h3 a ,
375
398
.benchmark h3 a : link ,
376
399
.benchmark h3 a : active ,
@@ -430,6 +453,13 @@ a.button {
430
453
font-weight : 400 ;
431
454
}
432
455
456
+ dt : target {
457
+ background-color : var (--color-secondary );
458
+ color : var (--text-color-inverse );
459
+ padding-left : 10px ;
460
+ border-radius : 5px ;
461
+ }
462
+
433
463
.plot svg circle {
434
464
fill : var (--color-primary );
435
465
opacity : 0.8 ;
Original file line number Diff line number Diff line change @@ -352,7 +352,7 @@ class Driver {
352
352
if ( isInBrowser ) {
353
353
text +=
354
354
`<div class="benchmark" id="benchmark-${ benchmark . name } ">
355
- <h3 class="benchmark-name"><a href="in-depth.html#${ benchmark . name } ">${ benchmark . name } </a></h3>
355
+ <h3 class="benchmark-name">${ benchmark . name } <a class="info" href="in-depth.html#${ benchmark . name } ">i </a></h3>
356
356
<h4 class="score" id="${ overallScoreId } "> </h4>
357
357
<h4 class="plot" id="plot-${ benchmark . name } "> </h4>
358
358
<p>` ;
You can’t perform that action at this time.
0 commit comments