From fad8ebc355c74d8ff06768342cdd8ecc609ece93 Mon Sep 17 00:00:00 2001 From: rabuzarus <> Date: Fri, 23 Oct 2015 15:18:05 +0200 Subject: [PATCH] template rework: two row contact page for vier --- view/theme/vier/style.css | 43 ++++++++++++++++--- .../theme/vier/templates/contact_template.tpl | 16 +++++-- 2 files changed, 48 insertions(+), 11 deletions(-) diff --git a/view/theme/vier/style.css b/view/theme/vier/style.css index 3757d79e2..d6e47da01 100644 --- a/view/theme/vier/style.css +++ b/view/theme/vier/style.css @@ -351,7 +351,7 @@ code { margin: 0px; padding: 1em; list-style: none; - border: 3px solid #364e59; + /*border: 3px solid #364e59;*/ z-index: 100000; box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); } @@ -2270,12 +2270,40 @@ aside #id_password { float: left; } /* contacts */ -.contact-entry-wrapper { +/*.contact-entry-wrapper { width: 120px; height: 130px; float: left; -/* overflow: hidden; */ + overflow: hidden; margin-left: 5px; +}*/ + +.contact-entry-wrapper { + float: left; + width: 363px; + height: 90px; + padding-right: 10px; + margin: 0 10px 10px 0px; +} +.contact-entry-wrapper .contact-entry-photo-wrapper { + float: left; + margin-right: 10px; +} +.contact-entry-photo-wrapper { + position: relative; +} +.contact-entry-desc { + overflow: hidden; +} +.contact-entry-name { + font-weight: bold; +} +.contact-entry-details { + font-size: 13px; + color: #999999; + white-space: nowrap; + overflow: hidden; + text-overflow: ellipsis; } /* photo */ .lframe { @@ -2323,14 +2351,15 @@ aside #id_password { } .contact-photo-menu { width: 11em; - border: 3px solid #364e59; + /*border: 3px solid #364e59;*/ color: #2d2d2d; background: #FFFFFF; -/* position: absolute;*/ - position: relative; - left: 0px; top: 0px; + position: absolute; + /*position: relative;*/ + left: 0px; /*top: 0px;*/ display: none; z-index: 10000; + box-shadow: 0px 5px 10px rgba(0, 0, 0, 0.7); } .contact-photo-menu ul { margin:0px; padding: 0px; list-style: none } .contact-photo-menu li a { diff --git a/view/theme/vier/templates/contact_template.tpl b/view/theme/vier/templates/contact_template.tpl index a065b8fbf..add2eff5c 100644 --- a/view/theme/vier/templates/contact_template.tpl +++ b/view/theme/vier/templates/contact_template.tpl @@ -13,12 +13,12 @@ {{if $contact.photo_menu}}
-
-
{{$contact.name}}
+ +
+
{{$contact.name}}
+ {{if $contact.alt_text}}
{{$contact.alt_text}}
{{/if}} + {{if $contact.itemurl}}
{{$contact.itemurl}}
{{/if}} + {{if $contact.network}}
{{$contact.network}}
{{/if}} + {{if $contact.details}}
{{$contact.details}}
{{/if}} +
+