move deactivated profile logic to css
This commit is contained in:
parent
22abaafd7a
commit
d74a1908c7
4 changed files with 33 additions and 5 deletions
Binary file not shown.
Binary file not shown.
|
@ -212,7 +212,22 @@
|
|||
margin-top: 50px;
|
||||
}
|
||||
}
|
||||
} // end .account__header
|
||||
}
|
||||
|
||||
.account__header.deactivated {
|
||||
.still-image img,
|
||||
.still-image canvas {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.account__header__extra__links,
|
||||
.account__header__extra__buttons {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
// end .account__header
|
||||
|
||||
.account-timeline {
|
||||
&__header {
|
||||
|
|
|
@ -126,14 +126,31 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
&__deactivated {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.profile-info-panel.deactivated {
|
||||
|
||||
.profile-info-panel-content__name h1 small,
|
||||
.profile-info-panel-content__badges__join-date,
|
||||
.profile-info-panel-content__bio,
|
||||
.profile-info-panel-content__fields {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.profile-info-panel__name-content {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.profile-info-panel-content__deactivated {
|
||||
color: var(--primary-text-color--faint);
|
||||
display: block;
|
||||
}
|
||||
|
||||
.profile-info-panel__name-content::before {
|
||||
content: '[';
|
||||
}
|
||||
|
@ -141,8 +158,4 @@
|
|||
.profile-info-panel__name-content::after {
|
||||
content: ']';
|
||||
}
|
||||
|
||||
.profile-info-panel-content__deactivated {
|
||||
color: var(--primary-text-color--faint);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue