removed this shit

This commit is contained in:
Andreas N 2015-01-03 03:54:30 +01:00
parent 6bf1c6bb01
commit 1c7b064dbd
2 changed files with 2 additions and 45 deletions

View File

@ -87,48 +87,9 @@
} }
.profile--avatar { .profile--avatar {
width: 100%;
height: auto;
}
.profile--avatar img {
border-top-left-radius: 2px; border-top-left-radius: 2px;
border-top-right-radius: 2px; border-top-right-radius: 2px;
width: 100%; width: 100%;
height: auto; height: auto;
border: medium none; border: medium none;
}
.profile--avatar .dimmer {
position: absolute;
top: 0px !important;
left: 0px !important;
width: 100%;
height: 100%;
display: block;
min-height: 0px;
background: none repeat scroll 0% 0% #FFF;
padding: 0px;
border: medium none;
border-radius: 0.2857rem;
box-shadow: 0px 0.2em 0px 0px #D4D4D5, 0px 0px 0px 1px #D4D4D5;
transition: box-shadow 0.2s ease 0s;
opacity: 0;
}
.profile--avatar .dimmer:hover {
opacity: 1;
}
.profile--avatar .dimmer .content {
width: 100%;
height: 100%;
display: table;
-moz-user-select: text;
}
.profile--avatar .dimmer .content .center {
display: table-cell;
vertical-align: middle;
padding: 20px;
} }

View File

@ -1,10 +1,5 @@
.panel.panel-default .panel.panel-default
.profile--avatar %img.profile--avatar{src: @user.profile_picture.url(:large)}
.dimmer
.content
.center
= render 'user/actions', user: @user, type: :follower
%img{src: @user.profile_picture.url(:large)}
.panel-body .panel-body
- if @user.display_name.blank? - if @user.display_name.blank?
.profile--displayname .profile--displayname
@ -52,4 +47,5 @@
%p.profile--text %p.profile--text
%i.fa.fa-location-arrow %i.fa.fa-location-arrow
= @user.location = @user.location
= render 'user/actions', user: @user, type: :follower
= render 'user/stats', user: @user = render 'user/stats', user: @user