summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-07-23 09:16:10 +0200
committerYorhel <git@yorhel.nl>2020-07-23 09:16:13 +0200
commite4cb4db6e3bd22dbb9f14d632b595c217e67df6d (patch)
treefc01481a4ea867c8e29c1591bc55767553b65a51
parent3d6fe3c69b08a4ad9da496e5fa5e080d90497899 (diff)
CSS: Only display post edit button on hover
Removes some clutter.
-rw-r--r--data/style.css4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/style.css b/data/style.css
index dedeeedf..6415d516 100644
--- a/data/style.css
+++ b/data/style.css
@@ -396,7 +396,9 @@ 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; }
+div.thread i.edit { float: right; color: $grayedout$; font-style: normal; margin: -10px -10px 0 0; visibility: hidden }
+div.thread td:hover i.edit,
+div.thread td:active i.edit { visibility: visible }
/* threads browser */
div.mainbox.discussions td.tc4 { text-align: right; }