summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2019-12-01 09:22:20 +0100
committerYorhel <git@yorhel.nl>2019-12-01 13:40:59 +0100
commit165b62acc991cbf30cb721af27b04a066dbc9413 (patch)
tree34cbe7fef4a020fe121ddf1026dd6be13e9498a2 /data
parentb2ba46a9a0900d2b9d62a5ff84c4d4c9d9780abc (diff)
v2rw: Convert thread display + poll voting
I did not reimplement the 'poll_recast' and 'poll_preview' settings, these actions are now always permitted. Updated CSS a little bit to highlight the linked post and fix the double border at the bottom. The nice thing about the sql_visible_threads() function I wrote earlier is that is can also be used for access control on a single thread. More code re-use. \o/
Diffstat (limited to 'data')
-rw-r--r--data/style.css3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/style.css b/data/style.css
index 87cab868..c08c07f3 100644
--- a/data/style.css
+++ b/data/style.css
@@ -363,10 +363,11 @@ div.history td.tc4 b { margin-left: 10px }
/* threads page */
#maincontent div.thread { padding: 0; }
div.thread table { width: 100%; table-layout: fixed }
-div.thread td { border-bottom: 1px solid $border$; }
+div.thread tr:not(:last-child) td { border-bottom: 1px solid $border$; }
div.thread td.tc1 { width: 170px; padding: 5px 10px; border-right: 1px solid $border$; }
div.thread td.tc2 { padding: 10px 20px 10px 10px; }
div.thread tr.deleted td { padding: 1px 10px; }
+div.thread tr:target { outline: 1px dotted $standout$ }
div.thread i.deleted { font-style: normal; color: $grayedout$; }
div.thread i.lastmod { float: right; font-size: 11px; color: $grayedout$; margin: 0 -10px -5px 0; }
div.thread i.edit { float: right; color: $grayedout$; font-style: normal; margin: -10px -10px 0 0; }