1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-02-24 20:13:22 +01:00

[ticket/12680] Adds second alternativ text and font-size: 0 to remove text

PHPBB3-12680
This commit is contained in:
Crizzo 2014-06-09 23:25:34 +02:00
parent f7f80a424f
commit 2d90c754fe
2 changed files with 3 additions and 10 deletions

View File

@ -153,7 +153,7 @@
<dd class="profile-contact">
<strong>{L_CONTACT}{L_COLON}</strong>
<div class="dropdown-container dropdown-left">
<a href="#" class="dropdown-trigger"><span class="imageset icon_contact"></span></a>
<a href="#" class="dropdown-trigger"><span class="imageset icon_contact" title="{L_CONTACT}{L_COLON} {postrow.POST_AUTHOR}">{L_CONTACT}{L_COLON} {postrow.POST_AUTHOR}</span></a>
<div class="dropdown hidden">
<div class="pointer"><div class="pointer-inner"></div></div>
<div class="dropdown-contents contact-icons">
@ -164,7 +164,7 @@
<div>
<!-- ENDIF -->
<a href="<!-- IF postrow.contact.U_CONTACT -->{postrow.contact.U_CONTACT}<!-- ELSE -->{postrow.contact.U_PROFILE_AUTHOR}<!-- ENDIF -->" title="{postrow.contact.NAME}"<!-- IF $S_LAST_CELL --> class="last-cell"<!-- ENDIF --><!-- IF postrow.contact.ID eq 'jabber' --> onclick="popup(this.href, 550, 320); return false;"<!-- ENDIF -->>
<span class="contact-icon {postrow.contact.ID}-icon"><span>{postrow.contact.NAME}</span></span>
<span class="contact-icon {postrow.contact.ID}-icon">{postrow.contact.NAME}</span>
</a>
<!-- IF REMAINDER eq 3 or postrow.contact.S_LAST_ROW -->
</div>

View File

@ -105,6 +105,7 @@ ul.linklist.bulletin li.small-icon:before {
.contact-icons.dropdown-contents {
min-width: 0;
padding: 0;
font-size: 0;
}
.contact-icon {
@ -133,14 +134,6 @@ ul.linklist.bulletin li.small-icon:before {
clear: left;
}
.contact-icons span.contact-icon span{
display: block;
height: 0;
overflow: hidden;
position: absolute;
width: 1px;
}
/* Profile icons */
.pm-icon { background-position: 0 0; }
.email-icon { background-position: -21px 0; }