bigbuffet-rw/app/styles/components/profile_hover_card.scss

78 lines
1.2 KiB
SCSS
Raw Normal View History

.display-name__account {
position: relative;
cursor: pointer;
}
2020-08-02 16:03:37 -07:00
.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;
2020-08-02 16:03:37 -07:00
width: 265px;
z-index: 998;
left: -10px;
top: 70px;
&--visible {
2020-08-02 16:04:49 -07:00
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;
2020-08-02 16:03:37 -07:00
width: auto;
.user-panel-stats-item a strong {
text-decoration: none;
}
}
.profile-hover-card__badges {
margin: 0 20px 20px;
display: flex;
2020-08-02 16:03:37 -07:00
.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;
}
}