From 71f00eaf5f4e2d76dd200e4965afa04dc1dead3f Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 3 Mar 2017 01:00:52 -0500 Subject: [PATCH 01/27] Turn action links into buttons - Turns into @@ -287,34 +287,23 @@ 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}} + {{/if}} - - {{if $item.vote.like AND $item.vote.dislike}} -  •  - {{/if}} - {{if $item.vote.dislike}} -  {{$item.vote.dislike.1}} + {{/if}} - {{if ($item.vote.like OR $item.vote.dislike) AND $item.comment}} -  •  - {{/if}} {{/if}} - {{* Butten to open the comment text field *}} + {{* Button to open the comment text field *}} {{if $item.comment}} -  {{$item.switchcomment}} + {{/if}} {{* Button for sharing the item *}} {{if $item.vote}} - {{if ($item.vote.like OR $item.vote.dislike OR $item.comment) AND $item.vote.share}} -  •  - {{/if}} {{if $item.vote.share}} -  {{$item.vote.share.1}} + + + {{/if}} From cb49bcdb04f819b6a0314941f4762c70b621a997 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Fri, 3 Mar 2017 01:19:49 -0500 Subject: [PATCH 02/27] Turn actions links into buttons (nav, search) - Mirrored the changes from wall_thread to search_item - Replaced a navbar link with a button with according CSS --- view/theme/frio/css/style.css | 5 +- view/theme/frio/templates/nav.tpl | 5 +- view/theme/frio/templates/search_item.tpl | 73 ++++++++++------------- 3 files changed, 35 insertions(+), 48 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 40e275ae0..4e189b11f 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -553,9 +553,8 @@ nav.navbar .nav>li>a:focus{ #topbar-first .dropdown-footer { margin: 10px 10px 5px } -#topbar-first a, -nav.navbar a { - /*color: #fff*/ +#topbar-first a, #topbar-first .btn-link, +nav.navbar a, nav.navbar .btn-link { color: $nav_icon_color; } #topbar-first .caret { diff --git a/view/theme/frio/templates/nav.tpl b/view/theme/frio/templates/nav.tpl index fc6640301..ef96249ea 100644 --- a/view/theme/frio/templates/nav.tpl +++ b/view/theme/frio/templates/nav.tpl @@ -119,7 +119,7 @@ {{* The user dropdown menu *}} {{if $nav.userinfo}}