From 243bcba726203a4dc14f9c6efcb0dd224970f1c4 Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 09:46:33 +0100 Subject: [PATCH 01/11] Update style.css to display remote friends in common in a css grid --- view/theme/frio/css/style.css | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 74fc0001ca..5069b0ecc8 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -3489,10 +3489,41 @@ body .tread-wrapper .hovercard:hover .hover-card-content a { * some temporary workarounds until this will solved * elsewhere (e.g. new templates) */ +#remote-friends-in-common { + background-color: #fff; + border-radius: 4px; + color: #444; + display: grid; + grid-template-columns: repeat(4, 1fr); + grid-gap: 10px; + margin-bottom: 15px; + padding: 10px; +} + section .profile-match-wrapper { float: left; } +.profile-match-photo { + align-items: center; + display: flex; + justify-content: center; + +} +.profile-match-name { + align-items: center; + display: flex; + justify-content: center; + text-align:center; +} +.profile-match-break { + display:none; +} + +.profile-match-end { + display:none; +} + /** * Login page */ From cc5711b2dff0a4dbac7dd52f64e278e455b911a2 Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 09:48:57 +0100 Subject: [PATCH 02/11] Update remote_friends_common.tpl moved rfic-desc to top, tested on vier, frio and both mobile views --- .../widget/remote_friends_common.tpl | 32 +++++++++---------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/view/templates/widget/remote_friends_common.tpl b/view/templates/widget/remote_friends_common.tpl index 74d8e66804..e9a801a434 100644 --- a/view/templates/widget/remote_friends_common.tpl +++ b/view/templates/widget/remote_friends_common.tpl @@ -1,18 +1,18 @@ -
-
{{$desc nofilter}}      {{if $linkmore}}{{$more}}{{/if}}
- {{foreach $contacts as $contact}} -
-
- - {{$contact.name}} - +
{{$desc nofilter}}      {{if $linkmore}}{{$more}}{{/if}}
+
+ {{foreach $contacts as $contact}} +
+
+ + {{$contact.name}} + +
+
+ +
-
- -
+ {{/foreach}} +
- {{/foreach}} -
-
From 2bb5785dfa062423044dc5782b2f7c01e1d1678a Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 09:53:12 +0100 Subject: [PATCH 03/11] Update style.css addes missing empty lines --- view/theme/frio/css/style.css | 2 ++ 1 file changed, 2 insertions(+) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 5069b0ecc8..6e9ee5aab2 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -3510,12 +3510,14 @@ section .profile-match-wrapper { justify-content: center; } + .profile-match-name { align-items: center; display: flex; justify-content: center; text-align:center; } + .profile-match-break { display:none; } From 46d34c53e66af216fff5026957ab4b89b1565739 Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 10:04:24 +0100 Subject: [PATCH 04/11] Update style.css - removed unnecessary empty line --- view/theme/frio/css/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 6e9ee5aab2..8f1a322d50 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -3508,7 +3508,6 @@ section .profile-match-wrapper { align-items: center; display: flex; justify-content: center; - } .profile-match-name { From bfc11495f3740060b4ca1bb55e07977015fc15d9 Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 14:13:02 +0100 Subject: [PATCH 05/11] Update style.css Adjusted the BGcolor as suggested by Annando --- view/theme/frio/css/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 8f1a322d50..924baf639d 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -3490,7 +3490,7 @@ body .tread-wrapper .hovercard:hover .hover-card-content a { * elsewhere (e.g. new templates) */ #remote-friends-in-common { - background-color: #fff; + background-color: rgba(247, 247, 247, $contentbg_transp) border-radius: 4px; color: #444; display: grid; From 4faa43766d8271cdc3a292d03dc87ed86c44f1dc Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 16:39:08 +0100 Subject: [PATCH 06/11] Added collapsable support for remote friends in common in vier theme --- view/theme/vier/style.css | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index b2ef72f5f5..24265e899f 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -221,12 +221,21 @@ div.pager { margin-bottom: 5px; */ } -.birthday-notice, .event-notice { +.birthday-notice, .event-notice, #rfic-desc { margin-top: 5px; margin-bottom: 5px; background-color: #F5F5F5; } +#remote-friends-in-common-wrapper { + display: none; +} + +#rfic-desc { + cursor:pointer; +} + + #live-network { /* border-bottom: 1px solid #BDCDD4; */ border-bottom: 1px solid #D2D2D2; From 4e3302ea0d157c6921de9d73f8b00e2ebd08e845 Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 16:42:07 +0100 Subject: [PATCH 07/11] Update style.css Addes remote friends in common wrapper --- view/theme/frio/css/style.css | 26 ++++++++++++++++---------- 1 file changed, 16 insertions(+), 10 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index 924baf639d..f01128a897 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -2231,6 +2231,8 @@ img.acpopup-img { /* Birthday and Event Reminders */ #birthday-notice, #birthday-wrapper, +#rfic-desc, +#remote-friends-in-common, #event-notice, #event-wrapper { margin-bottom: 5px; @@ -2241,6 +2243,20 @@ img.acpopup-img { -webkit-box-shadow: 0 0 3px #dadada; -moz-box-shadow: 0 0 3px #dadada; border-radius: 4px; + cursor: pointer; +} +#remote-friends-in-common { + background-color: rgba(247, 247, 247, $contentbg_transp) + border-radius: 4px; + color: #444; + display: grid; + grid-template-columns: repeat(4, 1fr); + grid-gap: 10px; + margin-bottom: 15px; + padding: 10px; +} +#remote-friends-in-common-wrapper{ + display: none; } /* Menubar Tabs */ @@ -3489,16 +3505,6 @@ body .tread-wrapper .hovercard:hover .hover-card-content a { * some temporary workarounds until this will solved * elsewhere (e.g. new templates) */ -#remote-friends-in-common { - background-color: rgba(247, 247, 247, $contentbg_transp) - border-radius: 4px; - color: #444; - display: grid; - grid-template-columns: repeat(4, 1fr); - grid-gap: 10px; - margin-bottom: 15px; - padding: 10px; -} section .profile-match-wrapper { float: left; From a609e545b66808f8a8e6c9d2f8dab08acd968880 Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 16:43:23 +0100 Subject: [PATCH 08/11] Update remote_friends_common.tpl Addes collapsable remote friends in common for frio and vier --- .../widget/remote_friends_common.tpl | 32 ++++++++++--------- 1 file changed, 17 insertions(+), 15 deletions(-) diff --git a/view/templates/widget/remote_friends_common.tpl b/view/templates/widget/remote_friends_common.tpl index e9a801a434..27728fec6a 100644 --- a/view/templates/widget/remote_friends_common.tpl +++ b/view/templates/widget/remote_friends_common.tpl @@ -1,18 +1,20 @@ -
{{$desc nofilter}}      {{if $linkmore}}{{$more}}{{/if}}
-
- {{foreach $contacts as $contact}} -
-
- - {{$contact.name}} - +
{{$desc nofilter}}  {{if $linkmore}}{{$more}}{{/if}}
+
+
+ {{foreach $contacts as $contact}} +
+
+ + {{$contact.name}} + +
+
+ +
-
- -
+ {{/foreach}} +
- {{/foreach}} -
From 53c7da87a6fe4b799745497e3120ab14acdc900d Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 16:53:34 +0100 Subject: [PATCH 09/11] removed unnecessary empty line --- view/theme/vier/style.css | 1 - 1 file changed, 1 deletion(-) diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 24265e899f..34ae315420 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -235,7 +235,6 @@ div.pager { cursor:pointer; } - #live-network { /* border-bottom: 1px solid #BDCDD4; */ border-bottom: 1px solid #D2D2D2; From 6c1df6471ae6082636f2b6f8a12bac018f1aee0d Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 19:40:44 +0100 Subject: [PATCH 10/11] Update style.css Added missing spaces --- view/theme/frio/css/style.css | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/view/theme/frio/css/style.css b/view/theme/frio/css/style.css index f01128a897..be71399a86 100644 --- a/view/theme/frio/css/style.css +++ b/view/theme/frio/css/style.css @@ -3520,15 +3520,15 @@ section .profile-match-wrapper { align-items: center; display: flex; justify-content: center; - text-align:center; + text-align: center; } .profile-match-break { - display:none; + display: none; } .profile-match-end { - display:none; + display: none; } /** From b26a5ce0fa5be00b54f1cd73cd0335345ae47f6b Mon Sep 17 00:00:00 2001 From: Raroun Date: Tue, 26 Dec 2023 19:41:37 +0100 Subject: [PATCH 11/11] Update style.css Added missing space --- view/theme/vier/style.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 34ae315420..3231c7a703 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -232,7 +232,7 @@ div.pager { } #rfic-desc { - cursor:pointer; + cursor: pointer; } #live-network {