hover active profile

This commit is contained in:
Lukas Schönsgibl
2020-10-12 20:32:51 +02:00
parent 37382700ec
commit e1882a9515
2 changed files with 11 additions and 3 deletions

View File

@@ -102,7 +102,7 @@
<div id="email-conf-{{ forloop.counter }}" class="profile-container" onclick="add_active('email-conf-{{ forloop.counter }}')"> <div id="email-conf-{{ forloop.counter }}" class="profile-container" onclick="add_active('email-conf-{{ forloop.counter }}')">
<img title="{% trans 'Access count' %}: {{ email.access_count }}" src="{% if email.photo %}{% url 'raw_image' email.photo.id %}{% else %}{% static '/img/nobody/80.png' %}{% endif %}"> <img title="{% trans 'Access count' %}: {{ email.access_count }}" src="{% if email.photo %}{% url 'raw_image' email.photo.id %}{% else %}{% static '/img/nobody/80.png' %}{% endif %}">
<h3 class="panel-title email-profile" title="{{ email.email }}"> <h3 class="panel-title email-profile" title="{{ email.email }}">
{{ email.email }} {{ email.email }}
</h3> </h3>
<ul> <ul>
<li> <li>

View File

@@ -742,13 +742,11 @@ color:#335ECF;
.panel-body.profile > div, .panel-body.profile > img { .panel-body.profile > div, .panel-body.profile > img {
text-align: left; text-align: left;
} }
.panel-heading.profile{ .panel-heading.profile{
background: none; background: none;
border-top-left-radius: unset; border-top-left-radius: unset;
border-top-right-radius: unset; border-top-right-radius: unset;
} }
.profile-container > h3{ .profile-container > h3{
color: #353535; color: #353535;
font-weight: bold; font-weight: bold;
@@ -834,3 +832,13 @@ h3.panel-title{
.profile-container.active:hover{ .profile-container.active:hover{
cursor:auto; cursor:auto;
} }
.profile-container:hover ul {
display:block !important;
}
.profile-container:hover img{
max-height:120px;
max-width:120px;
}
.profile-container:hover h3{
padding-top: 12px;
}