mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-03 23:00:14 -05:00
parent
357cb9f201
commit
b6b019621a
2 changed files with 12 additions and 5 deletions
|
@ -190,20 +190,27 @@
|
||||||
|
|
||||||
.user-image {
|
.user-image {
|
||||||
@include box-sizing(border-box);
|
@include box-sizing(border-box);
|
||||||
|
display: table;
|
||||||
position: relative;
|
position: relative;
|
||||||
width: 120px;
|
width: 120px;
|
||||||
height: 120px;
|
height: 120px;
|
||||||
float: left;
|
float: left;
|
||||||
margin-left: 40px;
|
margin-left: 40px;
|
||||||
margin-right: 20px;
|
margin-right: 20px;
|
||||||
border-radius: 60px;
|
text-align: center;
|
||||||
|
border-radius: 100%;
|
||||||
|
overflow: hidden;
|
||||||
border: 5px solid #fff;
|
border: 5px solid #fff;
|
||||||
|
background: $darkgrey;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
|
|
||||||
img {
|
.img {
|
||||||
display: block;
|
display: block;
|
||||||
line-height: 0;
|
width: 100%;
|
||||||
border-radius: 100%;
|
height: 100%;
|
||||||
|
background-image: url(/shared/img/default-user-profile-picture.jpg);
|
||||||
|
background-size: cover;
|
||||||
|
background-position: center center;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
|
@ -17,7 +17,7 @@
|
||||||
<fieldset class="user-details-top">
|
<fieldset class="user-details-top">
|
||||||
|
|
||||||
<figure class="user-image">
|
<figure class="user-image">
|
||||||
<img id="user-image" src="{{#if image}}{{image}}{{else}}/shared/img/default-user-profile-picture.jpg{{/if}}" title="{{name}}" />
|
<a id="user-image" class="img" {{#if image}}style="background-image: url({{image}});"{{/if}} href="#"><span class="hidden">{{name}}'s Picture</span></a>
|
||||||
<button class="edit-user-image js-modal-image">Edit Picture</button>
|
<button class="edit-user-image js-modal-image">Edit Picture</button>
|
||||||
</figure>
|
</figure>
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue