You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
soapbox/app/styles/components/profile_hover_card.scss

78 lines
1.2 KiB

.display-name__account {
position: relative;
cursor: pointer;
}
.display-name .profile-hover-card {
white-space: normal;
}
.profile-hover-card {
@include standard-panel;
position: absolute;
pointer-events: none;
opacity: 0;
transition-property: opacity;
transition-duration: 0.2s;
transition-delay: 0.7s;
width: 265px;
z-index: 998;
left: -10px;
top: 70px;
&--visible {
4 years ago
opacity: 1;
pointer-events: all;
}
@media(min-width: 750px) {
left: -80px;
}
.profile-hover-card__container {
position: relative;
}
.profile-hover-card__action-button {
z-index: 999;
position: absolute;
right: 20px;
top: 120px;
}
.user-panel {
box-shadow: none;
width: auto;
.user-panel-stats-item a strong {
text-decoration: none;
}
}
.profile-hover-card__badges {
margin: 0 20px 20px;
display: flex;
.badge,
.relationship-tag {
padding: 2px 4px;
margin-right: 5px;
border-radius: 3px;
font-size: 11px;
opacity: 1;
}
}
.profile-hover-card__bio {
margin: 0 20px 20px;
}
}
.detailed-status {
.profile-hover-card {
top: -20px;
left: 80px;
}
}