summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-07-17 18:59:27 +0200
committerGabriel Pérez-Cerezo <gabriel@gpcf.eu>2018-07-17 18:59:27 +0200
commite557c1927edaf3271ee5d2dc763fa96cef0b2dee (patch)
tree2023f9bd2a2650554d690ff3d88ef3e1d3c38d71
parentb94a6df756f80890ca0c04d9c08e05eb7b87870c (diff)
downloadhemiptera-e557c1927edaf3271ee5d2dc763fa96cef0b2dee.tar.gz
hemiptera-e557c1927edaf3271ee5d2dc763fa96cef0b2dee.tar.bz2
hemiptera-e557c1927edaf3271ee5d2dc763fa96cef0b2dee.zip
æsthetic improvements
-rw-r--r--export/styles.css73
-rw-r--r--templates/buglist.html4
2 files changed, 60 insertions, 17 deletions
diff --git a/export/styles.css b/export/styles.css
index 691d870..2aab9ec 100644
--- a/export/styles.css
+++ b/export/styles.css
@@ -5,7 +5,7 @@
margin-bottom:-1px;
padding: 1em;
/* border-radius: 0.5em;*/
- background-color: #eee;
+
max-width: 40em;
padding-bottom: 0;
}
@@ -14,10 +14,11 @@ header {
border: 1px solid #aaa;
padding: 1em;
padding-top: 0.1em;
- background-color: #eee;
+ background-color: #fff;
margin: 1em;
margin-bottom: 1em;
max-width: 40em;
+ border-radius: 3px;
}
.avatar {
@@ -36,16 +37,9 @@ body {
margin: 0;
}
-.container:first-of-type {
- border-radius: 0.5em 0.5em 0 0 ;
-}
-
-.container:last-of-type {
- border-radius: 0 0 0.5em 0.5em;
-}
table tr:nth-child(odd) {
- background: #eed;
+ background: #eee;
}
.date, thead td {
@@ -58,8 +52,13 @@ table tr:nth-child(odd) {
}
thead td {
- padding: 0.5em;
+ background-color: #aaa;
+ font-weight: bold;
+ padding-top: 0;
+ padding-bottom: 0;
+ height: 1.9em;
}
+
td {
padding: 0.3em;
overflow: ellipsis;
@@ -68,6 +67,14 @@ td {
tr.closed {
background: #dee;
font-style: italic;
+ color: #555;
+}
+
+td.closed {
+ color: #f00;
+}
+td.open {
+ color: #0a0;
}
tr.closed td.id {
@@ -107,9 +114,7 @@ img {
background-color: #ede;
}
-.container:first-of-type .date {
- border-radius: 0.5em 0.5em 0 0;
-}
+
.reply {
font-family: monospace;
@@ -120,7 +125,7 @@ img {
counter-increment: line;
margin: 0.2em;
margin-left: 3em;
- background-color: #ddd;
+ background-color: #eee;
}
.reply p::before {
content: "" counter(line) "";
@@ -134,7 +139,9 @@ img {
}
table {
- margin: 1em
+ margin: 1em;
+ border-radius: 3px;
+
}
@@ -174,6 +181,36 @@ h5.form {
margin-bottom: 1em;
}
+h1 {
+ font-size: 2em;
+ margin: -0.5em;
+ padding: 0.5em;
+ margin-top: -0.1em;
+ background-color: #aaa;
+ margin-bottom: 1em;
+ border-radius: 3px 3px 0 0;
+
+}
+
+a {
+ color:blue;
+ text-decoration: none;
+}
+a:visited {
+ color: purple;
+}
+
+h1 a, h1 a:visited, h1 a:hover {
+ color: black;
+ text-decoration: none;
+}
+
+
+
+a:hover{
+ text-decoration: underline !important;
+}
+
.floatbarrier {
clear:both;
}
@@ -181,7 +218,11 @@ h5.form {
.devavatars {
border: 1px solid #aaa;
padding: 0.5em;
+ border-radius: 3px;
+ background-color: #eee;
+ margin-top: 0.5em;
}
.devavatars img {
margin-bottom: 0.5em;
+ margin-top: 0.5em;
}
diff --git a/templates/buglist.html b/templates/buglist.html
index 2183366..2664e00 100644
--- a/templates/buglist.html
+++ b/templates/buglist.html
@@ -50,10 +50,12 @@
{{ i.nicecreated }}
<td title="{{ i.last_reply|e }}">
{{ i.nicereply }}
- <td>
{% if i.closed %}
+ <td class="closed">
+
closed
{% else %}
+ <td class="open">
open
{% endif %}
</tr>