From bc42b6440a1a5cb21f10766e2ae00c89048019ed Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Sun, 21 Jun 2015 20:40:39 +0200 Subject: [PATCH] Vier: Improved threading --- view/theme/vier/style.css | 24 +++++++++++++++++++++++ view/theme/vier/templates/wall_thread.tpl | 23 +++++++++++++++------- 2 files changed, 40 insertions(+), 7 deletions(-) diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index e36bad4e3..3178b9613 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -1346,6 +1346,30 @@ section.minimal { width: calc(100% - 90px); border-bottom: 1px solid hsl(198, 21%, 79%); } +.wall-item-container.thread_level_2 { + margin-left: 80px; + width: calc(100% - 90px); +} +.wall-item-container.thread_level_3 { + margin-left: 95px; + width: calc(100% - 105px); +} +.wall-item-container.thread_level_4 { + margin-left: 110px; + width: calc(100% - 120px); +} +.wall-item-container.thread_level_5 { + margin-left: 125px; + width: calc(100% - 135px); +} +.wall-item-container.thread_level_6 { + margin-left: 140px; + width: calc(100% - 150px); +} +.wall-item-container.thread_level_7 { + margin-left: 155px; + width: calc(100% - 165px); +} .wall-item-container.comment .wall-item-content { max-width: 585px; diff --git a/view/theme/vier/templates/wall_thread.tpl b/view/theme/vier/templates/wall_thread.tpl index 764ff0517..33f8c5b10 100644 --- a/view/theme/vier/templates/wall_thread.tpl +++ b/view/theme/vier/templates/wall_thread.tpl @@ -2,21 +2,26 @@ {{if $mode == display}} {{else}} {{if $item.comment_firstcollapsed}} -
- {{$item.num_comments}} + {{if $item.thread_level<3}} +
+ {{$item.num_comments}} {{$item.hide_text}} - {{if $item.thread_level==3}} - + +
+