Merge remote-tracking branch 'upstream/develop' into 1606-dbm

This commit is contained in:
Michael Vogel 2016-06-02 07:37:37 +02:00
commit 4914e8826b
6 changed files with 93 additions and 31 deletions

View File

@ -489,13 +489,16 @@ function bb_ShareAttributes($share, $simplehtml) {
$text .= "<br /><br />".$link;
break;
default:
$headline = trim($share[1]).'<div class="shared_header">';
$headline = trim($share[1])."\n";
$headline .= '<div class="shared-wrapper">'."\n";
$headline .= '<div class="shared_header">'."\n";
if ($avatar != "")
$headline .= '<img src="'.proxy_url($avatar, false, PROXY_SIZE_MICRO).'" height="32" width="32" >';
$headline .= sprintf(t('<span><a href="%s" target="_blank">%s</a> wrote the following <a href="%s" target="_blank">post</a>'.$reldate.':</span>'), $profile, $author, $link);
$headline .= "</div>";
$text = $headline.'<blockquote class="shared_content">'.trim($share[3])."</blockquote>";
$headline .= "</div>\n";
$text = $headline.'<blockquote class="shared_content">'.trim($share[3])."</blockquote>\n";
$text .= "<div>\n";
break;
}
return($text);

Binary file not shown.

View File

@ -62,10 +62,10 @@
.shashape.profile:before{
content: "p";
}
.shashape.skip:before{
.shashape.profileneg:before{
content: "q";
}
.shashape.reload:before{
.shashape.heard:before{
content: "r";
}
.shashape.search:before{
@ -74,9 +74,6 @@
.shashape.time:before{
content: "t";
}
.shashape.undo:before{
content: "u";
}
.shashape.logout:before,
.shashape.logged-in:before{
content: "v";
@ -104,17 +101,16 @@
.shashape.nolike:before{
content: "C";
}
/* uppercase D is not defined at the moment
.shashape.hash:before{
.shashape.grrrr:before{
content: "D";
} */
}
.shashape.arrow7:before{
content: "E";
}
.shashape.follow:before{
content: "F";
}
.shashape.follower:before{
.shashape.retweet:before{
content: "G";
}
.shashape.hand:before{
@ -129,10 +125,9 @@
.shashape.arrow-updown:before{
content: "K";
}
/* uppercase L is not defined at the moment
.shashape.lock:before{
.shashape.arrow-sideup:before{
content: "L";
} */
}
.shashape.arrow-left:before{
content: "M";
}
@ -180,39 +175,64 @@
content: "#";
}
.shashape.tag:before{
content: "=";
content: "&";
}
.shashape.lock-open:before{
content: "?";
content: "(";
}
.shashape.lock-closed:before{
content: ")";
}
.shashape.blank:before {
content: "_";
}
.shashape.ellipsis:before {
content: "§";
}
.shashape.ok.before,
.shashape.yes:before{
content: "+";
}
.shashape.hmm:before{
content: ",";
content: "%";
}
.shashape.mark:before,
.shashape.no:before{
content: "-";
}
.shashape.blank:before{
.shashape.see:before{
content: ".";
}
.shashape.see:before{
.shashape.see2:before{
content: ":";
}
.shashape.blind:before{
.shashape.see3:before{
content: ";";
}
.shashape.blind:before{
content: ",";
}
.shashape.edit:before{
content: "<";
}
.shashape.stamp:before{
content: ">";
}
.shashape.heart:before{
content: "_";
.shashape.comment:before {
content: "*";
}
.shashape.ask:before {
content: "?";
}
.shashape.skip:before {
content: "{";
}
.shashape.reload:before {
content: "[";
}
.shashape.reloadreverse:before {
content: "]";
}
.shashape.undo:before {
content: "]";
}

Binary file not shown.

Before

Width:  |  Height:  |  Size: 390 KiB

After

Width:  |  Height:  |  Size: 377 KiB

View File

@ -1702,10 +1702,29 @@ ul.viewcontact_wrapper > li {
.contact-entry-checkbox {
margin-top: -20px;
}
.contact-wrapper .media-body .contact-entry-name h4.media-heading {
font-weight: bold;
color: #777;
font-size: 15px;
.contact-wrapper .media-body .contact-entry-name h4.media-heading a {
font-weight: bold !important;
color: $link_color;
font-size: 15px !important;
}
.contact-wrapper .contact-actions {
display: flex;
}
.contact-wrapper a.contact-action-link {
opacity: 0.1;
}
.contact-wrapper a.contact-action-link,
.contact-wrapper a.contact-action-link:hover,
.textcomplete-item .contact-wrapper a.contact-action-link {
padding-right: 5px;
padding-left: 5px;
color: #555;
}
ul li:hover .contact-wrapper a.contact-action-link {
opacity: 0.8;
}
ul li:hover .contact-wrapper a.contact-action-link:hover {
opacity: 1;
}
#contacts-search-wrapper,
#directory-search-wrapper{

View File

@ -46,10 +46,20 @@
</div>
<div class="media-body">
{{* The contact actions like private mail, delete contact, edit contact and so on *}}
<div class="contact-actions pull-right nav-pills preferences hidden-xs">
{{if $contact.photo_menu.pm}}<a class="contact-action-link" onclick="addToModal('{{$contact.photo_menu.pm.1}}')" data-toggle="tooltip" title="{{$contact.photo_menu.pm.0}}"><i class="fa fa-envelope" aria-hidden="true"></i></a>{{/if}}
{{if $contact.photo_menu.poke}}<a class="contact-action-link" onclick="addToModal('{{$contact.photo_menu.poke.1}}')" data-toggle="tooltip" title="{{$contact.photo_menu.poke.0}}"><i class="fa fa-heartbeat" aria-hidden="true"></i></a>{{/if}}
{{if $contact.photo_menu.network}}<a class="contact-action-link" href="{{$contact.photo_menu.network.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.network.0}}"><i class="fa fa-cloud" aria-hidden="true"></i></a>{{/if}}
{{if $contact.photo_menu.edit}}<a class="contact-action-link" href="{{$contact.photo_menu.edit.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.edit.0}}"><i class="fa fa-pencil" aria-hidden="true"></i></a>{{/if}}
{{if $contact.photo_menu.drop}}<a class="contact-action-link" href="{{$contact.photo_menu.drop.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.drop.0}}"><i class="fa fa-user-times" aria-hidden="true"></i></a>{{/if}}
{{if $contact.photo_menu.follow}}<a class="contact-action-link" href="{{$contact.photo_menu.follow.1}}" data-toggle="tooltip" title="{{$contact.photo_menu.follow.0}}"><i class="fa fa-user-plus" aria-hidden="true"></i></a>{{/if}}
</div>
{{* The contact description (e.g. Name, Network, kind of connection and so on *}}
<div class="contact-entry-desc">
<div class="contact-entry-name" id="contact-entry-name-{{$contact.id}}" >
<h4 class="media-heading">{{$contact.name}}
<h4 class="media-heading"><a href="{{$contact.url}}">{{$contact.name}}</a>
{{if $contact.account_type}} <small class="contact-entry-details" id="contact-entry-accounttype-{{$contact.id}}">({{$contact.account_type}})</small>{{/if}}
{{if $contact.account_type == 'Forum'}}<i class="fa fa-comments-o" aria-hidden="true"></i>{{/if}}
{{* @todo this needs some changing in core because $contact.account_type contains a translated string which may notbe the same in every language *}}
@ -124,11 +134,21 @@ We use this part to filter the contacts with jquery.textcomplete *}}
</div>
<div class="media-body"> {{* @todo There is a bug with this class - the browser freezes if the screensize is to small - but only fith textcomplete*}}
<div class="media-body">
{{* The contact actions like private mail, delete contact, edit contact and so on *}}
<div class="contact-actions pull-right nav-pills preferences hidden-xs">
{if $photo_menu.pm}<a class="contact-action-link" onclick="addToModal('{$photo_menu.pm.1}')" data-toggle="tooltip" title="{$photo_menu.pm.0}"><i class="fa fa-envelope" aria-hidden="true"></i></a>{/if}
{if $photo_menu.poke}<a class="contact-action-link" onclick="addToModal('{$photo_menu.poke.1}')" data-toggle="tooltip" title="{$photo_menu.poke.0}"><i class="fa fa-heartbeat" aria-hidden="true"></i></a>{/if}
{if $photo_menu.network}<a class="contact-action-link" href="{$photo_menu.network.1}" data-toggle="tooltip" title="{$photo_menu.network.0}"><i class="fa fa-cloud" aria-hidden="true"></i></a>{/if}
{if $photo_menu.edit}<a class="contact-action-link" href="{$photo_menu.edit.1}" data-toggle="tooltip" title="{$photo_menu.edit.0}"><i class="fa fa-pencil" aria-hidden="true"></i></a>{/if}
{if $photo_menu.drop}<a class="contact-action-link" href="{$photo_menu.drop.1}" data-toggle="tooltip" title="{$photo_menu.drop.0}"><i class="fa fa-user-times" aria-hidden="true"></i></a>{/if}
{if $photo_menu.follow}<a class="contact-action-link" href="{$photo_menu.follow.1}" data-toggle="tooltip" title="{$photo_menu.follow.0}"><i class="fa fa-user-plus" aria-hidden="true"></i></a>{/if}
</div>
{{* The contact description (e.g. Name, Network, kind of connection and so on *}}
<div class="contact-entry-desc">
<div class="contact-entry-name" id="contact-entry-name-{$id}" >
<h4 class="media-heading">{$name}
<h4 class="media-heading"><a href="{url}">{$name}</a>
{if $account_type} <small class="contact-entry-details" id="contact-entry-accounttype-{$id}">({$account_type})</small>{/if}
{if $account_type == 'Forum'}<i class="fa fa-comments-o" aria-hidden="true"></i>{/if}
{{* @todo this needs some changing in core because $contact.account_type contains a translated string which may notbe the same in every language *}}