Last batch of bugfixes (#1262)
* Refactored code to show action bar instead of drawer in immersive mode * Card grid * adding margin for pagination gap * Fixed a rare routing case that wouldn't redirect * Fixed a bug where series detail would show blank filtering * Fixing image scaling and library card spacing * Refactored some methods to be static * Adding card grid to series detail * Fixed a bug with webtoon going to non-webtoon mode, resulting in black screen. * Ensure emails are trimmed when trying to invite. * Don't show More In if there is only 1 item in there on library recommended tab * Fixed some bugs around locking metadata fields where the correct param wasn't being sent to backend. * Added some UI error messaging when the email doesn't match the confirm-email (or rather any email in the system). * Fixed some pages where actions weren't working (library detail) and removed some actionable buttons where they didn't make sense * Refactored the series detail to use Robbie's new grid system. * some styling fixes * Styling fixes - Removing select border gap - fixing switches on lite theme - fixing search result text-light * better css var naming * changing search lite text color override * fixing as per feedback * Removing boolean from being visible in bookreader * Fixed some bugs in bulk operations not being visible on light/eink screens. Added --bulk-selection-highlight-text-color and --bulk-selection-text-color. Co-authored-by: Robbie Davis <robbie@therobbiedavis.com>
This commit is contained in:
parent
6f23a3bc6d
commit
1961b41268
36 changed files with 195 additions and 98 deletions
|
|
@ -192,8 +192,8 @@
|
|||
<div class="mb-3">
|
||||
<label for="publisher" class="form-label">Publisher</label>
|
||||
<app-typeahead (selectedData)="updatePerson($event, PersonRole.Publisher)" [settings]="getPersonsSettings(PersonRole.Publisher)"
|
||||
[(locked)]="metadata.publisherLocked" (onUnlock)="metadata.publisherLocked = false"
|
||||
(newItemAdded)="metadata.publisherLocked = true" (selectedData)="metadata.publisherLocked = true">
|
||||
[(locked)]="metadata.publishersLocked" (onUnlock)="metadata.publishersLocked = false"
|
||||
(newItemAdded)="metadata.publishersLocked = true" (selectedData)="metadata.publishersLocked = true">
|
||||
<ng-template #badgeItem let-item let-position="idx">
|
||||
{{item.name}}
|
||||
</ng-template>
|
||||
|
|
|
|||
|
|
@ -1,9 +1,17 @@
|
|||
.bulk-select {
|
||||
background-color: var(--navbar-bg-color);
|
||||
border-bottom: 2px solid var(--primary-color);
|
||||
color: var(--navbar-text-color);
|
||||
color: var(--bulk-selection-text-color) !important;
|
||||
|
||||
.btn-icon {
|
||||
color: var(--bulk-selection-text-color);
|
||||
}
|
||||
}
|
||||
|
||||
.highlight {
|
||||
color: var(--primary-color) !important;
|
||||
color: var(--bulk-selection-highlight-text-color) !important;
|
||||
}
|
||||
|
||||
::ng-deep button i.fa {
|
||||
color: var(--bulk-selection-text-color);
|
||||
}
|
||||
|
|
@ -35,8 +35,8 @@
|
|||
<ng-container [ngTemplateOutlet]="paginationTemplate" [ngTemplateOutletContext]="{ id: 'bottom' }"></ng-container>
|
||||
|
||||
<ng-template #cardTemplate>
|
||||
<div class="row justify-content-evenly justify-content-sm-start g-0 mb-3">
|
||||
<div class="col-auto ps-1 pe-1 mt-1 mb-1" *ngFor="let item of items; trackBy:trackByIdentity; index as i">
|
||||
<div class="card-container row g-0 mt-3 mb-3">
|
||||
<div class="card col-auto mt-2 mb-2" *ngFor="let item of items; trackBy:trackByIdentity; index as i">
|
||||
<ng-container [ngTemplateOutlet]="itemTemplate" [ngTemplateOutletContext]="{ $implicit: item, idx: i }"></ng-container>
|
||||
</div>
|
||||
|
||||
|
|
|
|||
|
|
@ -0,0 +1,6 @@
|
|||
.card-container {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(auto-fill, 158px);
|
||||
grid-gap: 0.5rem;
|
||||
justify-content: space-around;
|
||||
}
|
||||
|
|
@ -4,7 +4,7 @@ import { FilterSettings } from 'src/app/metadata-filter/filter-settings';
|
|||
import { Breakpoint, UtilityService } from 'src/app/shared/_services/utility.service';
|
||||
import { Library } from 'src/app/_models/library';
|
||||
import { Pagination } from 'src/app/_models/pagination';
|
||||
import { FilterEvent, FilterItem, SeriesFilter, SortField } from 'src/app/_models/series-filter';
|
||||
import { FilterEvent, FilterItem, SeriesFilter } from 'src/app/_models/series-filter';
|
||||
import { ActionItem } from 'src/app/_services/action-factory.service';
|
||||
import { SeriesService } from 'src/app/_services/series.service';
|
||||
|
||||
|
|
|
|||
|
|
@ -25,9 +25,8 @@ $image-width: 160px;
|
|||
padding-right: 0px;
|
||||
box-sizing: border-box;
|
||||
position: relative;
|
||||
background-color: var(--card-bg-color);
|
||||
color: var(--card-text-color);
|
||||
border-color: var(--card-border-color);
|
||||
border: 1px var(--card-border-color);
|
||||
|
||||
}
|
||||
|
||||
|
|
@ -150,6 +149,11 @@ $image-width: 160px;
|
|||
|
||||
.card-body {
|
||||
padding: 5px !important;
|
||||
background-color: var(--card-bg-color);
|
||||
border-width: var(--card-border-width);
|
||||
border-style: var(--card-border-style);
|
||||
border-color: var(--card-border-color);
|
||||
border-radius: 0.25em;
|
||||
}
|
||||
|
||||
.library {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue