summaryrefslogtreecommitdiff
path: root/src/web/_views/template/post.php
diff options
context:
space:
mode:
Diffstat (limited to 'src/web/_views/template/post.php')
-rw-r--r--src/web/_views/template/post.php14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/web/_views/template/post.php b/src/web/_views/template/post.php
index b8ea69a..48f8bb6 100644
--- a/src/web/_views/template/post.php
+++ b/src/web/_views/template/post.php
@@ -5,7 +5,7 @@
<?=pfp($user)?>
<div class="col ml">
<strong><?=$user['first_name'] . ' ' . $user['last_name']?></strong>
- <span class="dim"><?=$this->main->date($post['created'])?></span>
+ <span class="subtext"><?=$this->main->date($post['created'])?></span>
</div>
</div>
<p>
@@ -13,7 +13,7 @@
</p>
<?php
$self = $this->main->user();
- $liked = $post['like_id'] ? 'btn-blue' : '';
+ $liked = $post['like_id'] ? 'btn-primary' : '';
$post_attrs = array(
'postId' => $post['id']
);
@@ -21,15 +21,15 @@
$post_attrs['likeId'] = $post['like_id'];
}
?>
- <span class="likes dim"><span class="count"><?=$post['like_count']?></span><?=' ' . ucfirst(lang('likes'))?></span>
+ <span class="likes subtext"><span class="count"><?=$post['like_count']?></span><?=' ' . ucfirst(lang('likes'))?></span>
<?php if ($self): ?>
<hr>
<div class="row">
<?=ilang('action_like',
- class: 'btn btn-wide action-like ' . $liked,
+ class: 'btn grow action-like ' . $liked,
attrs: $post_attrs
)?>
- <?=ilang('action_comment', class: 'btn btn-wide action-comment',
+ <?=ilang('action_comment', class: 'btn grow action-comment',
click: '$(\'#action-new-comment-' . $post['id'] . '\').focus()'
)?>
</div>
@@ -47,7 +47,7 @@
if ($loaded >= $page_size && $page_size < $total) {
ilang('action_load_comments',
- class: 'action-load-comments btn btn-line mt',
+ class: 'action-load-comments btn btn-blend mt',
attrs: array(
'postId' => $post['id'],
'loaded' => $loaded,
@@ -71,7 +71,7 @@
>
<input
id="action-new-comment-<?=$post['id']?>"
- class="action-new-comment btn btn-wide btn-alt"
+ class="action-new-comment btn grow btn-alt"
postId="<?=$post['id']?>"
autocomplete="off"
type="text"