From 0c9cc29a51941eb572bf16fd5489d0947d47d033 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 25 Sep 2016 10:56:37 -0400 Subject: [PATCH] Added response active support to smoothly - Added "self" class to wall_thread.tpl to avoid conflict with the already existing "active" class - Added style --- view/theme/smoothly/style.css | 4 ++++ view/theme/smoothly/templates/wall_thread.tpl | 24 +++++++++---------- 2 files changed, 16 insertions(+), 12 deletions(-) diff --git a/view/theme/smoothly/style.css b/view/theme/smoothly/style.css index e38a7ef6dc..e91eccfe17 100644 --- a/view/theme/smoothly/style.css +++ b/view/theme/smoothly/style.css @@ -1586,6 +1586,10 @@ ul .sidebar-group-li .icon { margin-right: 10px; display: inline; } +.wall-item-like-buttons a.self { + background-color: rgba(52, 101, 164, .5); + border-radius: 6px; +} .wall-item-links-wrapper { width: 30px; diff --git a/view/theme/smoothly/templates/wall_thread.tpl b/view/theme/smoothly/templates/wall_thread.tpl index 743612054f..134052b9f5 100644 --- a/view/theme/smoothly/templates/wall_thread.tpl +++ b/view/theme/smoothly/templates/wall_thread.tpl @@ -1,7 +1,7 @@ {{if $item.comment_firstcollapsed}}
- {{$item.num_comments}} + {{$item.num_comments}} {{$item.hide_text}}
{{$item.wall}}
{{/if}} -
@@ -51,7 +51,7 @@
-
+

@@ -66,15 +66,15 @@
{{if $item.has_cats}} -
{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} - [{{$remove}}] +
{{$item.txt_cats}} {{foreach $item.categories as $cat}}{{$cat.name}} + [{{$remove}}] {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
{{/if}} {{if $item.has_folders}} -
{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} - [{{$remove}}] +
{{$item.txt_folders}} {{foreach $item.folders as $cat}}{{$cat.name}} + [{{$remove}}] {{if $cat.last}}{{else}}, {{/if}}{{/foreach}}
{{/if}} @@ -85,9 +85,9 @@ {{if $item.vote}} {{/if}} - + {{if $item.star}} {{/if}} @@ -111,7 +111,7 @@ {{if $item.filer}} {{/if}} - +
@@ -132,7 +132,7 @@
-
+
{{$item.like}}
{{$item.dislike}}