coverage 7.13.1__cp314-cp314t-musllinux_1_2_aarch64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (61) hide show
  1. a1_coverage.pth +1 -0
  2. coverage/__init__.py +38 -0
  3. coverage/__main__.py +12 -0
  4. coverage/annotate.py +113 -0
  5. coverage/bytecode.py +197 -0
  6. coverage/cmdline.py +1220 -0
  7. coverage/collector.py +487 -0
  8. coverage/config.py +732 -0
  9. coverage/context.py +74 -0
  10. coverage/control.py +1514 -0
  11. coverage/core.py +139 -0
  12. coverage/data.py +251 -0
  13. coverage/debug.py +669 -0
  14. coverage/disposition.py +59 -0
  15. coverage/env.py +135 -0
  16. coverage/exceptions.py +85 -0
  17. coverage/execfile.py +329 -0
  18. coverage/files.py +553 -0
  19. coverage/html.py +860 -0
  20. coverage/htmlfiles/coverage_html.js +735 -0
  21. coverage/htmlfiles/favicon_32.png +0 -0
  22. coverage/htmlfiles/index.html +199 -0
  23. coverage/htmlfiles/keybd_closed.png +0 -0
  24. coverage/htmlfiles/pyfile.html +149 -0
  25. coverage/htmlfiles/style.css +389 -0
  26. coverage/htmlfiles/style.scss +844 -0
  27. coverage/inorout.py +590 -0
  28. coverage/jsonreport.py +200 -0
  29. coverage/lcovreport.py +218 -0
  30. coverage/misc.py +381 -0
  31. coverage/multiproc.py +120 -0
  32. coverage/numbits.py +146 -0
  33. coverage/parser.py +1215 -0
  34. coverage/patch.py +118 -0
  35. coverage/phystokens.py +197 -0
  36. coverage/plugin.py +617 -0
  37. coverage/plugin_support.py +299 -0
  38. coverage/pth_file.py +16 -0
  39. coverage/py.typed +1 -0
  40. coverage/python.py +272 -0
  41. coverage/pytracer.py +370 -0
  42. coverage/regions.py +127 -0
  43. coverage/report.py +298 -0
  44. coverage/report_core.py +117 -0
  45. coverage/results.py +502 -0
  46. coverage/sqldata.py +1212 -0
  47. coverage/sqlitedb.py +226 -0
  48. coverage/sysmon.py +509 -0
  49. coverage/templite.py +319 -0
  50. coverage/tomlconfig.py +212 -0
  51. coverage/tracer.cpython-314t-aarch64-linux-musl.so +0 -0
  52. coverage/tracer.pyi +43 -0
  53. coverage/types.py +214 -0
  54. coverage/version.py +35 -0
  55. coverage/xmlreport.py +263 -0
  56. coverage-7.13.1.dist-info/METADATA +200 -0
  57. coverage-7.13.1.dist-info/RECORD +61 -0
  58. coverage-7.13.1.dist-info/WHEEL +5 -0
  59. coverage-7.13.1.dist-info/entry_points.txt +4 -0
  60. coverage-7.13.1.dist-info/licenses/LICENSE.txt +177 -0
  61. coverage-7.13.1.dist-info/top_level.txt +1 -0
@@ -0,0 +1,844 @@
1
+ /* Licensed under the Apache License: http://www.apache.org/licenses/LICENSE-2.0 */
2
+ /* For details: https://github.com/coveragepy/coveragepy/blob/main/NOTICE.txt */
3
+
4
+ // CSS styles for coverage.py HTML reports.
5
+
6
+ // When you edit this file, you need to run "make css" to get the CSS file
7
+ // generated, and then check in both the .scss and the .css files.
8
+
9
+ // When working on the file, this command is useful:
10
+ // sass --watch --style=compact --sourcemap=none --no-cache coverage/htmlfiles/style.scss:htmlcov/style.css
11
+ //
12
+ // OR you can process sass purely in python with `pip install pysass`, then:
13
+ // pysassc --style=compact coverage/htmlfiles/style.scss coverage/htmlfiles/style.css
14
+
15
+ // Ignore this comment, it's for the CSS output file:
16
+ /* Don't edit this .css file. Edit the .scss file instead! */
17
+
18
+ // Dimensions
19
+ $left-gutter: 3.5rem;
20
+
21
+ //
22
+ // Declare colors and variables
23
+ //
24
+
25
+ $font-normal: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
26
+ $font-code: SFMono-Regular, Menlo, Monaco, Consolas, monospace;
27
+
28
+ $off-button-lighten: 50%;
29
+ $hover-dark-amt: 95%;
30
+ $multi-dim-amt: 50%;
31
+
32
+ $focus-color: #007acc;
33
+
34
+ $mis-color: #ff0000;
35
+ $run-color: #00dd00;
36
+ $exc-color: #808080;
37
+ $par-color: #bbbb00;
38
+
39
+ $light-bg: #fff;
40
+ $light-fg: #000;
41
+ $light-gray1: #f8f8f8;
42
+ $light-gray2: #eee;
43
+ $light-gray3: #ccc;
44
+ $light-gray4: #999;
45
+ $light-gray5: #666;
46
+ $light-gray6: #333;
47
+ $light-pln-bg: $light-bg;
48
+ $light-mis-bg: #fdd;
49
+ $light-run-bg: #dfd;
50
+ $light-exc-bg: $light-gray2;
51
+ $light-par-bg: #ffa;
52
+ $light-token-com: #008000;
53
+ $light-token-str: #0451a5;
54
+ $light-context-bg-color: #d0e8ff;
55
+
56
+ $dark-bg: #1e1e1e;
57
+ $dark-fg: #eee;
58
+ $dark-gray1: #222;
59
+ $dark-gray2: #333;
60
+ $dark-gray3: #444;
61
+ $dark-gray4: #777;
62
+ $dark-gray5: #aaa;
63
+ $dark-gray6: #ddd;
64
+ $dark-pln-bg: $dark-bg;
65
+ $dark-mis-bg: #4b1818;
66
+ $dark-run-bg: #373d29;
67
+ $dark-exc-bg: $dark-gray2;
68
+ $dark-par-bg: #650;
69
+ $dark-token-com: #6a9955;
70
+ $dark-token-str: #9cdcfe;
71
+ $dark-context-bg-color: #056;
72
+
73
+ //
74
+ // Mixins and utilities
75
+ //
76
+
77
+ @mixin background-dark($color) {
78
+ @media (prefers-color-scheme: dark) {
79
+ background: $color;
80
+ }
81
+ }
82
+ @mixin color-dark($color) {
83
+ @media (prefers-color-scheme: dark) {
84
+ color: $color;
85
+ }
86
+ }
87
+ @mixin border-color-dark($color) {
88
+ @media (prefers-color-scheme: dark) {
89
+ border-color: $color;
90
+ }
91
+ }
92
+
93
+ // Add visual outline to navigable elements on focus improve accessibility.
94
+ @mixin focus-border {
95
+ &:active, &:focus {
96
+ outline: 2px dashed $focus-color;
97
+ }
98
+ }
99
+
100
+ @mixin button-shape {
101
+ font-family: inherit;
102
+ font-size: inherit;
103
+ border: 1px solid;
104
+ border-radius: .2em;
105
+ background: $light-gray2;
106
+ @include background-dark($dark-gray2);
107
+ color: inherit;
108
+ text-decoration: none;
109
+ padding: .1em .5em;
110
+ margin: 1px calc(.1em + 1px);
111
+ cursor: pointer;
112
+ border-color: $light-gray3;
113
+ @include border-color-dark($dark-gray3);
114
+ }
115
+
116
+ // Page-wide styles
117
+ html, body, h1, h2, h3, p, table, td, th {
118
+ margin: 0;
119
+ padding: 0;
120
+ border: 0;
121
+ font-weight: inherit;
122
+ font-style: inherit;
123
+ font-size: 100%;
124
+ font-family: inherit;
125
+ vertical-align: baseline;
126
+ }
127
+
128
+ // Set baseline grid to 16 pt.
129
+ body {
130
+ font-family: $font-normal;
131
+ font-size: 1em;
132
+ background: $light-bg;
133
+ color: $light-fg;
134
+ @include background-dark($dark-bg);
135
+ @include color-dark($dark-fg);
136
+ }
137
+
138
+ html>body {
139
+ font-size: 16px;
140
+ }
141
+
142
+ a {
143
+ @include focus-border;
144
+ }
145
+
146
+ p {
147
+ font-size: .875em;
148
+ line-height: 1.4em;
149
+ }
150
+
151
+ table {
152
+ border-collapse: collapse;
153
+ }
154
+ td {
155
+ vertical-align: top;
156
+ }
157
+ table tr.hidden {
158
+ display: none !important;
159
+ }
160
+
161
+ p#no_rows {
162
+ display: none;
163
+ font-size: 1.15em;
164
+ font-family: $font-normal;
165
+ }
166
+
167
+ a.nav {
168
+ text-decoration: none;
169
+ color: inherit;
170
+
171
+ &:hover {
172
+ text-decoration: underline;
173
+ color: inherit;
174
+ }
175
+ }
176
+
177
+ .hidden {
178
+ display: none;
179
+ }
180
+
181
+ // Page structure
182
+ header {
183
+ background: $light-gray1;
184
+ @include background-dark(black);
185
+ width: 100%;
186
+ z-index: 2;
187
+ border-bottom: 1px solid $light-gray3;
188
+ @include border-color-dark($dark-gray2);
189
+
190
+ .content {
191
+ padding: 1rem $left-gutter;
192
+ }
193
+
194
+ h2 {
195
+ margin-top: .5em;
196
+ font-size: 1em;
197
+
198
+ a.button {
199
+ @include button-shape;
200
+ &.current {
201
+ border: 2px solid;
202
+ background: $light-bg;
203
+ @include background-dark($dark-bg);
204
+ border-color: $light-gray4;
205
+ @include border-color-dark($dark-gray4);
206
+ cursor: default;
207
+ }
208
+ }
209
+ }
210
+
211
+ p.text {
212
+ margin: .5em 0 -.5em;
213
+ color: $light-gray5;
214
+ @include color-dark($dark-gray5);
215
+ font-style: italic;
216
+ }
217
+
218
+ &.sticky {
219
+ position: fixed;
220
+ left: 0;
221
+ right: 0;
222
+ height: 2.5em;
223
+
224
+ .text {
225
+ display: none;
226
+ }
227
+
228
+ h1, h2 {
229
+ font-size: 1em;
230
+ margin-top: 0;
231
+ display: inline-block;
232
+ }
233
+
234
+ .content {
235
+ padding: .5rem $left-gutter;
236
+ p {
237
+ font-size: 1em;
238
+ }
239
+ }
240
+
241
+ & ~ #source {
242
+ padding-top: 6.5em;
243
+ }
244
+ }
245
+ }
246
+
247
+ main {
248
+ position: relative;
249
+ z-index: 1;
250
+ }
251
+
252
+ footer {
253
+ margin: 1rem $left-gutter;
254
+
255
+ .content {
256
+ padding: 0;
257
+ color: $light-gray5;
258
+ @include color-dark($dark-gray5);
259
+ font-style: italic;
260
+ }
261
+ }
262
+
263
+ #index {
264
+ margin: 1rem 0 0 $left-gutter;
265
+ }
266
+
267
+ // Header styles
268
+
269
+ h1 {
270
+ font-size: 1.25em;
271
+ display: inline-block;
272
+ }
273
+
274
+ #filter_container {
275
+ float: right;
276
+ margin: 0 2em 0 0;
277
+ line-height: 1.66em;
278
+
279
+ #filter {
280
+ width: 10em;
281
+ padding: 0.2em 0.5em;
282
+ border: 2px solid $light-gray3;
283
+ background: $light-bg;
284
+ color: $light-fg;
285
+ @include border-color-dark($dark-gray3);
286
+ @include background-dark($dark-bg);
287
+ @include color-dark($dark-fg);
288
+ &:focus {
289
+ border-color: $focus-color;
290
+ }
291
+ }
292
+
293
+ :disabled ~ label{
294
+ color: $light-gray3;
295
+ @include color-dark($dark-gray3);
296
+ }
297
+
298
+ label {
299
+ font-size: .875em;
300
+ color: $light-gray5;
301
+ @include color-dark($dark-gray5);
302
+ }
303
+ }
304
+
305
+ header button {
306
+ @include button-shape;
307
+ @include focus-border;
308
+
309
+ &.run {
310
+ background: mix($light-run-bg, $light-bg, $off-button-lighten);
311
+ @include background-dark($dark-run-bg);
312
+ &.show_run {
313
+ background: $light-run-bg;
314
+ @include background-dark($dark-run-bg);
315
+ border: 2px solid $run-color;
316
+ margin: 0 .1em;
317
+ }
318
+ }
319
+ &.mis {
320
+ background: mix($light-mis-bg, $light-bg, $off-button-lighten);
321
+ @include background-dark($dark-mis-bg);
322
+ &.show_mis {
323
+ background: $light-mis-bg;
324
+ @include background-dark($dark-mis-bg);
325
+ border: 2px solid $mis-color;
326
+ margin: 0 .1em;
327
+ }
328
+ }
329
+ &.exc {
330
+ background: mix($light-exc-bg, $light-bg, $off-button-lighten);
331
+ @include background-dark($dark-exc-bg);
332
+ &.show_exc {
333
+ background: $light-exc-bg;
334
+ @include background-dark($dark-exc-bg);
335
+ border: 2px solid $exc-color;
336
+ margin: 0 .1em;
337
+ }
338
+ }
339
+ &.par {
340
+ background: mix($light-par-bg, $light-bg, $off-button-lighten);
341
+ @include background-dark($dark-par-bg);
342
+ &.show_par {
343
+ background: $light-par-bg;
344
+ @include background-dark($dark-par-bg);
345
+ border: 2px solid $par-color;
346
+ margin: 0 .1em;
347
+ }
348
+ }
349
+ }
350
+
351
+ // Yellow post-it things.
352
+ %popup {
353
+ display: none;
354
+ position: absolute;
355
+ z-index: 999;
356
+ background: #ffffcc;
357
+ border: 1px solid #888;
358
+ border-radius: .2em;
359
+ color: #333;
360
+ padding: .25em .5em;
361
+ }
362
+
363
+ // Yellow post-it's in the text listings.
364
+ %in-text-popup {
365
+ @extend %popup;
366
+ white-space: normal;
367
+ float: right;
368
+ top: 1.75em;
369
+ right: 1em;
370
+ height: auto;
371
+ }
372
+
373
+ // Help panel
374
+ #help_panel_wrapper {
375
+ float: right;
376
+ position: relative;
377
+ }
378
+
379
+ #keyboard_icon {
380
+ margin: 5px;
381
+ }
382
+
383
+ #help_panel_state {
384
+ display: none;
385
+ }
386
+
387
+ #help_panel {
388
+ @extend %popup;
389
+ top: 25px;
390
+ right: 0;
391
+ padding: .75em;
392
+ border: 1px solid #883;
393
+
394
+ color: #333;
395
+
396
+ .keyhelp p {
397
+ margin-top: .75em;
398
+ }
399
+
400
+ .legend {
401
+ font-style: italic;
402
+ margin-bottom: 1em;
403
+ }
404
+
405
+ .indexfile & {
406
+ width: 25em;
407
+ }
408
+
409
+ .pyfile & {
410
+ width: 18em;
411
+ }
412
+
413
+ #help_panel_state:checked ~ & {
414
+ display: block;
415
+ }
416
+ }
417
+
418
+ kbd {
419
+ border: 1px solid black;
420
+ border-color: #888 #333 #333 #888;
421
+ padding: .1em .35em;
422
+ font-family: $font-code;
423
+ font-weight: bold;
424
+ background: #eee;
425
+ border-radius: 3px;
426
+ }
427
+
428
+ // Source file styles
429
+
430
+ // The slim bar at the left edge of the source lines, colored by coverage.
431
+ $border-indicator-width: .2em;
432
+
433
+ #source {
434
+ padding: 1em 0 1em $left-gutter;
435
+ font-family: $font-code;
436
+
437
+ p {
438
+ // position relative makes position:absolute pop-ups appear in the right place.
439
+ position: relative;
440
+ white-space: pre;
441
+
442
+ * {
443
+ box-sizing: border-box;
444
+ }
445
+
446
+ .n {
447
+ float: left;
448
+ text-align: right;
449
+ width: $left-gutter;
450
+ box-sizing: border-box;
451
+ margin-left: -$left-gutter;
452
+ padding-right: 1em;
453
+ color: $light-gray4;
454
+ user-select: none;
455
+ @include color-dark($dark-gray4);
456
+
457
+ &.highlight {
458
+ background: #ffdd00;
459
+ }
460
+
461
+ a {
462
+ // Make anchors to the line scroll the line to be
463
+ // visible beneath the fixed-position header.
464
+ scroll-margin-top: 6em;
465
+ text-decoration: none;
466
+ color: $light-gray4;
467
+ @include color-dark($dark-gray4);
468
+ &:hover {
469
+ text-decoration: underline;
470
+ color: $light-gray4;
471
+ @include color-dark($dark-gray4);
472
+ }
473
+ }
474
+ }
475
+
476
+ .t {
477
+ display: inline-block;
478
+ width: 100%;
479
+ box-sizing: border-box;
480
+ margin-left: -.5em;
481
+ padding-left: .5em - $border-indicator-width;
482
+ border-left: $border-indicator-width solid $light-bg;
483
+ @include border-color-dark($dark-bg);
484
+
485
+ &:hover {
486
+ background: mix($light-pln-bg, $light-fg, $hover-dark-amt);
487
+ @include background-dark(mix($dark-pln-bg, $dark-fg, $hover-dark-amt));
488
+
489
+ & ~ .r .annotate.long {
490
+ display: block;
491
+ }
492
+ }
493
+
494
+ // Syntax coloring
495
+ .com {
496
+ color: $light-token-com;
497
+ @include color-dark($dark-token-com);
498
+ font-style: italic;
499
+ line-height: 1px;
500
+ }
501
+ .key {
502
+ font-weight: bold;
503
+ line-height: 1px;
504
+ }
505
+ .str, .fst {
506
+ color: $light-token-str;
507
+ @include color-dark($dark-token-str);
508
+ }
509
+ }
510
+
511
+ &.mis {
512
+ .t {
513
+ border-left: $border-indicator-width solid $mis-color;
514
+ }
515
+
516
+ &.show_mis .t {
517
+ background: $light-mis-bg;
518
+ @include background-dark($dark-mis-bg);
519
+
520
+ &:hover {
521
+ background: mix($light-mis-bg, $light-fg, $hover-dark-amt);
522
+ @include background-dark(mix($dark-mis-bg, $dark-fg, $hover-dark-amt));
523
+ }
524
+ }
525
+
526
+ &.mis2 {
527
+ .t {
528
+ border-left: $border-indicator-width dotted $mis-color;
529
+ }
530
+
531
+ &.show_mis .t {
532
+ background: mix($light-mis-bg, $light-bg, $multi-dim-amt);
533
+ @include background-dark(mix($dark-mis-bg, $dark-bg, $multi-dim-amt));
534
+
535
+ &:hover {
536
+ background: mix($light-mis-bg, $light-fg, $hover-dark-amt);
537
+ @include background-dark(mix($dark-mis-bg, $dark-fg, $hover-dark-amt));
538
+ }
539
+ }
540
+ }
541
+ }
542
+
543
+ &.run {
544
+ .t {
545
+ border-left: $border-indicator-width solid $run-color;
546
+ }
547
+
548
+ &.show_run .t {
549
+ background: $light-run-bg;
550
+ @include background-dark($dark-run-bg);
551
+
552
+ &:hover {
553
+ background: mix($light-run-bg, $light-fg, $hover-dark-amt);
554
+ @include background-dark(mix($dark-run-bg, $dark-fg, $hover-dark-amt));
555
+ }
556
+ }
557
+
558
+ &.run2 {
559
+ .t {
560
+ border-left: $border-indicator-width dotted $run-color;
561
+ }
562
+
563
+ &.show_run .t {
564
+ background: mix($light-run-bg, $light-bg, $multi-dim-amt);
565
+ @include background-dark(mix($dark-run-bg, $dark-bg, $multi-dim-amt));
566
+
567
+ &:hover {
568
+ background: mix($light-run-bg, $light-fg, $hover-dark-amt);
569
+ @include background-dark(mix($dark-run-bg, $dark-fg, $hover-dark-amt));
570
+ }
571
+ }
572
+ }
573
+ }
574
+
575
+ &.exc {
576
+ .t {
577
+ border-left: $border-indicator-width solid $exc-color;
578
+ }
579
+
580
+ &.show_exc .t {
581
+ background: $light-exc-bg;
582
+ @include background-dark($dark-exc-bg);
583
+
584
+ &:hover {
585
+ background: mix($light-exc-bg, $light-fg, $hover-dark-amt);
586
+ @include background-dark(mix($dark-exc-bg, $dark-fg, $hover-dark-amt));
587
+ }
588
+ }
589
+
590
+ &.exc2 {
591
+ .t {
592
+ border-left: $border-indicator-width dotted $exc-color;
593
+ }
594
+
595
+ &.show_exc .t {
596
+ background: mix($light-exc-bg, $light-bg, $multi-dim-amt);
597
+ @include background-dark(mix($dark-exc-bg, $dark-bg, $multi-dim-amt));
598
+
599
+ &:hover {
600
+ background: mix($light-exc-bg, $light-fg, $hover-dark-amt);
601
+ @include background-dark(mix($dark-exc-bg, $dark-fg, $hover-dark-amt));
602
+ }
603
+ }
604
+ }
605
+ }
606
+
607
+ &.par {
608
+ .t {
609
+ border-left: $border-indicator-width solid $par-color;
610
+ }
611
+
612
+ &.show_par .t {
613
+ background: $light-par-bg;
614
+ @include background-dark($dark-par-bg);
615
+
616
+ &:hover {
617
+ background: mix($light-par-bg, $light-fg, $hover-dark-amt);
618
+ @include background-dark(mix($dark-par-bg, $dark-fg, $hover-dark-amt));
619
+ }
620
+ }
621
+
622
+ &.par2 {
623
+ .t {
624
+ border-left: $border-indicator-width dotted $par-color;
625
+ }
626
+
627
+ &.show_par .t {
628
+ background: mix($light-par-bg, $light-bg, $multi-dim-amt);
629
+ @include background-dark(mix($dark-par-bg, $dark-bg, $multi-dim-amt));
630
+
631
+ &:hover {
632
+ background: mix($light-par-bg, $light-fg, $hover-dark-amt);
633
+ @include background-dark(mix($dark-par-bg, $dark-fg, $hover-dark-amt));
634
+ }
635
+ }
636
+ }
637
+ }
638
+
639
+ .r {
640
+ position: absolute;
641
+ top: 0;
642
+ right: 2.5em;
643
+ font-family: $font-normal;
644
+ }
645
+
646
+ .annotate {
647
+ font-family: $font-normal;
648
+ color: $light-gray5;
649
+ @include color-dark($dark-gray6);
650
+ padding-right: .5em;
651
+
652
+ &.short:hover ~ .long {
653
+ display: block;
654
+ }
655
+
656
+ &.long {
657
+ @extend %in-text-popup;
658
+ width: 30em;
659
+ right: 2.5em;
660
+ }
661
+ }
662
+
663
+ input {
664
+ display: none;
665
+
666
+ & ~ .r label.ctx {
667
+ cursor: pointer;
668
+ border-radius: .25em;
669
+ &::before {
670
+ content: "▶ ";
671
+ }
672
+ &:hover {
673
+ background: mix($light-context-bg-color, $light-bg, $off-button-lighten);
674
+ @include background-dark(mix($dark-context-bg-color, $dark-bg, $off-button-lighten));
675
+ color: $light-gray5;
676
+ @include color-dark($dark-gray5);
677
+ }
678
+ }
679
+
680
+ &:checked ~ .r label.ctx {
681
+ background: $light-context-bg-color;
682
+ @include background-dark($dark-context-bg-color);
683
+ color: $light-gray5;
684
+ @include color-dark($dark-gray5);
685
+ border-radius: .75em .75em 0 0;
686
+ padding: 0 .5em;
687
+ margin: -.25em 0;
688
+ &::before {
689
+ content: "▼ ";
690
+ }
691
+ }
692
+
693
+ &:checked ~ .ctxs {
694
+ padding: .25em .5em;
695
+ overflow-y: scroll;
696
+ max-height: 10.5em;
697
+ }
698
+ }
699
+
700
+ label.ctx {
701
+ color: $light-gray4;
702
+ @include color-dark($dark-gray4);
703
+ display: inline-block;
704
+ padding: 0 .5em;
705
+ font-size: .8333em; // 10/12
706
+ }
707
+
708
+ .ctxs {
709
+ display: block;
710
+ max-height: 0;
711
+ overflow-y: hidden;
712
+ transition: all .2s;
713
+ padding: 0 .5em;
714
+ font-family: $font-normal;
715
+ white-space: nowrap;
716
+ background: $light-context-bg-color;
717
+ @include background-dark($dark-context-bg-color);
718
+ border-radius: .25em;
719
+ margin-right: 1.75em;
720
+ text-align: right;
721
+ }
722
+ }
723
+ }
724
+
725
+
726
+ // index styles
727
+ #index {
728
+ font-family: $font-code;
729
+ font-size: 0.875em;
730
+
731
+ table.index {
732
+ margin-left: -.5em;
733
+ }
734
+ td, th {
735
+ text-align: right;
736
+ vertical-align: baseline;
737
+ padding: .25em .5em;
738
+ border-bottom: 1px solid $light-gray2;
739
+ @include border-color-dark($dark-gray2);
740
+ &.name {
741
+ text-align: left;
742
+ width: auto;
743
+ font-family: $font-normal;
744
+ min-width: 15em;
745
+ }
746
+ &.left {
747
+ text-align: left;
748
+ }
749
+ &.spacer {
750
+ border: none;
751
+ padding: 0;
752
+ &:hover {
753
+ background: inherit;
754
+ }
755
+ }
756
+ }
757
+ th {
758
+ font-family: $font-normal;
759
+ font-style: italic;
760
+ color: $light-gray6;
761
+ @include color-dark($dark-gray6);
762
+ border-color: $light-gray3;
763
+ @include border-color-dark($dark-gray3);
764
+ cursor: pointer;
765
+ &:hover {
766
+ background: $light-gray2;
767
+ @include background-dark($dark-gray2);
768
+ }
769
+ .arrows {
770
+ color: #666;
771
+ font-size: 85%;
772
+ font-family: sans-serif;
773
+ font-style: normal;
774
+ pointer-events: none;
775
+ }
776
+ &[aria-sort="ascending"], &[aria-sort="descending"] {
777
+ white-space: nowrap;
778
+ background: $light-gray2;
779
+ @include background-dark($dark-gray2);
780
+ padding-left: .5em;
781
+ }
782
+ &[aria-sort="ascending"] .arrows::after {
783
+ content: " ▲";
784
+ }
785
+ &[aria-sort="descending"] .arrows::after {
786
+ content: " ▼";
787
+ }
788
+ }
789
+ tr.grouphead {
790
+ th {
791
+ cursor: default;
792
+ font-style: normal;
793
+ border-color: $light-gray4;
794
+ @include border-color-dark($dark-gray4);
795
+ }
796
+ }
797
+ td.name {
798
+ font-size: 1.15em;
799
+ a {
800
+ text-decoration: none;
801
+ color: inherit;
802
+ }
803
+ & .no-noun {
804
+ font-style: italic;
805
+ }
806
+ }
807
+
808
+ tr.total td,
809
+ tr.total_dynamic td {
810
+ font-weight: bold;
811
+ border-bottom: none;
812
+ }
813
+ tr.region:hover {
814
+ background: $light-gray2;
815
+ @include background-dark($dark-gray2);
816
+ td.name {
817
+ text-decoration: underline;
818
+ color: inherit;
819
+ }
820
+ }
821
+ }
822
+
823
+ // scroll marker styles
824
+ #scroll_marker {
825
+ position: fixed;
826
+ z-index: 3;
827
+ right: 0;
828
+ top: 0;
829
+ width: 16px;
830
+ height: 100%;
831
+ background: $light-bg;
832
+ border-left: 1px solid $light-gray2;
833
+ @include background-dark($dark-bg);
834
+ @include border-color-dark($dark-gray2);
835
+ will-change: transform; // for faster scrolling of fixed element in Chrome
836
+
837
+ .marker {
838
+ background: $light-gray3;
839
+ @include background-dark($dark-gray3);
840
+ position: absolute;
841
+ min-height: 3px;
842
+ width: 100%;
843
+ }
844
+ }