From 5dba77539814930b7149d347d9da13042ef7d0b0 Mon Sep 17 00:00:00 2001 From: psychobunny Date: Sun, 22 Mar 2015 14:26:32 -0400 Subject: [PATCH] put moderator tools into a menu --- less/topic.less | 19 +++++++++----- templates/partials/topic/post.tpl | 42 ++++++++++++++++++++++--------- 2 files changed, 43 insertions(+), 18 deletions(-) diff --git a/less/topic.less b/less/topic.less index b9e8ba9..1726123 100644 --- a/less/topic.less +++ b/less/topic.less @@ -71,13 +71,18 @@ } .moderator-tools { - text-transform: lowercase; - :before { - content: "\2022\0020"; - } - + position: absolute; + right: 5px; + top: 0px; + font-size: 14px;; + a { - .pointer; + color: @gray-light; + outline: none; + + &.menuitem { + color: @gray-dark; + } } } @@ -115,6 +120,8 @@ padding: 0; > li { + position: relative; + &.deleted { -moz-opacity: 0.30; opacity: 0.30; diff --git a/templates/partials/topic/post.tpl b/templates/partials/topic/post.tpl index 0e26f87..dfd3ecf 100644 --- a/templates/partials/topic/post.tpl +++ b/templates/partials/topic/post.tpl @@ -17,20 +17,38 @@ [[global:posted_ago, ]] - | [[global:last_edited_by_ago, {posts.editor.username}, ]] + , [[global:last_edited_by_ago, {posts.editor.username}, ]] - - - [[topic:edit]] - [[topic:delete]] - [[topic:purge]] - - [[topic:move]] - - - - +