grey/black coloring profile page

This commit is contained in:
Lukas Schönsgibl
2020-10-07 07:59:20 +02:00
parent 539f3a98ac
commit aace95962c
2 changed files with 12 additions and 7 deletions

View File

@@ -66,9 +66,6 @@ outline: inherit;
display: contents; display: contents;
} }
} }
.panel-heading{
background: #70768682;
}
</style> </style>
{% if user.confirmedemail_set.count or user.confirmedopenid_set.count %} {% if user.confirmedemail_set.count or user.confirmedopenid_set.count %}
@@ -78,7 +75,7 @@ outline: inherit;
<form action="{% url 'remove_confirmed_email' email.id %}" method="post"> <form action="{% url 'remove_confirmed_email' email.id %}" method="post">
{% csrf_token %} {% csrf_token %}
<div> <div>
<div class="panel-heading" style="padding-right:0"> <div class="panel-heading profile" style="padding-right:0">
<h3 class="panel-title" title="{{ email.email }}" style="display:inline-flex"> <h3 class="panel-title" title="{{ email.email }}" style="display:inline-flex">
{{ email.email }} {{ email.email }}
</h3> </h3>
@@ -102,9 +99,9 @@ outline: inherit;
{% for openid in user.confirmedopenid_set.all %} {% for openid in user.confirmedopenid_set.all %}
<form action="{% url 'remove_confirmed_openid' openid.id %}" method="post">{% csrf_token %} <form action="{% url 'remove_confirmed_openid' openid.id %}" method="post">{% csrf_token %}
<div> <div>
<div class="panel-heading" style="padding-right:0"> <div class="panel-heading profile" style="padding-right:0">
<h3 class="panel-title" title="{{ openid.openid }}" style="display:inline-flex"><a href="{% url 'assign_photo_openid' openid.pk %}"><i class="fa fa-edit"></i></a>&nbsp; <h3 class="panel-title" title="{{ openid.openid }}" style="display:inline-flex">
{{ openid.openid|cut:"http://"|cut:"https://"|truncatechars:12 }}</h3> {{ openid.openid|cut:"http://"|cut:"https://"|truncatechars:30 }}</h3>
</div> </div>
<div class="panel-body profile"> <div class="panel-body profile">
<img title="{% trans 'Access count' %}: {{ openid.access_count }}" style="max-height:100px;max-width:100px" src="{% if openid.photo %}{% url 'raw_image' openid.photo.id %}{% else %}{% static '/img/nobody/80.png' %}{% endif %}"> <img title="{% trans 'Access count' %}: {{ openid.access_count }}" style="max-height:100px;max-width:100px" src="{% if openid.photo %}{% url 'raw_image' openid.photo.id %}{% else %}{% static '/img/nobody/80.png' %}{% endif %}">

View File

@@ -747,3 +747,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{
background: #A8BCC7;
border-top-left-radius: unset;
border-top-right-radius: unset;
}
.panel-heading.profile > h3{
color: #353535;
}