2015-05-14 16:45:37 +03:00
|
|
|
/* User profile /ghost/settings/users/<user>/
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
|
|
/* User actions menu
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.user-actions-cog {
|
|
|
|
margin-right: 10px;
|
2015-05-16 14:43:12 +03:00
|
|
|
padding: 9px 11px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-04-07 18:23:45 +03:00
|
|
|
.user-actions-cog svg {
|
|
|
|
height: 13px;
|
|
|
|
width: auto;
|
|
|
|
fill: var(--midgrey);
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-actions-cog svg path {
|
|
|
|
stroke: initial;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.user-actions-menu {
|
|
|
|
top: calc(100% + 17px);
|
2015-05-16 14:43:12 +03:00
|
|
|
right: 0;
|
|
|
|
left: auto;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-actions-menu.fade-out {
|
|
|
|
animation-duration: 0.01s;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Layout
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.content.settings-user {
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 901px) {
|
|
|
|
.content.settings-user {
|
|
|
|
padding: 0 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-cover {
|
|
|
|
position: relative;
|
2015-05-16 14:43:12 +03:00
|
|
|
overflow: hidden;
|
|
|
|
margin: 0;
|
2015-05-14 16:45:37 +03:00
|
|
|
width: auto;
|
|
|
|
height: 300px;
|
|
|
|
background: #fafafa no-repeat center center;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 900px) {
|
|
|
|
.user-cover {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-cover:after {
|
|
|
|
/* Gradient overlay */
|
|
|
|
content: "";
|
|
|
|
position: absolute;
|
|
|
|
right: 0;
|
|
|
|
bottom: 0;
|
2015-05-16 14:43:12 +03:00
|
|
|
left: 0;
|
2015-05-14 16:45:37 +03:00
|
|
|
height: 110px;
|
|
|
|
background: linear-gradient(transparent, rgba(0, 0, 0, 0.18));
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-cover-edit {
|
|
|
|
position: absolute;
|
2015-08-13 11:04:45 +03:00
|
|
|
top: 30px;
|
|
|
|
left: 35px;
|
2015-05-16 14:43:12 +03:00
|
|
|
z-index: 2;
|
2015-05-14 16:45:37 +03:00
|
|
|
min-height: 37px;
|
|
|
|
height: 37px;
|
|
|
|
border-width: 0;
|
2015-05-16 14:43:12 +03:00
|
|
|
background: rgba(0, 0, 0, 0.3);
|
2015-05-14 16:45:37 +03:00
|
|
|
border-radius: var(--border-radius);
|
2015-05-16 14:43:12 +03:00
|
|
|
color: rgba(255, 255, 255, 0.8);
|
2017-02-16 22:50:05 +03:00
|
|
|
text-shadow: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
transition: color 0.3s ease, background 0.3s ease;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-cover-edit:hover {
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
2015-05-16 14:43:12 +03:00
|
|
|
color: #fff;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Edit user
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
@media (min-width: 651px) {
|
|
|
|
.first-form-group {
|
2015-08-13 11:04:45 +03:00
|
|
|
margin-right: 20px;
|
|
|
|
padding-left: 40px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
2015-08-13 11:04:45 +03:00
|
|
|
.first-form-group input {
|
|
|
|
max-width: 100%;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-details-top {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 650px) {
|
|
|
|
.user-details-top {
|
|
|
|
margin-top: 40px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 651px) {
|
|
|
|
.user-details-top {
|
|
|
|
margin-top: -91px;
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding: 0;
|
|
|
|
}
|
|
|
|
.user-details-top p {
|
|
|
|
color: #fff;
|
|
|
|
}
|
|
|
|
.user-details-top label[for="user-name"] {
|
|
|
|
color: transparent;
|
|
|
|
}
|
|
|
|
.user-details-top .user-name {
|
|
|
|
border-color: #fff;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 651px) {
|
|
|
|
.user-profile {
|
2015-08-13 11:04:45 +03:00
|
|
|
padding-right: 20px;
|
2015-05-14 16:45:37 +03:00
|
|
|
padding-left: 143px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 650px) {
|
|
|
|
.user-profile fieldset {
|
|
|
|
padding: 0 40px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 550px) {
|
|
|
|
.user-profile fieldset {
|
|
|
|
padding: 0 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile textarea {
|
|
|
|
min-width: 240px;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Profile picture
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.user-image {
|
|
|
|
position: absolute;
|
2015-05-16 14:43:12 +03:00
|
|
|
z-index: 2;
|
|
|
|
display: block;
|
2015-05-14 16:45:37 +03:00
|
|
|
float: left;
|
|
|
|
overflow: hidden;
|
2015-05-16 14:43:12 +03:00
|
|
|
margin-right: 20px;
|
|
|
|
margin-left: -6px;
|
|
|
|
padding: 3px;
|
|
|
|
width: 126px;
|
|
|
|
height: 126px;
|
2015-05-14 16:45:37 +03:00
|
|
|
background: #fff;
|
2015-05-16 14:43:12 +03:00
|
|
|
border-radius: 100%;
|
|
|
|
text-align: center;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
@media (min-width: 651px) {
|
|
|
|
.user-image {
|
|
|
|
top: -19px;
|
|
|
|
left: -98px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 650px) {
|
|
|
|
.user-image {
|
2015-08-13 11:04:45 +03:00
|
|
|
top: -135px;
|
|
|
|
left: 50%;
|
|
|
|
margin-right: 0;
|
|
|
|
margin-left: -63px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-image .img {
|
|
|
|
display: block;
|
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
background-position: center center;
|
2015-05-16 14:43:12 +03:00
|
|
|
background-size: cover;
|
2015-05-14 16:45:37 +03:00
|
|
|
border-radius: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-image:hover .edit-user-image {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-user-image {
|
|
|
|
position: absolute;
|
|
|
|
top: 3px;
|
|
|
|
right: 3px;
|
|
|
|
bottom: 3px;
|
|
|
|
left: 3px;
|
|
|
|
width: calc(100% - 6px);
|
|
|
|
background: rgba(0, 0, 0, 0.5);
|
2015-05-16 14:43:12 +03:00
|
|
|
border-radius: 100%;
|
2015-05-14 16:45:37 +03:00
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
2015-05-16 14:43:12 +03:00
|
|
|
text-transform: uppercase;
|
|
|
|
line-height: 120px;
|
|
|
|
opacity: 0;
|
2015-05-14 16:45:37 +03:00
|
|
|
transition: opacity 0.3s ease;
|
|
|
|
}
|