diff --git a/src/fellchensammlung/static/fellchensammlung/css/styles.css b/src/fellchensammlung/static/fellchensammlung/css/styles.css index 12fda08..897d1c3 100644 --- a/src/fellchensammlung/static/fellchensammlung/css/styles.css +++ b/src/fellchensammlung/static/fellchensammlung/css/styles.css @@ -110,9 +110,8 @@ h1, h2 { color: white; } -.header-right select { +select, button { width: 100%; - padding: 10px; border: none; border-radius: 4px; opacity: 1; @@ -141,13 +140,18 @@ h1, h2 { background-color: var(--highlight-two); color: var(--highlight-one-text); + .btn2 { + height: 40px; + margin: 5px; + } + + a:hover, .button_darken:hover { + background-color: var(--highlight-one); + color: var(--highlight-one-text); + } button { - width: 100%; - padding: 10px; - border: none; - border-radius: 4px; - opacity: 1; - background-color: var(--secondary-light-one); + background: inherit; + color: inherit; } } @@ -518,31 +522,4 @@ textarea { .info { border: rgba(17, 58, 224, 0.51) 4px solid; -} - -.container-dropdown { - position: relative; - display: inline-block; -} - -.dropdown-content { - display: none; - position: absolute; - background-color: #f9f9f9; - min-width: 160px; - z-index: 1; -} - -.container-dropdown:hover .dropdown-content { - display: block; -} - - -.dropbtn { - background-color: #f1f1f1; - color: black; - padding: 10px 20px; - font-size: 16px; - border: none; - cursor: pointer; } \ No newline at end of file diff --git a/src/fellchensammlung/templates/fellchensammlung/details/detail-animal-partial.html b/src/fellchensammlung/templates/fellchensammlung/details/detail-animal-partial.html index b282f97..2209b9d 100644 --- a/src/fellchensammlung/templates/fellchensammlung/details/detail-animal-partial.html +++ b/src/fellchensammlung/templates/fellchensammlung/details/detail-animal-partial.html @@ -20,8 +20,8 @@

{{ animal.description }}

{% translate "Bilder" %}

- {% for image in animal.get_photos %} -
+ {% for image in animal.get_photos %} +
{{ image.alt_text }}
{% endfor %} diff --git a/src/fellchensammlung/templates/fellchensammlung/forms/change_language.html b/src/fellchensammlung/templates/fellchensammlung/forms/change_language.html index 786ccdf..3c1349b 100644 --- a/src/fellchensammlung/templates/fellchensammlung/forms/change_language.html +++ b/src/fellchensammlung/templates/fellchensammlung/forms/change_language.html @@ -1,5 +1,5 @@ {% load i18n %} -
+ {% csrf_token %} - - - - -
- +
+ {% include "fellchensammlung/forms/change_language.html" %} + {% if user.is_authenticated %} + Profile + {% csrf_token %} -
- {% else %} - {% translate "Registrieren" %} - {% translate "Einloggen" %} - {% endif %} +
+ {% else %} + {% translate "Registrieren" %} + {% translate "Einloggen" %} + {% endif %} \ No newline at end of file