|
1 | 1 | :root {
|
2 | 2 | --dark-background: #000210;
|
3 | 3 | --dark-background-half: #00021080;
|
| 4 | + --alt-dark-background: #808080; |
| 5 | + --alt-dark-background-half: #80808020; |
4 | 6 | --light-background: #f8f8f8;
|
5 | 7 | --light-background-half: #f8f8f880;
|
| 8 | + --alt-light-background: #7f7f7f; |
| 9 | + --alt-light-background-half: #7f7f7f20; |
6 | 10 | }
|
7 | 11 |
|
8 | 12 | @media (prefers-color-scheme: dark) {
|
|
13 | 17 | #issues-container > div,
|
14 | 18 | .preview {
|
15 | 19 | background-color: var(--dark-background);
|
16 |
| - border-color: var(--border-color); |
17 |
| - border-color: #80808020; |
| 20 | + border-color: var(--alt-dark-background-half); |
18 | 21 | }
|
19 | 22 | #issues-container > div,
|
20 | 23 | .preview > .preview-content {
|
21 | 24 | box-shadow: inset 0 0 24px #0080ff08;
|
22 | 25 | }
|
23 |
| - |
24 | 26 | .toolbar.ready {
|
25 | 27 | background-color: var(--dark-background-half);
|
26 | 28 | }
|
|
36 | 38 | filter: blur(0px) drop-shadow(0 0 8px #fff);
|
37 | 39 | }
|
38 | 40 | .preview-body::-webkit-scrollbar-track {
|
39 |
| - background: var(--dark-background); /* Background */ |
| 41 | + background: var(--dark-background); |
40 | 42 | }
|
41 |
| - |
42 | 43 | .preview-body::-webkit-scrollbar-thumb {
|
43 |
| - background-color: var(--light-background-half); /* Scrollbar thumb */ |
| 44 | + background-color: var(--light-background-half); |
44 | 45 | }
|
45 |
| - |
46 | 46 | .preview-body::-webkit-scrollbar-thumb:hover {
|
47 | 47 | background-color: var(--light-background);
|
48 | 48 | }
|
| 49 | + .preview th, |
| 50 | + .preview td{ |
| 51 | + border: 1px solid var(--alt-dark-background); |
| 52 | + } |
| 53 | + .preview tr:nth-child(even) { |
| 54 | + background-color: var(--alt-dark-background-half); |
| 55 | + } |
49 | 56 | }
|
50 | 57 |
|
51 | 58 | @media (prefers-color-scheme: light) {
|
|
82 | 89 | background-image: none;
|
83 | 90 | }
|
84 | 91 | .preview-body::-webkit-scrollbar-track {
|
85 |
| - background: var(--light-background); /* Background */ |
| 92 | + background: var(--light-background); |
86 | 93 | }
|
87 |
| - |
88 | 94 | .preview-body::-webkit-scrollbar-thumb {
|
89 |
| - background-color: var(--dark-background-half); /* Scrollbar thumb */ |
| 95 | + background-color: var(--dark-background-half); |
90 | 96 | }
|
91 |
| - |
92 | 97 | .preview-body::-webkit-scrollbar-thumb:hover {
|
93 | 98 | background-color: var(--dark-background);
|
94 | 99 | }
|
| 100 | + .preview th, |
| 101 | + .preview td{ |
| 102 | + border: 1px solid var(--alt-light-background); |
| 103 | + } |
| 104 | + .preview tr:nth-child(even) { |
| 105 | + background-color: var(--alt-light-background-half); |
| 106 | + } |
95 | 107 | }
|
96 | 108 |
|
97 | 109 | @keyframes highlight-dark-mode {
|
|
0 commit comments