summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tissue/web/server.scm26
1 files changed, 26 insertions, 0 deletions
diff --git a/tissue/web/server.scm b/tissue/web/server.scm
index 64397a6..fb6dd9f 100644
--- a/tissue/web/server.scm
+++ b/tissue/web/server.scm
@@ -55,6 +55,32 @@ form {
font-size: larger;
}
+.search-result-title, .search-result-title:before {
+ vertical-align: middle;
+}
+
+.search-result-document .search-result-title:before, .search-result-issue .search-result-metadata:before {
+ font-size: xx-small;
+ font-weight: bold;
+ margin: 0 0.2em;
+ padding: 0 0.4em;
+ background-color: darkmagenta;
+ color: white;
+}
+
+.search-result-document .search-result-title:before {
+ content: \"DOC\";
+}
+
+.search-result-open-issue .search-result-metadata:before {
+ content: \"ISSUE\";
+ background-color: green;
+}
+
+.search-result-closed-issue .search-result-metadata:before {
+ content: \"✓ ISSUE\";
+}
+
.search-result-metadata {
color: dimgray;
font-size: smaller;