aboutsummaryrefslogtreecommitdiffstats
path: root/view
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2016-01-21 11:48:10 +0100
committerMario Vavti <mario@mariovavti.com>2016-01-21 11:48:10 +0100
commitb711c050db39bd733f4a48cbe575b9e926aa3d0d (patch)
tree203ec54b2bbe4e5d1fe77098f4fbc46c85422ec4 /view
parent928f1bfa7bdaa4f8a85ea4bec6ebcb182975f158 (diff)
downloadvolse-hubzilla-b711c050db39bd733f4a48cbe575b9e926aa3d0d.tar.gz
volse-hubzilla-b711c050db39bd733f4a48cbe575b9e926aa3d0d.tar.bz2
volse-hubzilla-b711c050db39bd733f4a48cbe575b9e926aa3d0d.zip
make contact block look widget alike
Diffstat (limited to 'view')
-rw-r--r--view/theme/redbasic/css/style.css7
-rwxr-xr-xview/tpl/contact_block.tpl6
2 files changed, 4 insertions, 9 deletions
diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css
index 8020da00a..4ae08dec8 100644
--- a/view/theme/redbasic/css/style.css
+++ b/view/theme/redbasic/css/style.css
@@ -489,13 +489,6 @@ footer {
#contact-block {
width: 100%;
float: left;
- background-color: rgba(254,254,254,0.5);
- border-bottom: 1px solid rgba(238,238,238,0.8);
- -moz-border-radius: $radiuspx;
- -webkit-border-radius: $radiuspx;
- border-radius: $radiuspx;
- padding: 10px;
- margin-bottom:10px;
}
#contact-block-numcontacts {
diff --git a/view/tpl/contact_block.tpl b/view/tpl/contact_block.tpl
index d1ce5ca67..a32437212 100755
--- a/view/tpl/contact_block.tpl
+++ b/view/tpl/contact_block.tpl
@@ -1,7 +1,9 @@
-<div id="contact-block">
-<div id="contact-block-numcontacts">{{$contacts}}</div>
+<div id="contact-block" class="widget">
+<h3>{{$contacts}}</h3>
{{if $micropro}}
+ {{if $viewconnections}}
<a class="allcontact-link" href="viewconnections/{{$nickname}}">{{$viewconnections}}</a>
+ {{/if}}
<div class='contact-block-content'>
{{foreach $micropro as $m}}
{{$m}}