summaryrefslogtreecommitdiffstats
path: root/assets
diff options
context:
space:
mode:
Diffstat (limited to 'assets')
-rw-r--r--assets/css/default.css70
-rw-r--r--assets/css/search.css10
2 files changed, 75 insertions, 5 deletions
diff --git a/assets/css/default.css b/assets/css/default.css
index 2cedcf0c..01d4b736 100644
--- a/assets/css/default.css
+++ b/assets/css/default.css
@@ -550,6 +550,10 @@ span > select {
color: #565d64;
}
+.light-theme .error-card {
+ border: 1px solid black;
+}
+
@media (prefers-color-scheme: light) {
.no-theme a:hover,
.no-theme a:active,
@@ -596,6 +600,10 @@ span > select {
.light-theme .pure-menu-heading {
color: #565d64;
}
+
+ .no-theme .error-card {
+ border: 1px solid black;
+ }
}
@@ -658,6 +666,10 @@ body.dark-theme {
color: inherit;
}
+.dark-theme .error-card {
+ border: 1px solid #5e5e5e;
+}
+
@media (prefers-color-scheme: dark) {
.no-theme a:hover,
.no-theme a:active,
@@ -719,6 +731,10 @@ body.dark-theme {
.no-theme footer a {
color: #adadad !important;
}
+
+ .no-theme .error-card {
+ border: 1px solid #5e5e5e;
+ }
}
@@ -816,3 +832,57 @@ h1, h2, h3, h4, h5, p,
#download_widget {
width: 100%;
}
+
+.error-card {
+ display: flex;
+ flex-direction: column;
+ align-items: center;
+ padding: 25px;
+ margin-bottom: 1em;
+ border-radius: 10px;
+ box-sizing: border-box;
+ height: 100%;
+}
+
+.error-card > .explanation {
+ display: grid;
+ grid-template-columns: max-content 1fr;
+ grid-template-rows: 1fr max-content;
+ align-items: center;
+ column-gap: 10px;
+ row-gap: 4px;
+}
+
+.error-card > .explanation > i {
+ color: #f44;
+ font-size: 24px;
+ grid-area: 1 / 1 / 2 / 2;
+}
+
+.error-card > .explanation > h4 {
+ grid-area: 1 / 2 / 2 / 3;
+ margin: 0;
+}
+
+.error-card > .explanation > p {
+ grid-area: 2 / 2 / 3 / 3;
+ margin: 0;
+}
+
+.error-card details {
+ margin-top: 10px;
+ width: 100%;
+}
+
+.error-card summary {
+ width: 100%;
+}
+
+.error-card pre {
+ height: 300px;
+}
+
+.error-issue-template {
+ padding: 20px;
+ background: rgba(0, 0, 0, 0.12345);
+} \ No newline at end of file
diff --git a/assets/css/search.css b/assets/css/search.css
index 7036fd28..833ec7e9 100644
--- a/assets/css/search.css
+++ b/assets/css/search.css
@@ -1,4 +1,4 @@
-summary {
+#filters-collapse summary {
/* This should hide the marker */
display: block;
@@ -8,10 +8,10 @@ summary {
cursor: pointer;
}
-summary::-webkit-details-marker,
-summary::marker { display: none; }
+#filters-collapse summary::-webkit-details-marker,
+#filters-collapse summary::marker { display: none; }
-summary:before {
+#filters-collapse summary:before {
border-radius: 5px;
content: "[ + ]";
margin: -2px 10px 0 10px;
@@ -20,7 +20,7 @@ summary:before {
width: 40px;
}
-details[open] > summary:before { content: "[ − ]"; }
+#filters-collapse details[open] > summary:before { content: "[ − ]"; }
#filters-box {