chore(ui): add tailwind 4.3 and update classes (#1379)
This commit is contained in:
+1
-1
@@ -76,7 +76,7 @@
|
||||
@if (author.description) {
|
||||
<div class="description-box">
|
||||
<div #descriptionContent
|
||||
[ngClass]="{'line-clamp-5': !isExpanded, 'line-clamp-none': isExpanded}"
|
||||
[ngClass]="{'line-clamp-5': !isExpanded}"
|
||||
class="description-container">
|
||||
<div class="readonly-editor">{{ author.description }}</div>
|
||||
</div>
|
||||
|
||||
-11
@@ -144,17 +144,6 @@
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.line-clamp-5 {
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 5;
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.line-clamp-none {
|
||||
-webkit-line-clamp: unset;
|
||||
}
|
||||
|
||||
.readonly-editor {
|
||||
font-size: 0.9rem;
|
||||
color: #d1d5db;
|
||||
|
||||
-8
@@ -44,14 +44,6 @@
|
||||
}
|
||||
}
|
||||
|
||||
.flex-1 {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.flex-2 {
|
||||
flex: 2;
|
||||
}
|
||||
|
||||
.form-group {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
+1
-1
@@ -26,7 +26,7 @@
|
||||
[rounded]="true"
|
||||
[pTooltip]="book.metadata?.title"
|
||||
tooltipPosition="top"
|
||||
[ngClass]="{ 'visible': isHovered }"
|
||||
[ngClass]="{ 'is-visible': isHovered }"
|
||||
(onClick)="openBookInfo(book)">
|
||||
</p-button>
|
||||
}
|
||||
|
||||
+1
-1
@@ -29,7 +29,7 @@
|
||||
transition: opacity 0.2s ease-in-out;
|
||||
z-index: 2;
|
||||
|
||||
&.visible {
|
||||
&.is-visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
@@ -261,7 +261,7 @@
|
||||
<span>{{ t('synopsis') }}</span>
|
||||
</div>
|
||||
<div class="description-body">
|
||||
<div #descriptionContent [ngClass]="{ 'line-clamp-7': !isExpanded() }"
|
||||
<div #descriptionContent [ngClass]="{ 'description-content-collapsed': !isExpanded() }"
|
||||
class="description-content">
|
||||
<div class="description-html"
|
||||
[innerHTML]="firstDescription() || t('noDescription')"></div>
|
||||
|
||||
@@ -328,11 +328,11 @@
|
||||
transition: max-height 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.description-content.line-clamp-7 {
|
||||
.description-content.description-content-collapsed {
|
||||
max-height: 37px;
|
||||
}
|
||||
|
||||
.description-content:not(.line-clamp-7) {
|
||||
.description-content:not(.description-content-collapsed) {
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
|
||||
+2
-2
@@ -374,7 +374,7 @@
|
||||
@if (book?.shelves?.length) {
|
||||
<div class="metadata-item">
|
||||
<span class="metadata-key">{{ t('shelvesLabel') }}</span>
|
||||
<div class="metadata-value-group flex-wrap">
|
||||
<div class="metadata-value-group">
|
||||
@for (shelf of book.shelves; track shelf.id; let isLast = $last) {
|
||||
<span class="metadata-value metadata-link" role="button" tabindex="0" (click)="goToShelf(shelf.id!)" (keydown.enter)="goToShelf(shelf.id!)">
|
||||
{{ shelf.name }}
|
||||
@@ -716,7 +716,7 @@
|
||||
<span>{{ t('synopsisTitle') }}</span>
|
||||
</div>
|
||||
<div class="description-body">
|
||||
<div #descriptionContent [ngClass]="{ 'line-clamp-7': !isExpanded }" class="description-content">
|
||||
<div #descriptionContent [ngClass]="{ 'description-content-collapsed': !isExpanded }" class="description-content">
|
||||
<div class="description-html" [innerHTML]="sanitizeDescription(book.metadata!.description)"></div>
|
||||
</div>
|
||||
@if (isExpanded || isOverflowing) {
|
||||
|
||||
+2
-2
@@ -702,11 +702,11 @@
|
||||
transition: max-height 0.3s ease-in-out;
|
||||
}
|
||||
|
||||
.description-content.line-clamp-7 {
|
||||
.description-content.description-content-collapsed {
|
||||
max-height: 37px;
|
||||
}
|
||||
|
||||
.description-content:not(.line-clamp-7) {
|
||||
.description-content:not(.description-content-collapsed) {
|
||||
max-height: none;
|
||||
}
|
||||
|
||||
|
||||
+12
-12
@@ -31,30 +31,30 @@
|
||||
</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="table-cell" style="max-width: 70px; width: 70px;"></td>
|
||||
<td class="table-cell set-all-label" style="max-width: 127px; width: 127px;">{{ t('setAll') }}</td>
|
||||
<td class="table-cell">
|
||||
<td class="metadata-table-cell" style="max-width: 70px; width: 70px;"></td>
|
||||
<td class="metadata-table-cell set-all-label" style="max-width: 127px; width: 127px;">{{ t('setAll') }}</td>
|
||||
<td class="metadata-table-cell">
|
||||
<p-select [options]="providersWithClear" [(ngModel)]="bulkP1"
|
||||
(ngModelChange)="setBulkProvider('p1', $event)"
|
||||
[placeholder]="t('setAllP1')" appendTo="body"
|
||||
class="select-full-width" size="small">
|
||||
</p-select>
|
||||
</td>
|
||||
<td class="table-cell">
|
||||
<td class="metadata-table-cell">
|
||||
<p-select [options]="providersWithClear" [(ngModel)]="bulkP2"
|
||||
(ngModelChange)="setBulkProvider('p2', $event)"
|
||||
[placeholder]="t('setAllP2')" appendTo="body"
|
||||
class="select-full-width" size="small">
|
||||
</p-select>
|
||||
</td>
|
||||
<td class="table-cell">
|
||||
<td class="metadata-table-cell">
|
||||
<p-select [options]="providersWithClear" [(ngModel)]="bulkP3"
|
||||
(ngModelChange)="setBulkProvider('p3', $event)"
|
||||
[placeholder]="t('setAllP3')" appendTo="body"
|
||||
class="select-full-width" size="small">
|
||||
</p-select>
|
||||
</td>
|
||||
<td class="table-cell">
|
||||
<td class="metadata-table-cell">
|
||||
<p-select [options]="providersWithClear" [(ngModel)]="bulkP4"
|
||||
(ngModelChange)="setBulkProvider('p4', $event)"
|
||||
[placeholder]="t('setAllP4')" appendTo="body"
|
||||
@@ -66,34 +66,34 @@
|
||||
<tbody>
|
||||
@for (field of nonProviderSpecificFields; track field) {
|
||||
<tr [hidden]="field === 'cover' && !refreshCovers" [class.row-disabled]="!enabledFields[field]">
|
||||
<td class="table-cell-sm" style="max-width: 70px; width: 70px;">
|
||||
<td class="metadata-table-cell-sm" style="max-width: 70px; width: 70px;">
|
||||
<p-checkbox [(ngModel)]="enabledFields[field]" [binary]="true"
|
||||
[pTooltip]="t('enableFieldTooltip')"
|
||||
tooltipPosition="top"></p-checkbox>
|
||||
</td>
|
||||
<td class="table-cell-sm field-label" style="max-width: 127px; width: 127px;">{{ formatLabel(field) }}</td>
|
||||
<td class="table-cell-sm">
|
||||
<td class="metadata-table-cell-sm field-label" style="max-width: 127px; width: 127px;">{{ formatLabel(field) }}</td>
|
||||
<td class="metadata-table-cell-sm">
|
||||
<p-select [options]="providers" [(ngModel)]="fieldOptions[field].p1"
|
||||
[disabled]="!enabledFields[field]"
|
||||
[placeholder]="t('unset')" appendTo="body"
|
||||
class="select-full-width" size="small">
|
||||
</p-select>
|
||||
</td>
|
||||
<td class="table-cell-sm">
|
||||
<td class="metadata-table-cell-sm">
|
||||
<p-select [options]="providers" [(ngModel)]="fieldOptions[field].p2"
|
||||
[disabled]="!enabledFields[field]"
|
||||
[placeholder]="t('unset')" appendTo="body"
|
||||
class="select-full-width" size="small">
|
||||
</p-select>
|
||||
</td>
|
||||
<td class="table-cell-sm">
|
||||
<td class="metadata-table-cell-sm">
|
||||
<p-select [options]="providers" [(ngModel)]="fieldOptions[field].p3"
|
||||
[disabled]="!enabledFields[field]"
|
||||
[placeholder]="t('unset')" appendTo="body"
|
||||
class="select-full-width" size="small">
|
||||
</p-select>
|
||||
</td>
|
||||
<td class="table-cell-sm">
|
||||
<td class="metadata-table-cell-sm">
|
||||
<p-select [options]="providers" [(ngModel)]="fieldOptions[field].p4"
|
||||
[disabled]="!enabledFields[field]"
|
||||
[placeholder]="t('unset')" appendTo="body"
|
||||
|
||||
+2
-2
@@ -26,11 +26,11 @@
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.table-cell {
|
||||
.metadata-table-cell {
|
||||
padding: 0.5rem 1rem;
|
||||
}
|
||||
|
||||
.table-cell-sm {
|
||||
.metadata-table-cell-sm {
|
||||
padding: 0.375rem 1rem;
|
||||
}
|
||||
|
||||
|
||||
@@ -105,7 +105,7 @@
|
||||
}
|
||||
@if (nextBookInSeries()) {
|
||||
<div class="cbx-continuation-spacer" aria-hidden="true"></div>
|
||||
<div class="cbx-continuation-hint" [class.visible]="continuationHintVisible()" aria-live="polite">
|
||||
<div class="cbx-continuation-hint" [class.is-visible]="continuationHintVisible()" aria-live="polite">
|
||||
{{ 'readerCbx.continuation.scrollForNext' | transloco }}
|
||||
</div>
|
||||
}
|
||||
@@ -137,7 +137,7 @@
|
||||
}
|
||||
@if (nextBookInSeries()) {
|
||||
<div class="cbx-continuation-spacer" aria-hidden="true"></div>
|
||||
<div class="cbx-continuation-hint" [class.visible]="continuationHintVisible()" aria-live="polite">
|
||||
<div class="cbx-continuation-hint" [class.is-visible]="continuationHintVisible()" aria-live="polite">
|
||||
{{ 'readerCbx.continuation.scrollForNext' | transloco }}
|
||||
</div>
|
||||
}
|
||||
@@ -155,7 +155,7 @@
|
||||
}
|
||||
|
||||
@if (clickToPaginate()) {
|
||||
<div class="click-overlay visible" [class.rtl-overlay]="readingDirection() === CbxReadingDirection.RTL"
|
||||
<div class="click-overlay is-visible" [class.rtl-overlay]="readingDirection() === CbxReadingDirection.RTL"
|
||||
[class.magnifier-disabled]="isMagnifierActive()">
|
||||
<div class="click-zone click-zone-prev" role="button" tabindex="0" (click)="onClickZonePrev($event)"
|
||||
(keydown.enter)="onClickZonePrev($event)">
|
||||
|
||||
@@ -17,7 +17,7 @@
|
||||
transition: opacity 0.35s ease, transform 0.35s ease, color 0.35s ease;
|
||||
pointer-events: none;
|
||||
|
||||
&.visible {
|
||||
&.is-visible {
|
||||
opacity: 1;
|
||||
transform: translateY(0);
|
||||
color: rgb(255 255 255 / 72%);
|
||||
@@ -857,7 +857,7 @@
|
||||
opacity: 0;
|
||||
transition: opacity 0.3s ease;
|
||||
|
||||
&.visible {
|
||||
&.is-visible {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
@@ -890,7 +890,7 @@
|
||||
transition: opacity 0.3s ease;
|
||||
}
|
||||
|
||||
&.visible .zone-arrow {
|
||||
&.is-visible .zone-arrow {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
<div class="cbx-footer" [class.visible]="forceVisible()">
|
||||
<div class="cbx-footer" [class.is-visible]="forceVisible()">
|
||||
|
||||
@if (state().hasSeries) {
|
||||
<button
|
||||
|
||||
+1
-1
@@ -31,7 +31,7 @@ $transition-fast: 150ms ease;
|
||||
transition: transform 0.3s ease, opacity 0.3s ease;
|
||||
pointer-events: none;
|
||||
|
||||
&.visible {
|
||||
&.is-visible {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
<div class="cbx-header" [class.visible]="forceVisible()">
|
||||
<div class="cbx-header" [class.is-visible]="forceVisible()">
|
||||
<div class="header-left">
|
||||
<button class="icon-btn" (click)="onOpenSidebar()" [title]="'readerCbx.header.contents' | transloco">
|
||||
<app-reader-icon name="menu" [size]="20" />
|
||||
|
||||
+1
-1
@@ -19,7 +19,7 @@
|
||||
transform: translateY(0);
|
||||
transition: opacity 0.25s ease-out, transform 0.25s ease-out;
|
||||
|
||||
&:not(.visible) {
|
||||
&:not(.is-visible) {
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transform: translateY(-100%);
|
||||
|
||||
+2
-2
@@ -76,7 +76,7 @@
|
||||
@if (bookmarks().length > 0) {
|
||||
<ul class="item-list">
|
||||
@for (bookmark of bookmarks(); track bookmark.id) {
|
||||
<li class="list-item" role="button" tabindex="0" (click)="onBookmarkClick(bookmark.cfi!)" (keydown.enter)="onBookmarkClick(bookmark.cfi!)">
|
||||
<li class="reader-list-item" role="button" tabindex="0" (click)="onBookmarkClick(bookmark.cfi!)" (keydown.enter)="onBookmarkClick(bookmark.cfi!)">
|
||||
<div class="item-content">
|
||||
<span class="item-title">{{ bookmark.title }}</span>
|
||||
<span class="item-meta">{{ bookmark.createdAt | date: 'MMM d, y' }}</span>
|
||||
@@ -118,7 +118,7 @@
|
||||
@if (filteredNotes().length > 0) {
|
||||
<ul class="item-list">
|
||||
@for (note of filteredNotes(); track note.id) {
|
||||
<li class="list-item note-item" role="button" tabindex="0" (click)="onNoteClick(note.cfi)" (keydown.enter)="onNoteClick(note.cfi)">
|
||||
<li class="reader-list-item note-item" role="button" tabindex="0" (click)="onNoteClick(note.cfi)" (keydown.enter)="onNoteClick(note.cfi)">
|
||||
<div class="note-bar" [style.background-color]="note.color"></div>
|
||||
<div class="item-content">
|
||||
<span class="note-text">{{ note.noteContent }}</span>
|
||||
|
||||
+3
-3
@@ -302,7 +302,7 @@ $transition-normal: 200ms ease;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
.reader-list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
@@ -403,8 +403,8 @@ $transition-normal: 200ms ease;
|
||||
}
|
||||
}
|
||||
|
||||
.list-item:hover .edit-btn,
|
||||
.list-item:hover .delete-btn {
|
||||
.reader-list-item:hover .edit-btn,
|
||||
.reader-list-item:hover .delete-btn {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<ng-container *transloco="let t; prefix: 'readerEbook.footer'">
|
||||
<div class="reader-navbar" [class.visible]="navbarVisible">
|
||||
<div class="reader-navbar" [class.is-visible]="navbarVisible">
|
||||
<button class="icon-btn" [title]="t('previousSection')" [disabled]="!canGoPrevious" (click)="onPreviousSection()">
|
||||
<app-reader-icon name="chevron-left"></app-reader-icon>
|
||||
</button>
|
||||
|
||||
@@ -31,7 +31,7 @@ $transition-normal: 200ms ease;
|
||||
transition: opacity 250ms cubic-bezier(0.4, 0, 0.2, 1),
|
||||
transform 250ms cubic-bezier(0.4, 0, 0.2, 1);
|
||||
|
||||
&.visible {
|
||||
&.is-visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
transform: translateY(0);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
<ng-container *transloco="let t; prefix: 'readerEbook.header'">
|
||||
<div class="reader-header" [class.visible]="forceVisible()" [style.background]="theme().bg" [style.color]="theme().fg">
|
||||
<div class="reader-header" [class.is-visible]="forceVisible()" [style.background]="theme().bg" [style.color]="theme().fg">
|
||||
<div class="header-left">
|
||||
<button class="icon-btn" (click)="onShowChapters()" [title]="t('chapters')">
|
||||
<app-reader-icon name="menu" [size]="20"></app-reader-icon>
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
transform: translateY(-100%);
|
||||
transition: opacity 0.25s ease-out, transform 0.25s ease-out;
|
||||
|
||||
&.visible {
|
||||
&.is-visible {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
transform: translateY(0);
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
</div>
|
||||
<ul class="item-list search-results">
|
||||
@for (result of searchState().results; track result.cfi) {
|
||||
<li class="list-item search-result-item" role="button" tabindex="0" (click)="onSearchResultClick(result.cfi)" (keydown.enter)="onSearchResultClick(result.cfi)">
|
||||
<li class="reader-list-item search-result-item" role="button" tabindex="0" (click)="onSearchResultClick(result.cfi)" (keydown.enter)="onSearchResultClick(result.cfi)">
|
||||
<div class="item-content">
|
||||
<span class="search-excerpt">
|
||||
<span class="excerpt-context">{{ result.excerpt.pre }}</span>
|
||||
@@ -132,7 +132,7 @@
|
||||
@if (filteredNotes().length > 0) {
|
||||
<ul class="item-list">
|
||||
@for (note of filteredNotes(); track note.id) {
|
||||
<li class="list-item note-item" role="button" tabindex="0" (click)="onNoteClick(note.cfi)" (keydown.enter)="onNoteClick(note.cfi)">
|
||||
<li class="reader-list-item note-item" role="button" tabindex="0" (click)="onNoteClick(note.cfi)" (keydown.enter)="onNoteClick(note.cfi)">
|
||||
<div class="note-bar" [style.background-color]="note.color"></div>
|
||||
<div class="item-content">
|
||||
<span class="note-text">{{ note.noteContent }}</span>
|
||||
|
||||
@@ -141,7 +141,7 @@ $transition-normal: 200ms ease;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
.reader-list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
|
||||
+2
-2
@@ -109,7 +109,7 @@
|
||||
@if (bookmarks().length > 0) {
|
||||
<ul class="item-list">
|
||||
@for (bookmark of bookmarks(); track bookmark.id) {
|
||||
<li class="list-item" role="button" tabindex="0" (click)="onBookmarkClick(bookmark.cfi!)" (keydown.enter)="onBookmarkClick(bookmark.cfi!)">
|
||||
<li class="reader-list-item" role="button" tabindex="0" (click)="onBookmarkClick(bookmark.cfi!)" (keydown.enter)="onBookmarkClick(bookmark.cfi!)">
|
||||
<div class="item-content">
|
||||
<span class="item-title">{{ bookmark.title }}</span>
|
||||
<span class="item-meta">{{ bookmark.createdAt | date: 'MMM d, y' }}</span>
|
||||
@@ -133,7 +133,7 @@
|
||||
@if (annotations().length > 0) {
|
||||
<ul class="item-list">
|
||||
@for (annotation of annotations(); track annotation.id) {
|
||||
<li class="list-item highlight-item" role="button" tabindex="0" (click)="onAnnotationClick(annotation.cfi)" (keydown.enter)="onAnnotationClick(annotation.cfi)">
|
||||
<li class="reader-list-item highlight-item" role="button" tabindex="0" (click)="onAnnotationClick(annotation.cfi)" (keydown.enter)="onAnnotationClick(annotation.cfi)">
|
||||
<div class="highlight-bar" [style.background-color]="annotation.color"></div>
|
||||
<div class="item-content">
|
||||
<span class="highlight-text">"{{ annotation.text }}"</span>
|
||||
|
||||
+2
-2
@@ -245,7 +245,7 @@ $transition-normal: 200ms ease;
|
||||
padding: 8px 0;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
.reader-list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
@@ -323,7 +323,7 @@ $transition-normal: 200ms ease;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
|
||||
.list-item:hover .action-buttons {
|
||||
.reader-list-item:hover .action-buttons {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
|
||||
@@ -83,7 +83,7 @@
|
||||
@if (bookmarks().length > 0) {
|
||||
<ul class="item-list">
|
||||
@for (bookmark of bookmarks(); track bookmark.id) {
|
||||
<li class="list-item" role="button" tabindex="0" (click)="onBookmarkClick(bookmark)" (keydown.enter)="onBookmarkClick(bookmark)">
|
||||
<li class="reader-list-item" role="button" tabindex="0" (click)="onBookmarkClick(bookmark)" (keydown.enter)="onBookmarkClick(bookmark)">
|
||||
<div class="item-content">
|
||||
<span class="item-title">{{ bookmark.title }}</span>
|
||||
<span class="item-meta">{{ t('page') }} {{ bookmark.pageNumber }}</span>
|
||||
@@ -107,7 +107,7 @@
|
||||
@if (annotations().length > 0) {
|
||||
<ul class="item-list">
|
||||
@for (annotation of annotations(); track annotation.id) {
|
||||
<li class="list-item highlight-item" role="button" tabindex="0" (click)="onAnnotationClick(annotation)" (keydown.enter)="onAnnotationClick(annotation)">
|
||||
<li class="reader-list-item highlight-item" role="button" tabindex="0" (click)="onAnnotationClick(annotation)" (keydown.enter)="onAnnotationClick(annotation)">
|
||||
@if (annotation.color) {
|
||||
<div class="highlight-bar" [style.background-color]="annotation.color"></div>
|
||||
}
|
||||
|
||||
@@ -229,7 +229,7 @@ $transition-fast: 150ms ease;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.list-item {
|
||||
.reader-list-item {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 12px;
|
||||
@@ -430,7 +430,7 @@ $transition-fast: 150ms ease;
|
||||
}
|
||||
}
|
||||
|
||||
.list-item {
|
||||
.reader-list-item {
|
||||
background: rgb(0 0 0 / 2%);
|
||||
|
||||
&:hover {
|
||||
|
||||
@@ -172,7 +172,7 @@
|
||||
}
|
||||
|
||||
<!-- Footer (shared across both viewer modes) -->
|
||||
<div class="pdf-footer" [class.visible]="footerVisible()">
|
||||
<div class="pdf-footer" [class.is-visible]="footerVisible()">
|
||||
<div class="page-nav-left">
|
||||
<button class="nav-btn" (click)="goToFirstPage()" [disabled]="page() <= 1"
|
||||
[title]="'readerPdf.footer.firstPage' | transloco" [attr.aria-label]="'readerPdf.footer.firstPage' | transloco">
|
||||
|
||||
@@ -331,7 +331,7 @@ $transition-fast: 150ms ease;
|
||||
pointer-events: none;
|
||||
transition: transform 0.25s ease-out, opacity 0.25s ease-out;
|
||||
|
||||
&.visible {
|
||||
&.is-visible {
|
||||
transform: translateY(0);
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
|
||||
@@ -65,11 +65,11 @@
|
||||
</span>
|
||||
@if (!fontsLoadedInBrowser) {
|
||||
<div class="font-preview-skeleton">
|
||||
<p-skeleton width="100%" height="1rem" class="mb-3"></p-skeleton>
|
||||
<p-skeleton width="100%" height="1rem" class="mb-3"></p-skeleton>
|
||||
<p-skeleton width="85%" height="1rem" class="mb-3"></p-skeleton>
|
||||
<p-skeleton width="60%" height="1rem" class="mb-3"></p-skeleton>
|
||||
<p-skeleton width="85%" height="1rem" class="mb-3"></p-skeleton>
|
||||
<p-skeleton width="100%" height="1rem"></p-skeleton>
|
||||
<p-skeleton width="100%" height="1rem"></p-skeleton>
|
||||
<p-skeleton width="85%" height="1rem"></p-skeleton>
|
||||
<p-skeleton width="60%" height="1rem"></p-skeleton>
|
||||
<p-skeleton width="85%" height="1rem"></p-skeleton>
|
||||
<p-skeleton width="95%" height="0.875rem"></p-skeleton>
|
||||
</div>
|
||||
} @else {
|
||||
|
||||
@@ -4,10 +4,6 @@
|
||||
@include auth.auth-container;
|
||||
}
|
||||
|
||||
.change-password-wrapper {
|
||||
@apply flex flex-col items-center gap-6 absolute top-1/4 transform -translate-y-1/4;
|
||||
}
|
||||
|
||||
.change-password-card-wrapper {
|
||||
@include auth.auth-card-wrapper(500px, -6rem);
|
||||
}
|
||||
@@ -21,8 +17,6 @@
|
||||
}
|
||||
|
||||
.app-title {
|
||||
@apply text-5xl font-extrabold text-white drop-shadow-lg;
|
||||
|
||||
text-shadow: 0 4px 6px rgb(0 0 0 / 30%);
|
||||
}
|
||||
|
||||
@@ -46,18 +40,10 @@
|
||||
@include auth.auth-subtitle;
|
||||
}
|
||||
|
||||
form {
|
||||
@apply flex flex-col gap-4;
|
||||
}
|
||||
|
||||
.change-password-form {
|
||||
@include auth.auth-form;
|
||||
}
|
||||
|
||||
.p-field {
|
||||
@apply flex flex-col gap-2;
|
||||
}
|
||||
|
||||
.form-field {
|
||||
@include auth.form-field;
|
||||
}
|
||||
@@ -70,10 +56,6 @@ form {
|
||||
@include auth.field-error;
|
||||
}
|
||||
|
||||
p-button {
|
||||
@apply mt-4;
|
||||
}
|
||||
|
||||
.change-password-button {
|
||||
@include auth.auth-button;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user