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>
</li>
<li>
{if $CELLPHONE != ""}
<span class="tel">{$CELLPHONE}</span>
{/if}
{if $PHONE != ""}
<span class="tel">{$PHONE}</span>
{/if}
{if $CELLPHONE != ""}
<span class="mobile">{$CELLPHONE}</span>
{/if}
<span class="email">{mailto address="{$EMAIL}" encode="hex"}</span>
</li>
<li class="group-btn">

View File

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

View File

@@ -1045,6 +1045,7 @@ td.product,
.fn { font-size: 16px; font-weight: 600; }
.list-info {
.mobile,
.tel,
.email {
&:before {
@@ -1054,7 +1055,8 @@ td.product,
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; }
}
.group-btn {