From 3321e36dd5bd8a530bfb2094f8e35040bf8dcf00 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 82a89f93d..82b5f165e 100644 --- a/view/theme/frost/style.css +++ b/view/theme/frost/style.css @@ -1385,6 +1385,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; @@ -3886,7 +3897,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 ef18d479c..498bab323 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}}