From 6bd6afac05963c60d32be4011b11e02356d76444 Mon Sep 17 00:00:00 2001 From: Mario Date: Sun, 21 Nov 2021 19:50:36 +0000 Subject: streamline profile vcard with xchan vcard --- view/theme/redbasic/css/style.css | 24 +++---- view/tpl/profile_vcard.tpl | 135 ++++++++++++++++++++++++++++---------- 2 files changed, 110 insertions(+), 49 deletions(-) diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 346e46c6b..a4641b68e 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -400,34 +400,26 @@ footer { color: #444444; } +.vcard-card { + border-bottom-left-radius: 0; + border-bottom-right-radius: 0; +} + .vcard { margin-bottom: 10px; padding: 0px 10px 10px 10px; background-color: rgba(254,254,254,0.5); border: 1px solid rgba(254,254,254,0.5); - border-radius: $radius; + border-top: 0px; word-wrap: break-word; } -.vcard dl, -.vcard .title { - margin-top: 10px; - margin-bottom: 0px; -} - -.connect-btn-wrapper { - margin-bottom: 10px; - -} - .profile-edit-side-link { - padding: 3px 0px; opacity: 0; - filter:alpha(opacity=30); - float: right; + filter:alpha(opacity=0); } -.vcard:hover .profile-edit-side-link { +.card:hover .profile-edit-side-link { opacity: 1; filter:alpha(opacity=100); } diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 13caf5603..1778ae78b 100644 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -1,34 +1,52 @@ -
- {{if ! $zcard}} -
{{if $editmenu}}{{/if}}{{$profile.fullname}}{{if $editmenu}}{{/if}}
- {{/if}} - {{if $connect}} - - {{/if}} - {{if ! $zcard}} - {{if $editmenu.multi}} -