2015-05-14 16:45:37 +03:00
|
|
|
/* User profile /ghost/settings/users/<user>/
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
|
|
|
|
/* User actions menu
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.user-actions-cog {
|
2017-05-30 16:23:38 +03:00
|
|
|
margin-right: 10px
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
2017-04-07 18:23:45 +03:00
|
|
|
.user-actions-cog svg {
|
|
|
|
height: 13px;
|
2017-06-02 00:02:03 +03:00
|
|
|
width: 13px;
|
2017-04-07 18:23:45 +03:00
|
|
|
fill: var(--midgrey);
|
|
|
|
margin-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-actions-cog svg path {
|
|
|
|
stroke: initial;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
.user-actions-menu {
|
2019-10-04 14:28:10 +03:00
|
|
|
top: calc(100% + 6px);
|
|
|
|
right: 10px;
|
2015-05-16 14:43:12 +03:00
|
|
|
left: auto;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-actions-menu.fade-out {
|
|
|
|
animation-duration: 0.01s;
|
2019-10-21 14:09:56 +03:00
|
|
|
pointer-events: none;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Layout
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.settings-user {
|
|
|
|
padding: 0 0 3vw;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-cover {
|
2017-05-17 15:24:31 +03:00
|
|
|
display: block;
|
2015-05-16 14:43:12 +03:00
|
|
|
overflow: hidden;
|
|
|
|
margin: 0;
|
2017-05-17 15:24:31 +03:00
|
|
|
width: 100%;
|
2015-05-14 16:45:37 +03:00
|
|
|
height: 300px;
|
2017-05-17 15:24:31 +03:00
|
|
|
margin-bottom: 30px;
|
2015-05-14 16:45:37 +03:00
|
|
|
background: #fafafa no-repeat center center;
|
|
|
|
background-size: cover;
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-cover-edit {
|
|
|
|
position: absolute;
|
2019-06-18 13:47:21 +03:00
|
|
|
top: 20px;
|
|
|
|
left: 20px;
|
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
|
|
|
}
|
|
|
|
|
2019-06-18 13:47:21 +03:00
|
|
|
.user-details-bottom,
|
2020-10-27 16:07:01 +03:00
|
|
|
.user-details-form {
|
2019-06-18 13:47:21 +03:00
|
|
|
max-width: 540px;
|
|
|
|
margin: 2vw auto 0;
|
|
|
|
}
|
|
|
|
|
2020-10-27 16:07:01 +03:00
|
|
|
.user-details-form {
|
2019-06-18 13:47:21 +03:00
|
|
|
border-top: 1px solid var(--lightgrey);
|
|
|
|
padding-top: 4vw;
|
|
|
|
margin-bottom: -2vw;
|
|
|
|
}
|
|
|
|
|
2015-05-14 16:45:37 +03:00
|
|
|
|
|
|
|
/* Edit user
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.user-profile {
|
|
|
|
position: relative;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media (max-width: 550px) {
|
|
|
|
.user-profile fieldset {
|
|
|
|
padding: 0 15px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.user-profile textarea {
|
2017-05-17 15:24:31 +03:00
|
|
|
min-width: 100%;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/* Profile picture
|
|
|
|
/* ---------------------------------------------------------- */
|
|
|
|
|
|
|
|
.user-image {
|
|
|
|
position: absolute;
|
2019-06-18 13:47:21 +03:00
|
|
|
top: 236px;
|
2017-05-17 15:24:31 +03:00
|
|
|
left: 0;
|
2019-06-18 13:47:21 +03:00
|
|
|
right: 0;
|
2015-05-16 14:43:12 +03:00
|
|
|
z-index: 2;
|
2019-06-18 13:47:21 +03:00
|
|
|
margin: 0 auto;
|
2017-05-17 15:24:31 +03:00
|
|
|
padding: 0;
|
2019-06-18 13:47:21 +03:00
|
|
|
width: 120px;
|
|
|
|
height: 120px;
|
|
|
|
border-radius: 9999px;
|
|
|
|
border: 4px solid var(--white);
|
2015-05-16 14:43:12 +03:00
|
|
|
text-align: center;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-image .img {
|
|
|
|
display: block;
|
2017-05-17 15:24:31 +03:00
|
|
|
width: 100%;
|
|
|
|
height: 100%;
|
2015-05-14 16:45:37 +03:00
|
|
|
background-position: center center;
|
2015-05-16 14:43:12 +03:00
|
|
|
background-size: cover;
|
2019-06-18 13:47:21 +03:00
|
|
|
border-radius: 9999px;
|
2015-05-14 16:45:37 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
.user-image:hover .edit-user-image {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
.edit-user-image {
|
|
|
|
position: absolute;
|
2017-05-17 15:24:31 +03:00
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
2019-06-18 13:47:21 +03:00
|
|
|
height: 100%;
|
2015-05-14 16:45:37 +03:00
|
|
|
background: rgba(0, 0, 0, 0.5);
|
2019-06-18 13:47:21 +03:00
|
|
|
border-radius: 9999px;
|
2015-05-14 16:45:37 +03:00
|
|
|
color: #fff;
|
|
|
|
text-decoration: none;
|
2015-05-16 14:43:12 +03:00
|
|
|
text-transform: uppercase;
|
2017-05-17 15:24:31 +03:00
|
|
|
font-size: 12px;
|
|
|
|
line-height: 100px;
|
2015-05-16 14:43:12 +03:00
|
|
|
opacity: 0;
|
2015-05-14 16:45:37 +03:00
|
|
|
transition: opacity 0.3s ease;
|
|
|
|
}
|