One more styling tweak

This commit is contained in:
shamoon 2024-05-19 11:19:33 -07:00
parent 541296015d
commit c9cc62e8f6
2 changed files with 14 additions and 10 deletions

View File

@ -16,10 +16,6 @@ body {
letter-spacing: 0.1rem; letter-spacing: 0.1rem;
} }
.mt-n1 {
margin-top: -0.8rem;
}
.text-primary { .text-primary {
color: var(--pngx-primary) !important; color: var(--pngx-primary) !important;
} }
@ -45,6 +41,7 @@ body {
.form-accounts { .form-accounts {
max-width: 330px; max-width: 330px;
min-width: 300px;
} }
.form-stacked-top input { .form-stacked-top input {
@ -91,4 +88,8 @@ body {
svg.logo .text { svg.logo .text {
fill: #abb2bf !important; fill: #abb2bf !important;
} }
.byline {
color: #abb2bf;
}
} }

View File

@ -25,15 +25,18 @@
{% else %} {% else %}
{% if APP_LOGO %} {% if APP_LOGO %}
<img src="{{APP_LOGO}}" width="300" class="logo mb-1" /> <img src="{{APP_LOGO}}" width="300" class="logo mb-1" />
<div class="d-flex flex-column align-items-end mb-4">
<span class="byline text-uppercase font-monospace">by Paperless-ngx</span>
</div>
{% else %} {% else %}
<h1 class="text-primary font-weight-normal mb-1"> <h1 class="font-weight-normal text-primary mb-1 d-flex justify-content-center align-items-start">
{% include "paperless-ngx/snippets/svg_leaf.html" with extra_attrs="width='30' class='mt-n1'" %} {% include "paperless-ngx/snippets/svg_leaf.html" with extra_attrs="width='30' class='mt-2'" %}
<span class="ms-2">{{ APP_TITLE }}</span> <div class="d-flex flex-column align-items-end mb-4">
<span class="ms-2">{{ APP_TITLE }}</span>
<span class="byline text-uppercase font-monospace">by Paperless-ngx</span>
</div>
</h1> </h1>
{% endif %} {% endif %}
<div class="d-flex flex-column align-items-end mb-4">
<span class="byline text-uppercase font-monospace">by Paperless-ngx</span>
</div>
{% endif %} {% endif %}
{% for message in messages %} {% for message in messages %}
<div class="alert alert-{{ message.level_tag }}" role="alert"> <div class="alert alert-{{ message.level_tag }}" role="alert">