clicking the pin icon on the profile takes you to a map [ci skip]

This commit is contained in:
danielgrippi 2012-04-26 17:53:14 -07:00
parent c6da8e74ad
commit f08a539c23
2 changed files with 21 additions and 3 deletions

View file

@ -103,9 +103,20 @@
#profile-stats { #profile-stats {
i { i {
@include transition(opacity);
@include opacity(0.7); @include opacity(0.7);
} }
a:hover {
text-decoration : none;
}
a:hover > i,
a:hover > img
{
@include opacity(1);
}
.divider { .divider {
color : #999; color : #999;
} }
@ -122,18 +133,23 @@
margin : 10px 5px; margin : 10px 5px;
&.services { &.services {
@include opacity(0.5);
.service { .service {
position : relative; position : relative;
margin-right : 2px; margin-right : 2px;
top : -2px; top : -2px;
img { img {
@include transition(opacity);
@include opacity(0.5);
height : 14px; height : 14px;
width : 14px; width : 14px;
} }
& > img:hover {
@include opacity(1);
}
&:hover { &:hover {
text-decoration : none; text-decoration : none;
} }

View file

@ -7,7 +7,9 @@
<div id="profile-stats"> <div id="profile-stats">
{{#if location}} {{#if location}}
<span class="stat"> <span class="stat">
<i class="icon-map-marker"></i> <a href="http://maps.google.com/maps?q={{location}}" target="_blank">
<i class="icon-map-marker"></i>
</a>
{{location}} {{location}}
</span> </span>
<span class="divider">•</span> <span class="divider">•</span>