From fac144e3d46cd54a0e692f46f432ab9bca1a6c08 Mon Sep 17 00:00:00 2001 From: Hypolite Petovan Date: Sun, 25 Sep 2016 10:07:32 -0400 Subject: [PATCH] Add active response support to frost theme - Add active classes to wall_thread.tpl - Add styles - Fix event icon not appearing at full opacity on hover --- view/theme/frost/style.css | 13 +++++++++++- view/theme/frost/templates/wall_thread.tpl | 24 +++++++++++----------- 2 files changed, 24 insertions(+), 13 deletions(-) diff --git a/view/theme/frost/style.css b/view/theme/frost/style.css index 0912311dad..46eb650ec1 100644 --- a/view/theme/frost/style.css +++ b/view/theme/frost/style.css @@ -1391,6 +1391,17 @@ input#dfrn-url { cursor: pointer; } +.wall-item-tools a { + border-radius: 4px; + padding: 2px; + background-position: center; + background-size: initial !important; +} + +.wall-item-tools a.active { + background-color: rgba(59, 101, 164, 0.5); +} + .wall-item-share-buttons { margin-left: 10px; margin-right: 10px; @@ -3896,7 +3907,7 @@ aside input[type='text'] { .event-maybeattend-icon { background-image: url('images/event-maybeattend-16.png'); } .event-dontattend-icon { background-image: url('images/event-dontattend-16.png'); } -.filer-icon:hover { +.event-icon:hover { opacity: 1.0; } diff --git a/view/theme/frost/templates/wall_thread.tpl b/view/theme/frost/templates/wall_thread.tpl index ef18d479c6..498bab323f 100644 --- a/view/theme/frost/templates/wall_thread.tpl +++ b/view/theme/frost/templates/wall_thread.tpl @@ -18,7 +18,7 @@
{{$item.wall}}
{{/if}} -
@@ -35,7 +35,7 @@ {{**}}
{{if $item.lock}}{{**}}{{$item.lock}}{{**}} - {{else}}
{{/if}} + {{else}}
{{/if}}
{{$item.location}}
@@ -66,9 +66,9 @@
{{if $item.vote}} -
+ {{**}} {{if $item.responses}} {{foreach $item.responses as $verb=>$response}}