From e557c1927edaf3271ee5d2dc763fa96cef0b2dee Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gabriel=20P=C3=A9rez-Cerezo?= Date: Tue, 17 Jul 2018 18:59:27 +0200 Subject: =?UTF-8?q?=C3=A6sthetic=20improvements?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- export/styles.css | 73 +++++++++++++++++++++++++++++++++++++++----------- templates/buglist.html | 4 ++- 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 }} {{ i.nicereply }} - {% if i.closed %} + + closed {% else %} + open {% endif %} -- cgit v1.2.3