diff --git a/public_html/media/css/post-small.css b/public_html/media/css/post-small.css index c6a2e55c..40bb9d7f 100644 --- a/public_html/media/css/post-small.css +++ b/public_html/media/css/post-small.css @@ -84,7 +84,6 @@ .post .info-bar { display: none; - height: 20px; border-top: 1px solid firebrick; background: rgba(255, 128, 128, 0.75); position: absolute; @@ -92,14 +91,17 @@ left: 1px; /* border */ right: 1px; /* border */ bottom: 1px; /* border */ + text-align: center; } .post .link:focus .info-bar, .post .link:hover .info-bar { display: block; } +.post .icon-score { + background-position: -85px -1px; +} .post .icon-comments { - margin-left: 3px; background-position: -64px -1px; } .post .icon-favs { @@ -120,3 +122,6 @@ margin-right: 0.5em; display: inline-block; } +.post .link span.inactive { + display: none; +} diff --git a/public_html/media/img/icons.png b/public_html/media/img/icons.png index 96d633fa..d59b2b15 100644 Binary files a/public_html/media/img/icons.png and b/public_html/media/img/icons.png differ diff --git a/src/Views/post-small.phtml b/src/Views/post-small.phtml index ae1e53a0..6152259b 100644 --- a/src/Views/post-small.phtml +++ b/src/Views/post-small.phtml @@ -14,9 +14,27 @@ @<?php echo $this->context->post->id ?> -
- context->post->countOwn('comment') ?> - context->post->countOwn('favoritee') ?> -
+ $this->context->post->score, + 'comments' => $this->context->post->countOwn('comment'), + 'favs' => $this->context->post->countOwn('favoritee'), + ]; + ?> + +
+ $val): ?> + + + + + + +   + + +
+