From: Fabrixxm Date: Mon, 28 Apr 2014 13:31:48 +0000 (-0400) Subject: quattro: fix photo comments, small fix to search_item template X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=42a9d0af0924358f9d1b0914b4b57ef3508fca81;p=friendica.git quattro: fix photo comments, small fix to search_item template --- diff --git a/view/theme/quattro/dark/style.css b/view/theme/quattro/dark/style.css index 22d3f13b0b..8436b56d51 100644 --- a/view/theme/quattro/dark/style.css +++ b/view/theme/quattro/dark/style.css @@ -486,6 +486,7 @@ header { margin: 0px; padding: 0px; /*width: 100%; height: 12px; */ + z-index: 110; color: #ffffff; } @@ -815,6 +816,7 @@ aside #profiles-menu { overflow: auto; height: auto; /*.contact-block-div { width:60px; height: 60px; }*/ + } #contact-block .contact-block-h4 { float: left; @@ -896,6 +898,7 @@ aside #profiles-menu { margin-bottom: 2em; /*.action .s10 { width: 10px; overflow: hidden; padding: 0px;} .action .s16 { width: 16px; overflow: hidden; padding: 0px;}*/ + } .widget h3 { padding: 0px; @@ -1160,6 +1163,9 @@ section { color: #2d2d2d; border: 1px solid #2d2d2d; } +.wall-item-comment-wrapper.photo { + margin: 1em 2em 1em 0px; +} .threaded .wall-item-comment-wrapper { margin-left: 0px; } @@ -1174,6 +1180,7 @@ section { height: 32px; margin-left: 16px; /*background: url(../../../images/icons/22/user.png) no-repeat center center;*/ + } .comment-edit-preview .contact-photo-menu-button { top: 15px !important; diff --git a/view/theme/quattro/green/style.css b/view/theme/quattro/green/style.css index 24ce51c65b..19c5170066 100644 --- a/view/theme/quattro/green/style.css +++ b/view/theme/quattro/green/style.css @@ -486,6 +486,7 @@ header { margin: 0px; padding: 0px; /*width: 100%; height: 12px; */ + z-index: 110; color: #ffffff; } @@ -815,6 +816,7 @@ aside #profiles-menu { overflow: auto; height: auto; /*.contact-block-div { width:60px; height: 60px; }*/ + } #contact-block .contact-block-h4 { float: left; @@ -896,6 +898,7 @@ aside #profiles-menu { margin-bottom: 2em; /*.action .s10 { width: 10px; overflow: hidden; padding: 0px;} .action .s16 { width: 16px; overflow: hidden; padding: 0px;}*/ + } .widget h3 { padding: 0px; @@ -1160,6 +1163,9 @@ section { color: #2d2d2d; border: 1px solid #2d2d2d; } +.wall-item-comment-wrapper.photo { + margin: 1em 2em 1em 0px; +} .threaded .wall-item-comment-wrapper { margin-left: 0px; } @@ -1174,6 +1180,7 @@ section { height: 32px; margin-left: 16px; /*background: url(../../../images/icons/22/user.png) no-repeat center center;*/ + } .comment-edit-preview .contact-photo-menu-button { top: 15px !important; diff --git a/view/theme/quattro/lilac/style.css b/view/theme/quattro/lilac/style.css index 7c002b112e..9b191dab97 100644 --- a/view/theme/quattro/lilac/style.css +++ b/view/theme/quattro/lilac/style.css @@ -486,6 +486,7 @@ header { margin: 0px; padding: 0px; /*width: 100%; height: 12px; */ + z-index: 110; color: #ffffff; } @@ -815,6 +816,7 @@ aside #profiles-menu { overflow: auto; height: auto; /*.contact-block-div { width:60px; height: 60px; }*/ + } #contact-block .contact-block-h4 { float: left; @@ -896,6 +898,7 @@ aside #profiles-menu { margin-bottom: 2em; /*.action .s10 { width: 10px; overflow: hidden; padding: 0px;} .action .s16 { width: 16px; overflow: hidden; padding: 0px;}*/ + } .widget h3 { padding: 0px; @@ -1160,6 +1163,9 @@ section { color: #2d2d2d; border: 1px solid #2d2d2d; } +.wall-item-comment-wrapper.photo { + margin: 1em 2em 1em 0px; +} .threaded .wall-item-comment-wrapper { margin-left: 0px; } @@ -1174,6 +1180,7 @@ section { height: 32px; margin-left: 16px; /*background: url(../../../images/icons/22/user.png) no-repeat center center;*/ + } .comment-edit-preview .contact-photo-menu-button { top: 15px !important; diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less index 96019e0927..60f70d421a 100644 --- a/view/theme/quattro/quattro.less +++ b/view/theme/quattro/quattro.less @@ -586,6 +586,10 @@ section { color: @CommentBoxFullColor; border: 1px solid @CommentBoxFullBorderColor; } + + &.photo { + margin: 1em 2em 1em 0px; + } } .threaded .wall-item-comment-wrapper { margin-left: 0px; } diff --git a/view/theme/quattro/templates/photo_item.tpl b/view/theme/quattro/templates/photo_item.tpl new file mode 100644 index 0000000000..12c43eb0b2 --- /dev/null +++ b/view/theme/quattro/templates/photo_item.tpl @@ -0,0 +1,79 @@ +
+
+
+
+ + {{$name}} + +
+
{{$location}}
+
+
+ {{if $title}}

{{$title}}

{{/if}} + {{$body}} +
+
+
+ +
+ {{foreach $tags as $tag}} + {{$tag}} + {{/foreach}} +
+
+
+
+ {{if $plink}}{{$plink.title}}{{/if}} +
+
+
+ {{$name}} {{$ago}} +
+ +
+ {{if $star}} + {{$star.do}} + {{$star.undo}} + {{$star.tagger}} + {{/if}} + + {{if $vote}} + {{$vote.like.1}} + {{$vote.dislike.1}} + {{/if}} + + {{if $vote.share}} + {{$vote.share.1}} + {{/if}} +
+ +
+ + {{if $drop.pagedrop}} + + {{/if}} + {{if $drop.dropping}} + {{$drop.delete}} + {{/if}} + {{if $edpost}} + + {{/if}} +
+ +
+
+
+ + +
{{$dislike}}
+ {{if $conv}} + + {{/if}} +
+ + +
+ diff --git a/view/theme/quattro/templates/photo_view.tpl b/view/theme/quattro/templates/photo_view.tpl index 8456a2747a..463969e78e 100644 --- a/view/theme/quattro/templates/photo_view.tpl +++ b/view/theme/quattro/templates/photo_view.tpl @@ -29,7 +29,8 @@ {{$dislike}} {{/if}} -
+ +
{{$comments}}
diff --git a/view/theme/quattro/templates/search_item.tpl b/view/theme/quattro/templates/search_item.tpl index 88739ff47a..132d1d32d3 100644 --- a/view/theme/quattro/templates/search_item.tpl +++ b/view/theme/quattro/templates/search_item.tpl @@ -83,8 +83,8 @@ {{if $item.conv}} + {{/if}}