From 1227d071d11daf8a7b5a36a41e19334be4ff6878 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Thu, 24 Apr 2014 13:27:08 +0200 Subject: [PATCH] The preview button is now a button. This is more consistent --- view/templates/jot.tpl | 3 ++- view/theme/vier/style.css | 8 ++++---- view/theme/vier/templates/comment_item.tpl | 3 ++- 3 files changed, 8 insertions(+), 6 deletions(-) diff --git a/view/templates/jot.tpl b/view/templates/jot.tpl index efa00ce20c..b1c121e352 100644 --- a/view/templates/jot.tpl +++ b/view/templates/jot.tpl @@ -59,7 +59,8 @@ {{$bang}} - {{if $preview}}{{$preview}}{{/if}} + + {{if $preview}}{{/if}}
diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 6a048aa0f1..57eb6725bf 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -1927,12 +1927,12 @@ ul.tabs a { margin-bottom: 10px; } -div.pager, .birthday-notice, #jot-preview-link, .comment-edit-submit-wrapper .fakelink { +div.pager, .birthday-notice, .comment-edit-submit-wrapper .fakelink { padding: 2px 7px 2px 7px; color: black; } -div.pager, .birthday-notice, ul.tabs a, #jot-preview-link, .comment-edit-submit-wrapper .fakelink { +div.pager, .birthday-notice, ul.tabs a, .comment-edit-submit-wrapper .fakelink { border: 1px solid lightgray; background: #F2F2F2; margin-top: 2px; @@ -1943,11 +1943,11 @@ ul.tabs a:hover { color: #333; } -#event-notice:hover, #birthday-notice:hover, ul.tabs li .active, #jot-preview-link:hover, .comment-edit-submit-wrapper .fakelink:hover { +#event-notice:hover, #birthday-notice:hover, ul.tabs li .active, .comment-edit-submit-wrapper .fakelink:hover { color: black; } -ul.tabs a:hover, #event-notice:hover, #birthday-notice:hover, ul.tabs li .active, #jot-preview-link:hover, .comment-edit-submit-wrapper .fakelink:hover { +ul.tabs a:hover, #event-notice:hover, #birthday-notice:hover, ul.tabs li .active, .comment-edit-submit-wrapper .fakelink:hover { background-color: #e5e5e5; text-decoration: none; border: 1px solid darkgray; diff --git a/view/theme/vier/templates/comment_item.tpl b/view/theme/vier/templates/comment_item.tpl index 557996ba92..7cbc02e060 100644 --- a/view/theme/vier/templates/comment_item.tpl +++ b/view/theme/vier/templates/comment_item.tpl @@ -46,7 +46,8 @@ - {{if $preview}}{{$preview}}{{/if}} + {{if $preview}}{{/if}} + -- 2.39.5