mirror of
https://github.com/paperless-ngx/paperless-ngx.git
synced 2025-07-28 18:24:38 -05:00
Fix: hover colors, empty lists, disable autocomplete, translation strings
This commit is contained in:
@@ -86,9 +86,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li *ngIf="groups.length === 0" class="list-group-item" i18n>No groups defined</li>
|
||||
</ul>
|
||||
|
||||
<div *ngIf="groups.length === 0">No groups defined</div>
|
||||
</ng-container>
|
||||
|
||||
<div *ngIf="!users || !groups">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()">
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()" autocomplete="off">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="modal-basic-title">{{getTitle()}}</h4>
|
||||
<button type="button" [disabled]="!closeEnabled" class="btn-close" aria-label="Close" (click)="cancel()">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()">
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()" autocomplete="off">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="modal-basic-title">{{getTitle()}}</h4>
|
||||
<button type="button" [disabled]="!closeEnabled" class="btn-close" aria-label="Close" (click)="cancel()">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()">
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()" autocomplete="off">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="modal-basic-title">{{getTitle()}}</h4>
|
||||
<button type="button" [disabled]="!closeEnabled" class="btn-close" aria-label="Close" (click)="cancel()">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()">
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()" autocomplete="off">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="modal-basic-title">{{getTitle()}}</h4>
|
||||
<button type="button" [disabled]="!closeEnabled" class="btn-close" aria-label="Close" (click)="cancel()">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()">
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()" autocomplete="off">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="modal-basic-title">{{getTitle()}}</h4>
|
||||
<button type="button" [disabled]="!closeEnabled" class="btn-close" aria-label="Close" (click)="cancel()">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()">
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()" autocomplete="off">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="modal-basic-title">{{getTitle()}}</h4>
|
||||
<button type="button" [disabled]="!closeEnabled" class="btn-close" aria-label="Close" (click)="cancel()">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()">
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()" autocomplete="off">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="modal-basic-title">{{getTitle()}}</h4>
|
||||
<button type="button" [disabled]="!closeEnabled" class="btn-close" aria-label="Close" (click)="cancel()">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()">
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()" autocomplete="off">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="modal-basic-title">{{getTitle()}}</h4>
|
||||
<button type="button" [disabled]="!closeEnabled" class="btn-close" aria-label="Close" (click)="cancel()">
|
||||
|
@@ -1,4 +1,4 @@
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()">
|
||||
<form [formGroup]="objectForm" (ngSubmit)="save()" autocomplete="off">
|
||||
<div class="modal-header">
|
||||
<h4 class="modal-title" id="modal-basic-title">{{getTitle()}}</h4>
|
||||
<button type="button" [disabled]="!closeEnabled" class="btn-close" aria-label="Close" (click)="cancel()">
|
||||
|
@@ -39,6 +39,5 @@
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li *ngIf="templates.length === 0" class="list-group-item" i18n>No templates defined.</li>
|
||||
</ul>
|
||||
|
||||
<div *ngIf="templates.length === 0" i18n>No templates defined.</div>
|
||||
|
@@ -45,9 +45,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li *ngIf="mailAccounts.length === 0" class="list-group-item" i18n>No mail accounts defined.</li>
|
||||
</ul>
|
||||
|
||||
<div *ngIf="mailAccounts.length === 0" i18n>No mail accounts defined.</div>
|
||||
</ng-container>
|
||||
|
||||
<ng-container *pngxIfPermissions="{ action: PermissionAction.View, type: PermissionType.MailRule }">
|
||||
@@ -94,9 +94,9 @@
|
||||
</div>
|
||||
</div>
|
||||
</li>
|
||||
<li *ngIf="mailRules.length === 0" class="list-group-item" i18n>No mail rules defined.</li>
|
||||
</ul>
|
||||
|
||||
<div *ngIf="mailRules.length === 0" i18n>No mail rules defined.</div>
|
||||
</ng-container>
|
||||
|
||||
<div *ngIf="!mailAccounts || !mailRules">
|
||||
|
@@ -193,7 +193,7 @@ a, a:hover,
|
||||
.btn-link:hover,
|
||||
.btn-link:active,
|
||||
.btn-link:focus-visible {
|
||||
color: var(--pngx-primary-darken-15) !important;
|
||||
color: var(--pngx-primary-darken-10) !important;
|
||||
}
|
||||
|
||||
a.btn-link:hover,
|
||||
|
@@ -17,6 +17,7 @@ $color-mode-type: data;
|
||||
--pngx-primary-faded: hsl(var(--pngx-primary), calc(var(--pngx-primary-lightness) + 76%));
|
||||
--pngx-primary-lighten-30: hsl(var(--pngx-primary), calc(var(--pngx-primary-lightness) + 30%));
|
||||
--pngx-primary-darken-5: hsl(var(--pngx-primary), calc(var(--pngx-primary-lightness) - 5%));
|
||||
--pngx-primary-darken-10: hsl(var(--pngx-primary), calc(var(--pngx-primary-lightness) - 10%));
|
||||
--pngx-primary-darken-15: hsl(var(--pngx-primary), calc(var(--pngx-primary-lightness) - 15%));
|
||||
--pngx-primary-darken-18: hsl(var(--pngx-primary), calc(var(--pngx-primary-lightness) - 18%));
|
||||
--pngx-primary-darken-27: hsl(var(--pngx-primary), calc(var(--pngx-primary-lightness) - 27%));
|
||||
|
Reference in New Issue
Block a user