From 8c4269d03763efa28b6b76fec2848557e8e4f9af Mon Sep 17 00:00:00 2001 From: Mario Date: Mon, 29 Jul 2024 09:38:51 +0000 Subject: fa2bi continued --- Zotlabs/Lib/ThreadItem.php | 4 +-- include/js_strings.php | 8 ++--- view/css/bootstrap-red.css | 4 +++ view/tpl/conv_item.tpl | 3 -- view/tpl/conv_list.tpl | 79 +++++++++++++++++++-------------------------- view/tpl/navbar_default.tpl | 6 ++-- view/tpl/search_item.tpl | 62 ++++++++++++++++------------------- 7 files changed, 75 insertions(+), 91 deletions(-) diff --git a/Zotlabs/Lib/ThreadItem.php b/Zotlabs/Lib/ThreadItem.php index 6081ca272..bca5aa047 100644 --- a/Zotlabs/Lib/ThreadItem.php +++ b/Zotlabs/Lib/ThreadItem.php @@ -93,7 +93,7 @@ class ThreadItem { $buttons = ''; $dropping = false; $star = false; - $isstarred = "unstarred fa-star-o"; + $isstarred = "unstarred bi-star"; $is_comment = false; $is_item = false; $osparkle = ''; @@ -573,7 +573,7 @@ class ThreadItem { if(($nb_children > $visible_comments) || ($thread_level > 1)) { $result['children'][0]['comment_firstcollapsed'] = true; $result['children'][0]['num_comments'] = $comment_count_txt['label']; - $result['children'][0]['hide_text'] = sprintf( t('%s show all'), ''); + $result['children'][0]['hide_text'] = sprintf( t('%s show all'), ''); if($thread_level > 1) { $result['children'][$nb_children - 1]['comment_lastcollapsed'] = true; } diff --git a/include/js_strings.php b/include/js_strings.php index 090d28ce3..6226b51c6 100644 --- a/include/js_strings.php +++ b/include/js_strings.php @@ -5,10 +5,10 @@ function js_strings() { '$delitem' => t('Delete this item?'), '$itemdel' => t('Item deleted'), '$comment' => t('Comment'), - '$showmore' => sprintf( t('%s show all'), ''), - '$showfewer' => sprintf( t('%s show less'), ''), - '$divgrowmore' => sprintf( t('%s expand'), ''), - '$divgrowless' => sprintf( t('%s collapse'),''), + '$showmore' => sprintf( t('%s show all'), ''), + '$showfewer' => sprintf( t('%s show less'), ''), + '$divgrowmore' => sprintf( t('%s expand'), ''), + '$divgrowless' => sprintf( t('%s collapse'),''), '$pwshort' => t("Password too short"), '$pwnomatch' => t("Passwords do not match"), '$everybody' => t('everybody'), diff --git a/view/css/bootstrap-red.css b/view/css/bootstrap-red.css index 753633ba4..e494dc960 100644 --- a/view/css/bootstrap-red.css +++ b/view/css/bootstrap-red.css @@ -37,6 +37,10 @@ nav .dropdown-menu { overflow: auto; } +.navbar-expand-lg .navbar-nav .nav-link { + padding-right: var(--bs-navbar-nav-link-padding-x); + padding-left: var(--bs-navbar-nav-link-padding-x); +} /* offcanvas */ .offcanvas, diff --git a/view/tpl/conv_item.tpl b/view/tpl/conv_item.tpl index 58f70c1cf..da3489c37 100644 --- a/view/tpl/conv_item.tpl +++ b/view/tpl/conv_item.tpl @@ -197,9 +197,6 @@