Remove Tailwind CSS and all remaining references (#2413)
Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
committed by
acx10
co-authored by
acx10
parent
5d9e535a14
commit
a0870cac86
@@ -56,7 +56,7 @@
|
||||
optionLabel="name"
|
||||
placeholder="Select Library"
|
||||
[(ngModel)]="selectedLibrary"
|
||||
class="w-full">
|
||||
class="full-width">
|
||||
</p-select>
|
||||
</div>
|
||||
<div class="field-group">
|
||||
@@ -68,7 +68,7 @@
|
||||
placeholder="Select Subpath"
|
||||
[(ngModel)]="selectedPath"
|
||||
[disabled]="!selectedLibrary"
|
||||
class="w-full">
|
||||
class="full-width">
|
||||
</p-select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -357,6 +357,10 @@
|
||||
}
|
||||
}
|
||||
|
||||
:host ::ng-deep .p-fileupload-content p-progressbar {
|
||||
::host ::ng-deep .p-fileupload-content p-progressbar {
|
||||
display: none !important;
|
||||
}
|
||||
|
||||
.full-width {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
+1
-1
@@ -96,7 +96,7 @@
|
||||
strokeWidth="4"
|
||||
animationDuration="1s"
|
||||
/>
|
||||
<p class="mt-3 text-secondary">Loading directories...</p>
|
||||
<p class="loading-text">Loading directories...</p>
|
||||
</div>
|
||||
} @else if (filteredPaths.length === 0) {
|
||||
<div class="empty-state">
|
||||
|
||||
+10
@@ -187,6 +187,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
.loading-text {
|
||||
margin-top: 0.75rem;
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
|
||||
.empty-state {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -504,6 +509,11 @@
|
||||
}
|
||||
}
|
||||
|
||||
.selection-note {
|
||||
margin-top: 0.75rem;
|
||||
color: var(--text-secondary-color);
|
||||
}
|
||||
|
||||
.dialog-footer {
|
||||
@include panel.dialog-footer;
|
||||
border-top: 1px solid var(--border-color);
|
||||
|
||||
@@ -18,41 +18,41 @@
|
||||
</div>
|
||||
|
||||
<div class="dialog-content">
|
||||
<div class="px-4 mx-2 mb-4 py-3 rounded-lg border border-[var(--border-color)] transition-all">
|
||||
<p class="text-[var(--primary-color)] font-semibold mb-1">
|
||||
<div class="preview-info-box">
|
||||
<p class="preview-title">
|
||||
File Organization Preview
|
||||
</p>
|
||||
<div class="text-sm text-gray-300 space-y-3">
|
||||
<div class="preview-description">
|
||||
<p>
|
||||
Your files will be automatically renamed, organized, and can be moved between libraries based on your preferences.
|
||||
Check the preview below to see how your files will look, select target libraries if needed, then click <span class="font-semibold text-green-400">Move Files</span> to organize them.
|
||||
Check the preview below to see how your files will look, select target libraries if needed, then click <span class="highlight-green">Move Files</span> to organize them.
|
||||
</p>
|
||||
<p>
|
||||
<i class="pi pi-lightbulb text-blue-400 mr-1"></i>
|
||||
<span class="text-blue-300">Want to change how files are named? Go to <strong>Settings → File Naming Pattern</strong>. Each library can have its own naming pattern!</span>
|
||||
<i class="pi pi-lightbulb icon-blue"></i>
|
||||
<span class="text-blue">Want to change how files are named? Go to <strong>Settings → File Naming Pattern</strong>. Each library can have its own naming pattern!</span>
|
||||
</p>
|
||||
<p class="text-yellow-500 font-medium flex items-center gap-2">
|
||||
<i class="pi pi-exclamation-triangle text-yellow-400"></i>
|
||||
<p class="warning-text">
|
||||
<i class="pi pi-exclamation-triangle icon-yellow"></i>
|
||||
This will actually move and rename files on your computer across different library folders. Make sure you're happy with the preview first!
|
||||
</p>
|
||||
<div class="bg-red-900/30 border border-red-500/50 rounded-md p-3 text-red-200 text-xs">
|
||||
<p class="font-bold flex items-center gap-2 mb-1">
|
||||
<div class="metadata-warning-box">
|
||||
<p class="metadata-warning-title">
|
||||
<i class="pi pi-exclamation-circle"></i>
|
||||
Important: Metadata quality warning
|
||||
</p>
|
||||
<p>
|
||||
This feature relies entirely on your books' metadata. If your metadata is missing, inconsistent, or of poor quality, the resulting file names and folder structures will be incorrect or "buggy".
|
||||
</p>
|
||||
<p class="mt-1 font-semibold">
|
||||
<p class="metadata-warning-emphasis">
|
||||
ONLY recommended for high-quality, curated libraries.
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex gap-4 mb-4 px-2 items-center w-full">
|
||||
<div class="flex-1">
|
||||
<div class="flex items-center justify-between cursor-pointer" (click)="togglePatternsCollapsed()">
|
||||
<div class="patterns-section">
|
||||
<div class="patterns-content">
|
||||
<div class="patterns-toggle" (click)="togglePatternsCollapsed()">
|
||||
<p-button
|
||||
outlined
|
||||
[icon]="patternsCollapsed ? 'pi pi-chevron-right' : 'pi pi-chevron-down'"
|
||||
@@ -64,16 +64,16 @@
|
||||
</div>
|
||||
|
||||
@if (!patternsCollapsed) {
|
||||
<div class="space-y-2 mt-2">
|
||||
<div class="patterns-list">
|
||||
@for (pattern of libraryPatterns; track pattern.libraryId) {
|
||||
<div class="p-3 border border-zinc-700 rounded-lg bg-zinc-800">
|
||||
<div class="flex justify-between items-start">
|
||||
<div class="flex-1">
|
||||
<p class="text-xs text-gray-400 mb-1">Library: {{ pattern.libraryName }}</p>
|
||||
<code class="text-[var(--primary-color)] font-mono text-sm">{{ pattern.pattern || 'No pattern available' }}</code>
|
||||
<p class="text-xs text-gray-400 mt-1">Source: {{ pattern.source }}</p>
|
||||
<div class="pattern-card">
|
||||
<div class="pattern-card-content">
|
||||
<div class="pattern-info">
|
||||
<p class="pattern-label">Library: {{ pattern.libraryName }}</p>
|
||||
<code class="pattern-code">{{ pattern.pattern || 'No pattern available' }}</code>
|
||||
<p class="pattern-source">Source: {{ pattern.source }}</p>
|
||||
</div>
|
||||
<span class="text-xs bg-blue-600 text-white px-2 py-1 rounded ml-2">{{ pattern.bookCount }} book{{ pattern.bookCount > 1 ? 's' : '' }}</span>
|
||||
<span class="pattern-badge">{{ pattern.bookCount }} book{{ pattern.bookCount > 1 ? 's' : '' }}</span>
|
||||
</div>
|
||||
</div>
|
||||
}
|
||||
@@ -82,9 +82,9 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="flex gap-4 mb-4 px-2 items-center">
|
||||
<div class="flex items-center gap-3">
|
||||
<label class="text-sm font-medium text-gray-300">Set all files to:</label>
|
||||
<div class="bulk-select-section">
|
||||
<div class="bulk-select-controls">
|
||||
<label class="bulk-select-label">Set all files to:</label>
|
||||
<p-select
|
||||
[options]="availableLibraries"
|
||||
[(ngModel)]="defaultTargetLibraryId"
|
||||
@@ -92,7 +92,7 @@
|
||||
optionValue="id"
|
||||
placeholder="Select default library"
|
||||
(onChange)="onDefaultLibraryChange()"
|
||||
class="min-w-[200px]"
|
||||
styleClass="select-library"
|
||||
size="small"
|
||||
appendTo="body"
|
||||
></p-select>
|
||||
@@ -104,7 +104,7 @@
|
||||
optionValue="id"
|
||||
placeholder="Select default path"
|
||||
(onChange)="onDefaultLibraryPathChange()"
|
||||
class="min-w-[250px]"
|
||||
styleClass="select-path"
|
||||
size="small"
|
||||
appendTo="body"
|
||||
></p-select>
|
||||
@@ -112,7 +112,7 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="mb-4" style="height: 500px;">
|
||||
<div class="table-container">
|
||||
<p-table
|
||||
[value]="filePreviews"
|
||||
[scrollable]="true"
|
||||
@@ -135,8 +135,8 @@
|
||||
<tr>
|
||||
<td>{{ preview.bookId }}</td>
|
||||
<td>
|
||||
<div class="overflow-hidden text-ellipsis">
|
||||
<span class="text-gray-400">{{ preview.currentLibraryName }}/</span><span class="text-gray-200">{{ preview.relativeOriginalPath }}</span>
|
||||
<div class="path-cell">
|
||||
<span class="path-prefix">{{ preview.currentLibraryName }}/</span><span class="path-value">{{ preview.relativeOriginalPath }}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td style="max-width:150px;">
|
||||
@@ -148,7 +148,7 @@
|
||||
placeholder="Select Library"
|
||||
(onChange)="onLibraryChange(preview)"
|
||||
[disabled]="preview.isMoved"
|
||||
class="w-full"
|
||||
styleClass="select-full-width"
|
||||
appendTo="body"
|
||||
size="small"
|
||||
></p-select>
|
||||
@@ -163,23 +163,23 @@
|
||||
placeholder="Select Path"
|
||||
(onChange)="onLibraryPathChange(preview)"
|
||||
[disabled]="preview.isMoved"
|
||||
class="w-full"
|
||||
styleClass="select-full-width"
|
||||
appendTo="body"
|
||||
size="small"
|
||||
></p-select>
|
||||
} @else {
|
||||
<div class="text-xs text-red-400">No paths configured</div>
|
||||
<div class="no-paths-error">No paths configured</div>
|
||||
}
|
||||
</td>
|
||||
<td class="text-[var(--primary-color)] text-center">→</td>
|
||||
<td class="arrow-cell">→</td>
|
||||
<td>
|
||||
<div class="overflow-hidden text-ellipsis">
|
||||
<span class="text-gray-400">{{ preview.targetLibraryName }}/</span><span class="text-gray-200">{{ preview.relativeNewPath }}</span>
|
||||
<div class="path-cell">
|
||||
<span class="path-prefix">{{ preview.targetLibraryName }}/</span><span class="path-value">{{ preview.relativeNewPath }}</span>
|
||||
</div>
|
||||
</td>
|
||||
<td class="text-center">
|
||||
<td class="status-cell">
|
||||
@if (preview.isMoved) {
|
||||
<i class="pi pi-check-circle text-green-600"></i>
|
||||
<i class="pi pi-check-circle icon-success"></i>
|
||||
}
|
||||
</td>
|
||||
</tr>
|
||||
@@ -191,10 +191,10 @@
|
||||
|
||||
<div class="dialog-footer">
|
||||
@if (movedFileCount > 0) {
|
||||
<span class="text-green-500 flex items-center font-semibold drop-shadow-sm select-none">
|
||||
<span class="success-message">
|
||||
{{ movedFileCount }} file{{ movedFileCount > 1 ? 's' : '' }} successfully moved
|
||||
<i
|
||||
class="pi pi-check-circle ml-2 text-green-500 animate-bounce"
|
||||
class="pi pi-check-circle success-icon-bounce"
|
||||
style="animation-duration: 1.5s;"
|
||||
aria-label="Success"
|
||||
role="img"
|
||||
|
||||
@@ -40,3 +40,248 @@
|
||||
:host ::ng-deep .p-datatable-tbody > tr > td {
|
||||
padding: 0.5rem 1rem !important;
|
||||
}
|
||||
|
||||
// Preview info box
|
||||
.preview-info-box {
|
||||
padding: 0.75rem 1rem;
|
||||
margin: 0 0.5rem 1rem;
|
||||
border-radius: 0.5rem;
|
||||
border: 1px solid var(--border-color);
|
||||
transition: all 0.2s ease;
|
||||
}
|
||||
|
||||
.preview-title {
|
||||
color: var(--primary-color);
|
||||
font-weight: 600;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.preview-description {
|
||||
font-size: 0.875rem;
|
||||
color: #d1d5db;
|
||||
|
||||
> * + * {
|
||||
margin-top: 0.75rem;
|
||||
}
|
||||
}
|
||||
|
||||
.highlight-green {
|
||||
font-weight: 600;
|
||||
color: #4ade80;
|
||||
}
|
||||
|
||||
.icon-blue {
|
||||
color: #60a5fa;
|
||||
margin-right: 0.25rem;
|
||||
}
|
||||
|
||||
.text-blue {
|
||||
color: #93c5fd;
|
||||
}
|
||||
|
||||
.warning-text {
|
||||
color: #eab308;
|
||||
font-weight: 500;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.icon-yellow {
|
||||
color: #facc15;
|
||||
}
|
||||
|
||||
.metadata-warning-box {
|
||||
background: rgba(127, 29, 29, 0.3);
|
||||
border: 1px solid rgba(239, 68, 68, 0.5);
|
||||
border-radius: 0.375rem;
|
||||
padding: 0.75rem;
|
||||
color: #fecaca;
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.metadata-warning-title {
|
||||
font-weight: 700;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.metadata-warning-emphasis {
|
||||
margin-top: 0.25rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
// Patterns section
|
||||
.patterns-section {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
padding: 0 0.5rem;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.patterns-content {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.patterns-toggle {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.patterns-list {
|
||||
margin-top: 0.5rem;
|
||||
|
||||
> * + * {
|
||||
margin-top: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
.pattern-card {
|
||||
padding: 0.75rem;
|
||||
border: 1px solid #3f3f46;
|
||||
border-radius: 0.5rem;
|
||||
background: #27272a;
|
||||
}
|
||||
|
||||
.pattern-card-content {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
align-items: flex-start;
|
||||
}
|
||||
|
||||
.pattern-info {
|
||||
flex: 1;
|
||||
}
|
||||
|
||||
.pattern-label {
|
||||
font-size: 0.75rem;
|
||||
color: #9ca3af;
|
||||
margin-bottom: 0.25rem;
|
||||
}
|
||||
|
||||
.pattern-code {
|
||||
color: var(--primary-color);
|
||||
font-family: monospace;
|
||||
font-size: 0.875rem;
|
||||
}
|
||||
|
||||
.pattern-source {
|
||||
font-size: 0.75rem;
|
||||
color: #9ca3af;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
|
||||
.pattern-badge {
|
||||
font-size: 0.75rem;
|
||||
background: #2563eb;
|
||||
color: white;
|
||||
padding: 0.25rem 0.5rem;
|
||||
border-radius: 0.25rem;
|
||||
margin-left: 0.5rem;
|
||||
}
|
||||
|
||||
// Bulk select section
|
||||
.bulk-select-section {
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
margin-bottom: 1rem;
|
||||
padding: 0 0.5rem;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.bulk-select-controls {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.75rem;
|
||||
}
|
||||
|
||||
.bulk-select-label {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 500;
|
||||
color: #d1d5db;
|
||||
}
|
||||
|
||||
// Table section
|
||||
.table-container {
|
||||
margin-bottom: 1rem;
|
||||
height: 500px;
|
||||
}
|
||||
|
||||
.path-cell {
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
}
|
||||
|
||||
.path-prefix {
|
||||
color: #9ca3af;
|
||||
}
|
||||
|
||||
.path-value {
|
||||
color: #e5e7eb;
|
||||
}
|
||||
|
||||
.no-paths-error {
|
||||
font-size: 0.75rem;
|
||||
color: #f87171;
|
||||
}
|
||||
|
||||
.arrow-cell {
|
||||
color: var(--primary-color);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.status-cell {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.icon-success {
|
||||
color: #16a34a;
|
||||
}
|
||||
|
||||
// Footer
|
||||
.success-message {
|
||||
color: #22c55e;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
font-weight: 600;
|
||||
filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.05));
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.success-icon-bounce {
|
||||
margin-left: 0.5rem;
|
||||
color: #22c55e;
|
||||
animation: bounce 1s infinite;
|
||||
}
|
||||
|
||||
@keyframes bounce {
|
||||
0%, 100% {
|
||||
transform: translateY(-25%);
|
||||
animation-timing-function: cubic-bezier(0.8, 0, 1, 1);
|
||||
}
|
||||
50% {
|
||||
transform: translateY(0);
|
||||
animation-timing-function: cubic-bezier(0, 0, 0.2, 1);
|
||||
}
|
||||
}
|
||||
|
||||
// Select widths
|
||||
:host ::ng-deep {
|
||||
.select-library {
|
||||
min-width: 200px;
|
||||
}
|
||||
|
||||
.select-path {
|
||||
min-width: 250px;
|
||||
}
|
||||
|
||||
.select-full-width {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
+5
-5
@@ -1,11 +1,11 @@
|
||||
<div class="flex flex-col p-4 space-y-2 live-border">
|
||||
<div class="flex flex-row items-center gap-2">
|
||||
<div class="notification-container live-border">
|
||||
<div class="notification-header">
|
||||
@if (latestNotification.severity) {
|
||||
<app-tag [color]="getSeverityColor(latestNotification.severity)" size="3xs" class="self-center">
|
||||
<app-tag [color]="getSeverityColor(latestNotification.severity)" size="3xs" class="tag-centered">
|
||||
{{ latestNotification.severity }}
|
||||
</app-tag>
|
||||
}
|
||||
<span class="text-xs text-zinc-400 self-center">{{ latestNotification.timestamp }}</span>
|
||||
<span class="notification-timestamp">{{ latestNotification.timestamp }}</span>
|
||||
</div>
|
||||
<p class="font-normal text-zinc-200">{{ latestNotification.message }}</p>
|
||||
<p class="notification-message">{{ latestNotification.message }}</p>
|
||||
</div>
|
||||
|
||||
+30
@@ -3,3 +3,33 @@
|
||||
border: 1px solid var(--primary-color);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.notification-container {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
padding: 1rem;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.notification-header {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.tag-centered {
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.notification-timestamp {
|
||||
font-size: 0.75rem;
|
||||
color: #a1a1aa;
|
||||
align-self: center;
|
||||
}
|
||||
|
||||
.notification-message {
|
||||
font-weight: 400;
|
||||
color: #e4e4e7;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
+13
-13
@@ -1,39 +1,39 @@
|
||||
<div class="task-border mt-4">
|
||||
<div class="task-border">
|
||||
@if (Object.keys(activeTasks).length > 0) {
|
||||
@for (task of activeTasks | keyvalue; track task; let idx = $index) {
|
||||
<div class="task-card p-4">
|
||||
<div class="task-card">
|
||||
|
||||
<div class="flex items-center justify-between mb-2">
|
||||
<div class="flex items-center gap-2">
|
||||
<p class="text-sm font-semibold text-[var(--primary-color)]">Metadata Fetch Task</p>
|
||||
<div class="task-header-row">
|
||||
<div class="task-title-group">
|
||||
<p class="task-title">Metadata Fetch Task</p>
|
||||
</div>
|
||||
<div class="flex items-center gap-1">
|
||||
<div class="task-tags">
|
||||
@if (task.value.review) {
|
||||
<p-tag
|
||||
value="Review"
|
||||
severity="warn"
|
||||
class="text-xs">
|
||||
styleClass="task-tag">
|
||||
</p-tag>
|
||||
} @else {
|
||||
<p-tag
|
||||
value="Auto"
|
||||
severity="success"
|
||||
class="text-xs">
|
||||
styleClass="task-tag">
|
||||
</p-tag>
|
||||
}
|
||||
<p-tag
|
||||
[value]="getStatusLabel(task.value.status)"
|
||||
[severity]="getTagSeverity(task.value.status)"
|
||||
class="text-xs"
|
||||
styleClass="task-tag"
|
||||
></p-tag>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="task-message text-gray-200">
|
||||
<div class="task-message">
|
||||
{{ task.value.message }}
|
||||
</div>
|
||||
|
||||
<div class="task-progress-info text-sm text-gray-300">
|
||||
<div class="task-progress-info">
|
||||
Book <strong>{{ task.value.status === 'COMPLETED' || task.value.completed >= task.value.total ? task.value.total : task.value.completed + 1 }}</strong>
|
||||
of {{ task.value.total }}
|
||||
</div>
|
||||
@@ -45,7 +45,7 @@
|
||||
</p-progressBar>
|
||||
|
||||
@if (task.value.status === 'COMPLETED' || task.value.status === 'ERROR' || task.value.status === 'CANCELLED') {
|
||||
<div class="action-buttons mt-4 flex justify-end gap-2">
|
||||
<div class="action-buttons">
|
||||
@if (task.value.review) {
|
||||
<p-button
|
||||
label="Review"
|
||||
@@ -69,7 +69,7 @@
|
||||
</p-button>
|
||||
</div>
|
||||
} @else if (task.value.status === 'IN_PROGRESS') {
|
||||
<div class="action-buttons mt-4 flex justify-end gap-2">
|
||||
<div class="action-buttons">
|
||||
<p-button
|
||||
label="Cancel"
|
||||
icon="pi pi-stop"
|
||||
|
||||
+44
-2
@@ -1,9 +1,44 @@
|
||||
.task-border {
|
||||
margin-top: 1rem;
|
||||
background: var(--card-background);
|
||||
border: 1px solid var(--primary-color);
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
.task-card {
|
||||
padding: 1rem;
|
||||
}
|
||||
|
||||
.task-header-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.task-title-group {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.task-title {
|
||||
font-size: 0.875rem;
|
||||
font-weight: 600;
|
||||
color: var(--primary-color);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.task-tags {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 0.25rem;
|
||||
}
|
||||
|
||||
:host ::ng-deep .task-tag {
|
||||
font-size: 0.75rem;
|
||||
}
|
||||
|
||||
.task-header {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
@@ -12,16 +47,23 @@
|
||||
|
||||
.task-message {
|
||||
font-size: 1rem;
|
||||
color: var(--text-color);
|
||||
color: #e5e7eb;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.task-progress-info {
|
||||
font-size: 0.875rem;
|
||||
color: var(--text-secondary-color);
|
||||
color: #d1d5db;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
.action-buttons {
|
||||
margin-top: 1rem;
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
.review-button {
|
||||
text-align: right;
|
||||
margin-top: 0.75rem;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
<div class="metadata-progress-box flex gap-4 flex-col w-[25rem] max-h-[60vh] overflow-y-auto">
|
||||
<div class="metadata-progress-box">
|
||||
<app-live-notification-box/>
|
||||
@if (hasMetadataTasks$ | async) {
|
||||
<app-metadata-progress-widget/>
|
||||
|
||||
+5
@@ -1,4 +1,9 @@
|
||||
.metadata-progress-box {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
gap: 1rem;
|
||||
width: 25rem;
|
||||
max-height: 60vh;
|
||||
overflow-y: auto;
|
||||
border-radius: 0.5rem;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user