Change icon between mobile and home phone number

This commit is contained in:
touffies
2013-11-05 09:53:51 +01:00
parent e19b2e59bc
commit 45e84f22e9
3 changed files with 8 additions and 5 deletions

View File

@@ -49,12 +49,12 @@
</address> </address>
</li> </li>
<li> <li>
{if $CELLPHONE != ""}
<span class="tel">{$CELLPHONE}</span>
{/if}
{if $PHONE != ""} {if $PHONE != ""}
<span class="tel">{$PHONE}</span> <span class="tel">{$PHONE}</span>
{/if} {/if}
{if $CELLPHONE != ""}
<span class="mobile">{$CELLPHONE}</span>
{/if}
<span class="email">{mailto address="{$EMAIL}" encode="hex"}</span> <span class="email">{mailto address="{$EMAIL}" encode="hex"}</span>
</li> </li>
<li class="group-btn"> <li class="group-btn">

View File

@@ -2,7 +2,8 @@
.account-info { .account-info {
.list-info { .list-info {
address { margin-bottom: 0; } address { margin-bottom: 0; }
.mobile,
.tel, .tel,
.email { .email {
display: block; display: block;

View File

@@ -1045,6 +1045,7 @@ td.product,
.fn { font-size: 16px; font-weight: 600; } .fn { font-size: 16px; font-weight: 600; }
.list-info { .list-info {
.mobile,
.tel, .tel,
.email { .email {
&:before { &:before {
@@ -1054,7 +1055,8 @@ td.product,
vertical-align: middle; vertical-align: middle;
} }
} }
.tel:before { .icon(@mobile-phone); font-size: 30px; } .mobile:before { .icon(@mobile-phone); font-size: 30px; }
.tel:before { .icon(@phone); font-size: 22px; }
.email:before { .icon(@envelope); font-size: 18px; } .email:before { .icon(@envelope); font-size: 18px; }
} }
.group-btn { .group-btn {