]> git.mxchange.org Git - friendica.git/commitdiff
[frio] Limit thread indentation level to 7 (at thread level 9)
authorHypolite Petovan <hypolite@mrpetovan.com>
Thu, 7 Dec 2023 13:27:16 +0000 (08:27 -0500)
committerHypolite Petovan <hypolite@mrpetovan.com>
Sat, 9 Dec 2023 01:55:19 +0000 (20:55 -0500)
view/theme/frio/css/style.css
view/theme/frio/templates/wall_thread.tpl

index 3d4d9f73ddd873e62595047e514dbb3d1b71339f..bb6d386b480bf4f5677186dea943bb35a9bbf85c 100644 (file)
@@ -2219,7 +2219,9 @@ img.acpopup-img {
 .wall-item-container.thread_level_4,
 .wall-item-container.thread_level_5,
 .wall-item-container.thread_level_6,
-.wall-item-container.thread_level_7 {
+.wall-item-container.thread_level_7,
+.wall-item-container.thread_level_8,
+.wall-item-container.thread_level_9 {
        margin-left: 15px;
 }
 
@@ -3901,7 +3903,9 @@ section .profile-match-wrapper {
        .wall-item-container.thread_level_4,
        .wall-item-container.thread_level_5,
        .wall-item-container.thread_level_6,
-       .wall-item-container.thread_level_7 {
+       .wall-item-container.thread_level_7,
+       .wall-item-container.thread_level_8,
+       .wall-item-container.thread_level_9 {
                margin-left: 5px;
        }
 }
index f63a8a478aeb9fbb5c1478a2d05d337142a62eaa..d06dd86de3999f8870adc537a135048d891ce11b 100644 (file)
@@ -46,12 +46,7 @@ as the value of $top_child_total (this is done at the end of this file)
 {{/if}}
 {{/if}}
 
-{{* Use a different div container in dependence max thread-level = 7 *}}
-{{if $item.thread_level<7}}
 <div class="item-{{$item.id}} wall-item-container {{$item.indent}} {{$item.network}} thread_level_{{$item.thread_level}} {{if $item.thread_level==1}}panel-body h-entry{{else}}u-comment h-cite{{/if}}" id="item-{{$item.guid}}"><!-- wall-item-container -->
-{{else}}
-<div class="item-{{$item.id}} wall-item-container {{$item.indent}} {{$item.network}} thread_level_7 u-comment h-cite" id="item-{{$item.guid}}">
-{{/if}}
 {{if $item.thread_level==1}}
 <span class="commented" style="display: none;">{{$item.commented}}</span>
 <span class="received" style="display: none;">{{$item.received}}</span>
@@ -169,7 +164,7 @@ as the value of $top_child_total (this is done at the end of this file)
                                                                &bull;
                                                                <small><i class="fa fa-plug" title="{{$item.connector}}" aria-hidden="true"></i></small>
                                                        {{else}}
-                                                               &bull;  
+                                                               &bull;
                                                                <span class="navicon lock fakelink" onClick="lockview(event, 'item', {{$item.id}});" title="{{$item.privacy}}" data-toggle="tooltip">
                                                                        <small><i class="fa {{if $item.private == 1}}fa-lock{{elseif $item.private == 0}}fa-globe{{else}}fa-low-vision{{/if}}" aria-hidden="true"></i></small>
                                                                </span>
@@ -341,7 +336,7 @@ as the value of $top_child_total (this is done at the end of this file)
                                {{/if}}
                                </span>
                        {{/if}}
-                       
+
                        {{* Buttons for like and dislike *}}
                        {{if $item.vote}}
                                <span class="wall-item-response">