From 8951e9cd1663bed4ad24fe8b822663b933998516 Mon Sep 17 00:00:00 2001 From: Mayhem Date: Mon, 3 Feb 2014 14:16:36 +0100 Subject: [PATCH] Move the sticky/closed icons off of Saint Stallman's face. --- css/style.css | 16 +++++++++++----- html/General/Thread-catalog-view.html | 5 ++--- src/Menu/Menu.coffee | 4 ++-- 3 files changed, 15 insertions(+), 10 deletions(-) diff --git a/css/style.css b/css/style.css index 3b39ee622..4e6812574 100644 --- a/css/style.css +++ b/css/style.css @@ -441,15 +441,21 @@ a[href="javascript:;"] { height: 13px; padding: 20px 36px; } -.thread-icons { +.thread-icons > img { + width: 1em; + height: 1em; + margin: 0; + vertical-align: text-top; +} +.thumb:not(:hover) > .menu-button > i { + display: none; +} +.thumb > .menu-button { position: absolute; top: 1px; right: 1px; } -.thumb:not(:hover) .menu-button > i { - display: none; -} -.thread-icons > .menu-button > i { +.thumb > .menu-button > i { font-size: 14px; } .thread-stats { diff --git a/html/General/Thread-catalog-view.html b/html/General/Thread-catalog-view.html index f1d1d0cd9..44cf8d5e2 100644 --- a/html/General/Thread-catalog-view.html +++ b/html/General/Thread-catalog-view.html @@ -1,8 +1,7 @@ - -
-
+
#{postCount} / #{fileCount} / #{pageCount} +
#{subject}
#{comment}
diff --git a/src/Menu/Menu.coffee b/src/Menu/Menu.coffee index df428a1b2..c4f7debf3 100644 --- a/src/Menu/Menu.coffee +++ b/src/Menu/Menu.coffee @@ -27,7 +27,7 @@ Menu = innerHTML: '' href: 'javascript:;' $.on menuButton, 'click', Menu.toggle - $.add @nodes.icons, menuButton + $.add @nodes.thumb, menuButton makeButton: -> clone = Menu.frag.cloneNode true @@ -39,7 +39,7 @@ Menu = # Posts, inlined posts, hidden replies. post = Get.postFromNode @ catch - post = if fullID = @parentNode.parentNode.parentNode.dataset.fullID + post = if fullID = @parentNode.parentNode.dataset.fullID g.threads[fullID].OP else # Hidden threads.