This commit is contained in:
parent
766ff9810b
commit
5c203a6f22
7 changed files with 66 additions and 29 deletions
|
|
@ -13,24 +13,25 @@ table {
|
|||
user-select: none;
|
||||
width: fit-content;
|
||||
border-collapse: collapse;
|
||||
border: solid 4px var(--color-shade-3);
|
||||
border: solid 4px var(--color-shade-2);
|
||||
}
|
||||
table thead {
|
||||
position: sticky;
|
||||
top: calc(-1rem + 2px);
|
||||
z-index: 10;
|
||||
background-color: var(--color-background);
|
||||
outline: solid 4px var(--color-shade-3);
|
||||
outline: solid 4px var(--color-shade-2);
|
||||
outline-offset: -2px;
|
||||
}
|
||||
table thead tr > th {
|
||||
outline: solid 1px var(--color-shade-3);
|
||||
outline: solid 1px var(--color-shade-2);
|
||||
}
|
||||
table thead tr > th.hover {
|
||||
background-color: var(--color-shade-4);
|
||||
background-color: var(--color-shade-3);
|
||||
}
|
||||
table thead tr:first-child > th[colspan="15"] {
|
||||
background-color: var(--color-shade-3);
|
||||
background-color: var(--color-shade-2);
|
||||
color: var(--color-dark-foreground);
|
||||
}
|
||||
table thead.currentEvent {
|
||||
outline-color: var(--color-primary);
|
||||
|
|
@ -42,7 +43,7 @@ table thead.currentEvent tr:first-child > th {
|
|||
background-color: var(--color-primary);
|
||||
}
|
||||
table tbody {
|
||||
border-top: solid 4px var(--color-shade-3);
|
||||
border-top: solid 4px var(--color-shade-2);
|
||||
}
|
||||
table tbody.currentEvent {
|
||||
border: solid 4px var(--color-primary);
|
||||
|
|
@ -55,7 +56,7 @@ table td {
|
|||
table th,
|
||||
table td {
|
||||
padding: 0.25rem 0.5rem;
|
||||
border: solid 1px var(--color-shade-3);
|
||||
border: solid 1px var(--color-shade-2);
|
||||
min-width: 6ch;
|
||||
}
|
||||
table th.hover,
|
||||
|
|
@ -75,7 +76,7 @@ table td.val:not(.empty).hover {
|
|||
background-color: var(--color-shade-1);
|
||||
}
|
||||
table td.val:not(.empty):hover {
|
||||
background-color: var(--color-shade-4);
|
||||
background-color: var(--color-shade-3);
|
||||
}
|
||||
table td.val.highlighted[data-dim=A] {
|
||||
background-color: rgb(96, 165, 249);
|
||||
|
|
@ -87,7 +88,7 @@ table td.val.highlighted[data-dim=C] {
|
|||
background-color: rgb(255, 121, 117);
|
||||
}
|
||||
table td.val.currentDimension:not(.hover) {
|
||||
background-color: var(--color-shade-3);
|
||||
background-color: var(--color-shade-2);
|
||||
}
|
||||
table td.val:not([data-diff=""])::after {
|
||||
content: attr(data-diff);
|
||||
|
|
@ -114,7 +115,7 @@ table td.val[data-diff=""]::after {
|
|||
margin-top: -0.25rem;
|
||||
}
|
||||
table td.dimension.hover {
|
||||
background-color: var(--color-shade-4);
|
||||
background-color: var(--color-shade-3);
|
||||
}
|
||||
table td.dimension.currentDimension::after {
|
||||
content: ">";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue