Merge pull request 'some fixes' (#17) from NightFox/HLRTest:master into master
Reviewed-on: #17
This commit is contained in:
commit
3d86ab2697
@ -358,6 +358,10 @@ body.mini { /* split feature */
|
|||||||
padding-bottom: 2px;
|
padding-bottom: 2px;
|
||||||
/*padding-bottom: calc(50% - var(--height-image) );*/
|
/*padding-bottom: calc(50% - var(--height-image) );*/
|
||||||
}
|
}
|
||||||
|
#fail_images.vpadding .meta-block:last-child {
|
||||||
|
padding-top: calc(var(--height-image));
|
||||||
|
padding-bottom: calc(var(--height-image));
|
||||||
|
}
|
||||||
#fail_images.vpadding .meta-block h3, .meta-block:first-child h3 {
|
#fail_images.vpadding .meta-block h3, .meta-block:first-child h3 {
|
||||||
border-top: none;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
@ -245,7 +245,10 @@ function buildData(table, images, data, sort, filter, exact_match) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
for (let tr of document.querySelectorAll("table tr")) {
|
for (let tr of document.querySelectorAll("table tr")) {
|
||||||
tr.addEventListener("click", function() {
|
tr.addEventListener("click", function(event) {
|
||||||
|
this.parentElement.querySelector("tr.active")?.classList.toggle("active");
|
||||||
|
event.stopPropagation();
|
||||||
|
this.classList.toggle("active");
|
||||||
this.querySelector("a").click();
|
this.querySelector("a").click();
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
@ -21,10 +21,11 @@ table {
|
|||||||
border: #e100ca 1px solid;
|
border: #e100ca 1px solid;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
table tr:hover {
|
table tr:hover,
|
||||||
background: oklch(76.47% 0.279 334.17);
|
table tr.active {
|
||||||
background: #512649;
|
background: #512649;
|
||||||
}
|
}
|
||||||
|
|
||||||
th {
|
th {
|
||||||
/*background: oklch(62.5% 0.291 308.12);*/
|
/*background: oklch(62.5% 0.291 308.12);*/
|
||||||
background: linear-gradient(0deg,#b540ff,cornflowerblue);
|
background: linear-gradient(0deg,#b540ff,cornflowerblue);
|
||||||
|
@ -16,18 +16,25 @@ body {
|
|||||||
}
|
}
|
||||||
|
|
||||||
table {
|
table {
|
||||||
color: #eb4300;
|
color: #6e1f00;
|
||||||
border: #ffa6f6 1px solid;
|
border: #ffa6f6 1px solid;
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
}
|
}
|
||||||
|
table tr:hover,
|
||||||
|
table tr.active {
|
||||||
|
background: #ffc3c3;
|
||||||
|
}
|
||||||
th {
|
th {
|
||||||
background: oklch(62.5% 0.291 308.12);
|
background: oklch(62.5% 0.291 308.12);
|
||||||
background: linear-gradient(0deg,#d99dff,#c4d7f9);
|
background: linear-gradient(0deg,#d99dff,#c4d7f9);
|
||||||
/* box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.5);*/
|
/* box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.5);*/
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
a, a:visited {
|
a, a:visited {
|
||||||
color: #e100ca;
|
color: #9c008b;
|
||||||
color: oklch(62.5% 0.291 334.06);
|
color: oklch(0.47 0.22 334.15);
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
Loading…
Reference in New Issue
Block a user