205 lines
4.1 KiB
SCSS
205 lines
4.1 KiB
SCSS
.account__header {
|
|
&.inactive {
|
|
opacity: 0.5;
|
|
|
|
.account__header__image,
|
|
.account__avatar {
|
|
filter: grayscale(100%);
|
|
}
|
|
}
|
|
|
|
&__info {
|
|
position: absolute;
|
|
top: 10px;
|
|
left: 10px;
|
|
}
|
|
|
|
&__image {
|
|
overflow: hidden;
|
|
height: 350px;
|
|
position: relative;
|
|
background: var(--accent-color--med);
|
|
@media screen and (max-width: 895px) {height: 225px;}
|
|
&--none {height: 125px;}
|
|
|
|
img {
|
|
object-fit: cover;
|
|
display: block;
|
|
width: 100%;
|
|
height: 100%;
|
|
margin: 0;
|
|
}
|
|
}
|
|
|
|
&__bar {
|
|
display: block;
|
|
min-height: 74px;
|
|
width: 100%;
|
|
position: relative;
|
|
background: var(--accent-color--med);
|
|
@media (min-width: 895px) {height: 74px;}
|
|
}
|
|
|
|
&__avatar {
|
|
display: block;
|
|
position: absolute;
|
|
border: 5px solid var(--accent-color--faint);
|
|
left: 0;
|
|
top: -90px;
|
|
border-radius: 50%;
|
|
height: 200px;
|
|
width: 200px;
|
|
background-color: var(--foreground-color);
|
|
|
|
// NOTE - patch fix for avatar size. Wrapper may not be needed when I do polish up on the page
|
|
.account__avatar {
|
|
width: 200px;
|
|
height: 200px;
|
|
background-size: 200px 200px;
|
|
}
|
|
|
|
@media screen and (max-width: 895px) {
|
|
top: -45px;
|
|
left: 10px;
|
|
height: 90px;
|
|
width: 90px;
|
|
|
|
.account__avatar {
|
|
width: 90px;
|
|
height: 90px;
|
|
background-size: 90px 90px;
|
|
}
|
|
}
|
|
|
|
}
|
|
|
|
&__extra {
|
|
display: flex;
|
|
flex-direction: row;
|
|
height: 100%;
|
|
margin: 0 auto;
|
|
padding-left: 310px;
|
|
width: 100%;
|
|
max-width: 1200px;
|
|
box-sizing: border-box;
|
|
position: relative;
|
|
@media (min-width: 895px) and (max-width: 1190px) {
|
|
max-width: 900px;
|
|
padding-left: 300px;
|
|
}
|
|
@media screen and (max-width: 895px) {
|
|
max-width: 900px;
|
|
padding: 10px 10px 0;
|
|
flex-direction: column-reverse;
|
|
min-height: 50px;
|
|
}
|
|
|
|
&__buttons {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: auto;
|
|
|
|
.icon-button {
|
|
border: 1px solid var(--brand-color--med);
|
|
border-radius: 4px;
|
|
box-sizing: content-box;
|
|
padding: 2px;
|
|
|
|
> div {
|
|
line-height: 31px !important;
|
|
}
|
|
}
|
|
|
|
.button { margin-right: 10px; }
|
|
}
|
|
|
|
&__links {
|
|
display: flex;
|
|
font-size: 14px;
|
|
color: var(--primary-text-color--faint);
|
|
@media screen and (max-width: 895px) {
|
|
justify-content: center;
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
a {
|
|
display: inline-block;
|
|
text-decoration: none;
|
|
padding: 16px 22px;
|
|
text-align: center;
|
|
@media screen and (max-width: 1190px) {padding: 16px;}
|
|
|
|
> span {
|
|
display: block;
|
|
|
|
&:first-of-type {
|
|
color: var(--primary-text-color);
|
|
font-size: 20px;
|
|
font-weight: 800;
|
|
line-height: 24px;
|
|
@media screen and (max-width: 895px) {
|
|
font-size: 16px;
|
|
line-height: 20px;
|
|
}
|
|
}
|
|
|
|
&:last-of-type {
|
|
color: var(--primary-text-color--faint);
|
|
font-size: 12px;
|
|
line-height: 14px;
|
|
padding-top: 2px;
|
|
}
|
|
}
|
|
|
|
&:hover,
|
|
&.active {
|
|
border-bottom: 2px solid var(--primary-text-color);
|
|
}
|
|
&.score {border-bottom: 0 !important;}
|
|
}
|
|
}
|
|
} // end .account__header__extra
|
|
@media screen and (max-width: 895px) {
|
|
.account-mobile-container {
|
|
display: block;
|
|
background: var(--accent-color--faint);
|
|
margin-top: 10px;
|
|
position: relative;
|
|
padding: 10px 10px 0;
|
|
&--nonuser {padding: 10px 10px 15px;}
|
|
}
|
|
}
|
|
} // end .account__header
|
|
|
|
.account-timeline {
|
|
&__header {
|
|
display: block;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.account__header__content {
|
|
color: var(--primary-text-color--faint);
|
|
font-size: 14px;
|
|
font-weight: 400;
|
|
overflow: hidden;
|
|
word-break: normal;
|
|
word-wrap: break-word;
|
|
|
|
p {
|
|
margin-bottom: 20px;
|
|
|
|
&:last-child {
|
|
margin-bottom: 0;
|
|
}
|
|
}
|
|
|
|
a {
|
|
color: inherit;
|
|
text-decoration: underline;
|
|
|
|
&:hover {
|
|
text-decoration: none;
|
|
}
|
|
}
|
|
}
|