diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 6534a5345..c3464b86b 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -82,7 +82,8 @@ class ThreadItem { $dropping = false; $star = false; $isstarred = "unstarred fa-star-o"; - $indent = ''; + $is_comment = false; + $is_item = false; $osparkle = ''; $total_children = $this->count_descendants(); $unseen_comments = (($item['real_uid']) ? 0 : $this->count_unseen_descendants()); @@ -232,7 +233,7 @@ class ThreadItem { } } else { - $indent = 'comment'; + $is_comment = true; } @@ -282,7 +283,7 @@ class ThreadItem { $dreport = t('Delivery Report'); if(strcmp(datetime_convert('UTC','UTC',$item['created']),datetime_convert('UTC','UTC','now - 12 hours')) > 0) - $indent .= ' shiny'; + $is_new = true; localize_item($item); @@ -361,7 +362,8 @@ class ThreadItem { 'attend_title' => t('Attendance Options'), 'vote_label' => t('Vote'), 'vote_title' => t('Voting Options'), - 'indent' => $indent, + 'is_comment' => $is_comment, + 'is_new' => $is_new, 'owner_url' => $this->get_owner_url(), 'owner_photo' => $this->get_owner_photo(), 'owner_name' => $this->get_owner_name(), @@ -407,7 +409,7 @@ class ThreadItem { 'showlike' => $showlike, 'showdislike' => $showdislike, 'comment' => $this->get_comment_box($indent), - 'previewing' => ($conv->is_preview() ? ' preview ' : ''), + 'previewing' => ($conv->is_preview() ? true : false ), 'wait' => t('Please wait'), 'submid' => str_replace(['+','='], ['',''], base64_encode(substr($item['mid'],0,32))), 'thread_level' => $thread_level diff --git a/view/css/conversation.css b/view/css/conversation.css index 7567d13eb..78dd29741 100644 --- a/view/css/conversation.css +++ b/view/css/conversation.css @@ -73,10 +73,6 @@ height: 30px; } -#profile-jot-wrapper { - margin-bottom: 30px; -} - #profile-jot-plugin-wrapper { margin-top: 10px; } @@ -91,9 +87,6 @@ /* conversation */ -.thread-wrapper.toplevel_item { - margin-bottom: 20px; -} /* conv_item */ diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index caebd04d5..fe41c2bdd 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1703,8 +1703,7 @@ main.fullscreen .section-content-wrapper-np { nav ul li .undefined, nav ul li .notify-seen, -nav ul li .notify-unseen - { +nav ul li .notify-unseen { max-height: 3rem; } @@ -1819,10 +1818,6 @@ blockquote { } */ -#tabs-collapse-1 { - padding: 0px; - margin-bottom: 25px; -} @media screen and (max-width: 767px) { @@ -2052,3 +2047,5 @@ dl.bb-dl > dd > li { #permcat-index { margin: 10px; } + +.shiny { background-color: red; } diff --git a/view/theme/redbasic/js/redbasic.js b/view/theme/redbasic/js/redbasic.js index 1ed5e520f..4686e93db 100644 --- a/view/theme/redbasic/js/redbasic.js +++ b/view/theme/redbasic/js/redbasic.js @@ -18,7 +18,7 @@ $(document).ready(function() { if($(window).width() > 767) { $('#left_aside_wrapper').stick_in_parent({ - offset_top: $('nav').outerHeight(true), + offset_top: $('nav').outerHeight(true) + 10, parent: '#region_1', spacer: '#left_aside_spacer' }); @@ -105,7 +105,7 @@ function toggleAside() { $('main').addClass('region_1-on') $('
').appendTo('section'); $('#left_aside_wrapper').stick_in_parent({ - offset_top: $('nav').outerHeight(true) - 10, + offset_top: $('nav').outerHeight(true) + 10, parent: '#region_1', spacer: '#left_aside_spacer' }); diff --git a/view/tpl/categories_widget.tpl b/view/tpl/categories_widget.tpl index ea6d28dfc..72478aa3d 100755 --- a/view/tpl/categories_widget.tpl +++ b/view/tpl/categories_widget.tpl @@ -2,10 +2,10 @@

{{$title}}

{{$desc}}
-