Abuse Flag
parent
a38f8fcb86
commit
ddbaffe1c2
|
@ -2,12 +2,17 @@ section.profile-bar
|
||||||
img.profile-img(src="http://i.imgur.com/gPiHzHN.jpg", alt="{{ user.nickname }}")
|
img.profile-img(src="http://i.imgur.com/gPiHzHN.jpg", alt="{{ user.nickname }}")
|
||||||
a.button-green
|
a.button-green
|
||||||
span Follow
|
span Follow
|
||||||
|
div.profile-data
|
||||||
h1 Silvia Rodríguez
|
h1 Silvia Rodríguez
|
||||||
// If user has no defined role in its profile use all its project defined roles followed by an &
|
// If user has no defined role in its profile use all its project defined roles followed by an &
|
||||||
h2 Backend Developer & Stackeholder
|
h2 Backend Developer & Stackeholder
|
||||||
div.location
|
div.location
|
||||||
// span.icon.icon-location
|
// span.icon.icon-location
|
||||||
span Madrid
|
span Madrid
|
||||||
|
// Remove Abuse Flag when a user is seeing itself
|
||||||
|
a.flag(href="", title="Report Abuse")
|
||||||
|
svg(xmlns:svg="http://www.w3.org/2000/svg", xmlns="http://www.w3.org/2000/svg", xml:space="preserve", enable-background="new 0 0 100 100" viewBox="0 0 14.7 20.3", y="0", x="0", version="1.1")
|
||||||
|
path(d="M2.9 4C2 4.5 1 5.4 0.8 5.6L0.7 5.5 0 5.9 8.3 20.3 9.1 19.9 5.4 13.6c0.2-0.2 1.2-1.1 2.1-1.6 1.8-1.1 2.7-0.8 4.5-1.9 1.8-1 2.6-2.3 2.6-2.3L10.2 0C10.2 0 9.3 1.2 7.5 2.2 5.7 3.3 4.7 2.9 2.9 4Z")
|
||||||
// These values in profile stats are not defined yet in UX. Please ask
|
// These values in profile stats are not defined yet in UX. Please ask
|
||||||
div.profile-stats
|
div.profile-stats
|
||||||
div.stat
|
div.stat
|
||||||
|
|
|
@ -6,20 +6,40 @@
|
||||||
display: block;
|
display: block;
|
||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
}
|
}
|
||||||
|
.profile-data {
|
||||||
|
position: relative;
|
||||||
|
}
|
||||||
|
.flag {
|
||||||
|
position: absolute;
|
||||||
|
right: 0;
|
||||||
|
top: 0;
|
||||||
|
width: 12px;
|
||||||
|
path {
|
||||||
|
fill: $gray-light;
|
||||||
|
transition: all .2s linear;
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
|
path {
|
||||||
|
fill: $red;
|
||||||
|
transition: all .2s linear;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
h1,
|
h1,
|
||||||
h2 {
|
h2 {
|
||||||
@extend %bold;
|
@extend %bold;
|
||||||
@extend %small;
|
@extend %small;
|
||||||
line-height: 1;
|
|
||||||
margin-bottom: .5rem;
|
margin-bottom: .5rem;
|
||||||
}
|
}
|
||||||
h1 {
|
h1 {
|
||||||
@extend %xlarge;
|
@extend %xlarge;
|
||||||
|
line-height: 1;
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
}
|
}
|
||||||
h2 {
|
h2 {
|
||||||
@extend %large;
|
@extend %large;
|
||||||
color: $gray-light;
|
color: $gray-light;
|
||||||
|
line-height: 1.2;
|
||||||
}
|
}
|
||||||
.location {
|
.location {
|
||||||
color: $gray-light;
|
color: $gray-light;
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
<svg xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xml:space="preserve" enable-background="new 0 0 100 100" viewBox="0 0 14.7 20.3" height="20.3" width="14.7" y="0" x="0" version="1.1"><path d="M2.9 4C2 4.5 1 5.4 0.8 5.6L0.7 5.5 0 5.9 8.3 20.3 9.1 19.9 5.4 13.6c0.2-0.2 1.2-1.1 2.1-1.6 1.8-1.1 2.7-0.8 4.5-1.9 1.8-1 2.6-2.3 2.6-2.3L10.2 0C10.2 0 9.3 1.2 7.5 2.2 5.7 3.3 4.7 2.9 2.9 4Z" fill="#f00"/></svg>
|
After Width: | Height: | Size: 433 B |
Loading…
Reference in New Issue