From: Hypolite Petovan Date: Sat, 24 Sep 2016 16:05:14 +0000 (-0400) Subject: [frio] Add active class to responses current user holds X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=bdc7d1b87a2b691781f3a4ad8477965018f59726;p=friendica.git [frio] Add active class to responses current user holds - Add active class when the self attribute is found - Add CSS styling to active response links --- diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 42946b6e13..58af8ffca8 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -1504,9 +1504,15 @@ code > .hl-main { margin-top: 15px; margin-bottom: 0; } +.wall-item-actions a.active { + font-weight: bold; +} .wall-item-actions a:hover { color: #555; } +.wall-item-actions a.active:hover { + color: $link_color; +} .wall-item-actions-left { display: table-cell; vertical-align: middle; diff --git a/view/theme/frio/templates/wall_thread.tpl b/view/theme/frio/templates/wall_thread.tpl index 25ad41bc3f..f58d4425f5 100644 --- a/view/theme/frio/templates/wall_thread.tpl +++ b/view/theme/frio/templates/wall_thread.tpl @@ -287,7 +287,7 @@ as the value of $top_child_total (this is done at the end of this file) {{* Buttons for like and dislike *}} {{if $item.vote}} {{if $item.vote.like}} -  {{$item.vote.like.1}} +  {{$item.vote.like.1}} {{/if}} {{if $item.vote.like AND $item.vote.dislike}} @@ -295,7 +295,7 @@ as the value of $top_child_total (this is done at the end of this file) {{/if}} {{if $item.vote.dislike}} -  {{$item.vote.dislike.1}} +  {{$item.vote.dislike.1}} {{/if}} {{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}} @@ -314,7 +314,7 @@ as the value of $top_child_total (this is done at the end of this file)  â€¢  {{/if}} {{if $item.vote.share}} -  {{$item.vote.share.0}} +  {{$item.vote.share.1}} {{/if}} {{/if}} @@ -323,9 +323,9 @@ as the value of $top_child_total (this is done at the end of this file) {{* Event attendance buttons *}} {{if $item.isevent}}
- {{$item.attend.0}} - {{$item.attend.1}} - {{$item.attend.2}} + {{$item.attend.0}} + {{$item.attend.1}} + {{$item.attend.2}}
{{/if}}