summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArun Isaac2022-06-30 10:16:12 +0530
committerArun Isaac2022-06-30 10:16:12 +0530
commit5a73c1d4d7611195b024e10cc2e8b50f6fa460d7 (patch)
tree01cf285708dcfcd5756487a23ee2e1b144c0b657
parentb6cd08dbe9c4cc3c0cc645a5c1510a9c40fb5429 (diff)
downloadtissue-5a73c1d4d7611195b024e10cc2e8b50f6fa460d7.tar.gz
tissue-5a73c1d4d7611195b024e10cc2e8b50f6fa460d7.tar.lz
tissue-5a73c1d4d7611195b024e10cc2e8b50f6fa460d7.zip
web: server: Make CSS representationally more concise.
* tissue/web/server.scm (%css): Make CSS representationally more concise by removing blank lines and squeezing one-rule blocks into a single line.
-rw-r--r--tissue/web/server.scm51
1 files changed, 9 insertions, 42 deletions
diff --git a/tissue/web/server.scm b/tissue/web/server.scm
index 1415f09..41ff4ce 100644
--- a/tissue/web/server.scm
+++ b/tissue/web/server.scm
@@ -45,14 +45,8 @@ body {
margin: 0 auto;
}
-form {
- text-align: center;
-}
-
-.search-hint {
- line-height: 2em;
-}
-
+form { text-align: center; }
+.search-hint { line-height: 2em; }
.search-filter {
background-color: gray;
color: white;
@@ -60,24 +54,16 @@ form {
padding: 0 0.2em;
}
-.search-results {
- padding: 0;
-}
-
+.search-results { padding: 0; }
.search-result {
list-style-type: none;
padding: 0.5em;
}
-
.search-result a {
text-decoration: none;
font-size: larger;
}
-
-.search-result-title, .search-result-title:before {
- vertical-align: middle;
-}
-
+.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;
@@ -86,28 +72,17 @@ form {
background-color: darkmagenta;
color: white;
}
-
-.search-result-document .search-result-title:before {
- content: \"DOC\";
-}
-
+.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-closed-issue .search-result-metadata:before { content: \"✓ ISSUE\"; }
.search-result-metadata {
color: dimgray;
font-size: smaller;
}
-
-.search-result-snippet {
- font-size: smaller;
-}
+.search-result-snippet { font-size: smaller; }
a.tag {
padding: 0.25em 0.4em;
@@ -117,20 +92,12 @@ a.tag {
margin: auto 0.25em;
font-size: smaller;
}
-
-a.tag-bug {
- background-color: red;
-}
-
-a.tag-feature {
- background-color: green;
-}
-
+a.tag-bug { background-color: red; }
+a.tag-feature { background-color: green; }
a.tag-progress, a.tag-unassigned {
background-color: orange;
color: black;
}
-
a.tag-chore {
background-color: khaki;
color: black;