commit d9297619f969c3e5813eca5119ee2f7741ec2ade
parent 76653168e67c9855a0924edf892a42cc5933440e
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date: Mon, 10 Jun 2024 22:18:45 +0200
feat: re-format exports table
Diffstat:
1 file changed, 22 insertions(+), 3 deletions(-)
diff --git a/assets/style.css b/assets/style.css
@@ -213,6 +213,7 @@ span[id*="-12"].activitypoint:after {
table#index,
table#log,
table#branches,
+table#exports,
table#files
{
width:100%
@@ -222,6 +223,7 @@ table#files
#index > thead > tr > td,
#log > thead > tr > td,
#branches > thead > tr > td,
+#exports > thead > tr > td,
#files > thead > tr > td
{
display: none;
@@ -231,6 +233,7 @@ table#files
#index > tbody > tr > td,
#log > tbody > tr > td,
#branches > tbody > tr > td,
+#exports > tbody > tr > td,
#files > tbody > tr > td
{
display:inline-block;
@@ -242,7 +245,8 @@ table#files
/* Ensure table rows are full with with normal background */
#index > tbody > tr,
#log > tbody > tr,
-#branches > tbody > tr
+#branches > tbody > tr,
+#exports > tbody > tr,
#files > tbody > tr
{
width: 100%;
@@ -251,6 +255,7 @@ table#files
#index > tbody > tr:hover,
#log > tbody > tr:hover,
#branches > tbody > tr:hover,
+#exports > tbody > tr:hover,
#files > tbody > tr:hover
{
background: var(--bg2);
@@ -261,10 +266,16 @@ table#files
display: none;
}
+/* Hide first row in exports view */
+#exports > tbody > tr:nth-child(1) {
+ display: none;
+}
+
/* Mark first entrie of each table row as headline */
#index > tbody > tr > td:nth-child(1),
#log > tbody > tr > td:nth-child(1),
#branches > tbody > tr > td:nth-child(1),
+#exports > tbody > tr > td:nth-child(1),
#files > tbody > tr > td:nth-child(2)
{
border-top: 1px solid var(--fg2);
@@ -277,6 +288,8 @@ table#files
#index > tbody > tr > td:nth-child(4),
#log > tbody > tr > td:nth-child(3),
#branches > tbody > tr > td:nth-child(3),
+#exports > tbody > tr > td:nth-child(2),
+#exports > tbody > tr > td:nth-child(3),
#files > tbody > tr > td:nth-child(3)
{
font-size: 0.8em;
@@ -299,7 +312,9 @@ table#files
}
/* Add descriptors to file change indicators */
-#log > tbody > tr > td:nth-child(4):before {
+#log > tbody > tr > td:nth-child(4):before,
+#exports > tbody > tr > td:nth-child(2):before
+{
content: "Modified: ";
}
#log > tbody > tr > td:nth-child(5):before {
@@ -310,11 +325,15 @@ table#files
}
/* Add descriptor for file size indicator */
-#files > tbody > tr > td:nth-child(3):before {
+#files > tbody > tr > td:nth-child(3):before,
+#exports > tbody > tr > td:nth-child(3):before
+{
content: "Size: ";
}
/* File change indicators should be in a single row */
+#exports > tbody > tr > td:nth-child(2),
+#exports > tbody > tr > td:nth-child(3),
#log > tbody > tr > td:nth-child(4),
#log > tbody > tr > td:nth-child(5),
#log > tbody > tr > td:nth-child(6) {