chore(ui): normalise text size and spacing (#1656)

This commit is contained in:
Alex
2026-06-07 08:46:25 +01:00
committed by GitHub
parent 2675c4a04a
commit 349f046062
180 changed files with 4555 additions and 4466 deletions
@@ -31,7 +31,7 @@
.dialog-mode {
border: 1px solid var(--p-content-border-color);
border-radius: 0 0 0.75rem 0.75rem !important;
border-radius: 0 0 0.6563rem 0.6563rem !important;
border-width: 1px 0 0 !important;
}
@@ -1,5 +1,5 @@
.reading-sessions-container {
padding: 1rem 0;
padding: 0.875rem 0;
}
.loading-state,
@@ -8,29 +8,29 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
gap: 1rem;
padding: 2.625rem;
gap: 0.875rem;
}
.loading-text {
color: var(--text-color-secondary);
font-size: 0.9rem;
font-size: 0.7875rem;
}
.empty-state p {
color: var(--text-color-secondary);
font-size: 1rem;
font-size: var(--app-text-base);
}
.location-text {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--text-color);
}
.session-time {
display: flex;
flex-direction: column;
gap: 0.125rem;
gap: 0.1094rem;
.session-date {
font-weight: 500;
@@ -38,7 +38,7 @@
}
.session-range {
font-size: 0.8rem;
font-size: 0.7rem;
color: var(--text-color-secondary);
}
}
@@ -46,14 +46,14 @@
.book-type-badge {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.25rem 0.5rem;
border-radius: 0.375rem;
font-size: 0.8rem;
gap: 0.3281rem;
padding: 0.2188rem 0.4375rem;
border-radius: 0.3281rem;
font-size: 0.7rem;
font-weight: 600;
i {
font-size: 0.8rem;
font-size: 0.7rem;
}
&.book-type-pdf {
@@ -98,14 +98,14 @@
.progress-delta-badge {
display: inline-flex;
align-items: center;
gap: 0.375rem;
padding: 0.25rem 0.5rem;
border-radius: 0.375rem;
font-size: 0.8rem;
gap: 0.3281rem;
padding: 0.2188rem 0.4375rem;
border-radius: 0.3281rem;
font-size: 0.7rem;
font-weight: 600;
i {
font-size: 0.8rem;
font-size: 0.7rem;
}
&.progress-positive {
@@ -130,14 +130,14 @@
background-color: var(--card-background);
color: var(--text-color);
font-weight: 600;
font-size: 0.875rem;
font-size: var(--app-text-sm);
white-space: nowrap;
border-color: var(--border-color);
}
.p-datatable-tbody > tr > td {
padding: 0.35rem 0.65rem;
font-size: 0.875rem;
padding: 0.3063rem 0.5687rem;
font-size: var(--app-text-sm);
border-color: var(--border-color);
}
@@ -1,5 +1,5 @@
::ng-deep .p-tabpanels .custom-tab-padding {
padding: 1rem 0 0 0.5rem !important;
padding: 0.875rem 0 0 0.4375rem !important;
@media (width >= 640px) {
padding: var(--p-tabs-tabpanel-padding) !important;
@@ -19,19 +19,19 @@
}
::ng-deep .p-autocomplete-input-chip {
width: 2rem;
width: 1.75rem;
}
::ng-deep .p-autocomplete-clearable ul {
padding-inline-end: 2rem !important;
padding-inline-end: 1.75rem !important;
}
::ng-deep .p-autocomplete-clearable .p-autocomplete-clear-icon {
right: 0;
margin-top: -1rem;
width: 2rem;
height: 2rem;
padding: 0.5rem;
margin-top: -0.875rem;
width: 1.75rem;
height: 1.75rem;
padding: 0.4375rem;
}
::ng-deep .withbutton input,
@@ -58,7 +58,7 @@
}
::ng-deep p-fileupload .p-button {
padding: 0.6rem 0.5rem;
padding: 0.525rem 0.4375rem;
}
label {
@@ -73,7 +73,7 @@ label {
animation: fadeIn 0.3s ease-in;
@media (width >= 768px) {
min-width: 60rem;
min-width: 52.5rem;
}
}
@@ -100,7 +100,7 @@ label {
height: 72.5dvh;
@media (width >= 768px) {
padding: 0.5rem;
padding: 0.4375rem;
}
}
@@ -108,8 +108,8 @@ label {
display: flex;
flex-direction: column;
width: 100%;
gap: 1rem;
margin-bottom: 1rem;
gap: 0.875rem;
margin-bottom: 0.875rem;
@media (width >= 768px) {
flex-direction: row;
@@ -119,13 +119,13 @@ label {
.covers-section {
display: flex;
flex-direction: column;
gap: 1.5rem;
gap: 1.3125rem;
flex-shrink: 0;
margin: 0 auto;
&.dual-covers {
flex-direction: row;
gap: 1rem;
gap: 0.875rem;
@media (width <= 767px) {
flex-direction: column;
@@ -138,7 +138,7 @@ label {
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
position: relative;
flex-shrink: 0;
@@ -146,7 +146,7 @@ label {
::ng-deep .square-cover img {
aspect-ratio: 1;
object-fit: cover;
border-radius: 0.5rem;
border-radius: 0.4375rem;
}
}
}
@@ -154,15 +154,15 @@ label {
.cover-type-label {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.8rem;
gap: 0.4375rem;
font-size: 0.7rem;
font-weight: 600;
padding: 0.25rem 0.75rem;
border-radius: 0.5rem;
margin-bottom: 0.25rem;
padding: 0.2188rem 0.6563rem;
border-radius: 0.4375rem;
margin-bottom: 0.2188rem;
i {
font-size: 0.9rem;
font-size: 0.7875rem;
}
&.ebook {
@@ -187,8 +187,8 @@ label {
.cover-actions {
display: flex;
align-items: center;
gap: 0.75rem;
padding-top: 0.75rem;
gap: 0.6563rem;
padding-top: 0.6563rem;
}
.fields-section {
@@ -197,7 +197,7 @@ label {
flex-grow: 1;
@media (width >= 768px) {
padding-left: 0.5rem;
padding-left: 0.4375rem;
}
}
@@ -205,9 +205,9 @@ label {
display: flex;
flex-direction: column;
width: 100%;
gap: 1rem;
margin-top: 0.5rem;
padding-bottom: 0.25rem;
gap: 0.875rem;
margin-top: 0.4375rem;
padding-bottom: 0.2188rem;
@media (width >= 768px) {
flex-direction: row;
@@ -217,10 +217,10 @@ label {
.field-group {
display: flex;
flex-direction: column;
gap: 0.25rem;
gap: 0.2188rem;
label {
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
@@ -239,7 +239,7 @@ label {
.language-field {
@media (width >= 768px) {
width: 11rem;
width: 9.625rem;
}
}
@@ -254,9 +254,9 @@ label {
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.375rem;
padding: 0.375rem;
min-height: 2.25rem;
gap: 0.3281rem;
padding: 0.3281rem;
min-height: 1.9688rem;
border: 1px solid var(--p-inputtext-border-color);
border-radius: 6px;
background: var(--p-inputtext-background);
@@ -275,13 +275,13 @@ label {
}
.author-add-input {
flex: 1 1 6rem;
min-width: 6rem;
flex: 1 1 5.25rem;
min-width: 5.25rem;
::ng-deep input {
border: none !important;
background: transparent !important;
padding: 0.25rem;
padding: 0.2188rem;
box-shadow: none !important;
outline: none !important;
}
@@ -290,12 +290,12 @@ label {
.author-chip {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.5rem;
border-radius: 1rem;
gap: 0.2188rem;
padding: 0.2188rem 0.4375rem;
border-radius: 0.875rem;
background: var(--p-chip-background);
color: var(--p-chip-color);
font-size: 0.875rem;
font-size: var(--app-text-sm);
cursor: grab;
user-select: none;
}
@@ -304,27 +304,27 @@ label {
display: inline-flex;
align-items: center;
justify-content: center;
width: 1rem;
height: 1rem;
width: 0.875rem;
height: 0.875rem;
border-radius: 50%;
background: var(--p-primary-color);
color: var(--p-primary-contrast-color);
font-size: 0.6rem;
font-size: 0.525rem;
font-weight: 700;
flex-shrink: 0;
}
.author-chip-remove {
font-size: 0.65rem;
font-size: 0.5687rem;
cursor: pointer;
opacity: 0.6;
padding: 0.15rem;
padding: 0.1313rem;
&:hover { opacity: 1; }
}
.cdk-drag-preview {
box-sizing: border-box;
border-radius: 1rem;
border-radius: 0.875rem;
box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
}
@@ -348,7 +348,7 @@ label {
p-datepicker {
width: 100%;
min-width: 7.5rem;
min-width: 6.5625rem;
}
}
}
@@ -382,7 +382,7 @@ label {
.metadata-ids-row {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
gap: 1rem;
gap: 0.875rem;
width: 100%;
.metadata-id-field {
@@ -397,21 +397,21 @@ label {
}
.collapsible-section {
margin-top: 1rem;
margin-top: 0.875rem;
width: 100%;
background: var(--color-page);
border: 1px solid var(--color-border);
border-radius: 0.75rem;
border-radius: 0.6563rem;
.collapsible-header {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
min-height: 2.5rem;
gap: 0.4375rem;
padding: 0.6563rem 0.875rem;
min-height: 2.1875rem;
background: var(--color-card);
border-radius: 0.75rem;
font-size: 0.875rem;
border-radius: 0.6563rem;
font-size: var(--app-text-sm);
font-weight: 600;
color: var(--color-text);
cursor: pointer;
@@ -423,23 +423,23 @@ label {
}
i:first-child {
font-size: 0.9rem;
font-size: 0.7875rem;
color: var(--color-primary);
}
.section-toggle {
margin-left: auto;
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--color-text-secondary);
}
}
&.expanded .collapsible-header {
border-radius: 0.75rem 0.75rem 0 0;
border-radius: 0.6563rem 0.6563rem 0 0;
}
.collapsible-content {
padding: 0.75rem;
padding: 0.6563rem;
border-top: 1px solid var(--color-border);
}
}
@@ -447,8 +447,8 @@ label {
.comic-text-grid {
display: grid;
grid-template-columns: repeat(5, 1fr);
gap: 1rem;
margin-bottom: 1rem;
gap: 0.875rem;
margin-bottom: 0.875rem;
@media (width <= 767px) {
grid-template-columns: repeat(2, 1fr);
@@ -458,8 +458,8 @@ label {
.comic-array-grid {
display: grid;
grid-template-columns: repeat(3, 1fr);
gap: 1rem;
margin-bottom: 1rem;
gap: 0.875rem;
margin-bottom: 0.875rem;
@media (width <= 767px) {
grid-template-columns: 1fr;
@@ -471,9 +471,9 @@ label {
flex-direction: column;
flex-grow: 1;
width: 100%;
gap: 1rem;
margin-top: 1rem;
margin-bottom: 1rem;
gap: 0.875rem;
margin-top: 0.875rem;
margin-bottom: 0.875rem;
@media (width >= 768px) {
flex-direction: row;
@@ -522,13 +522,13 @@ label {
.footer-actions {
display: flex;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
padding: 0;
padding-top: 1rem;
padding-top: 0.875rem;
z-index: 10;
@media (width >= 768px) {
padding: 1rem;
padding: 0.875rem;
}
}
@@ -536,7 +536,7 @@ label {
display: none;
justify-content: space-between;
width: 100%;
gap: 1rem;
gap: 0.875rem;
@media (width >= 640px) {
display: flex;
@@ -545,17 +545,17 @@ label {
.navigation-left {
display: flex;
gap: 1rem;
gap: 0.875rem;
}
.navigation-center {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
align-items: center;
}
.navigation-position {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-surface-600);
:host-context(.dark) & {
@@ -565,7 +565,7 @@ label {
.actions-right {
display: flex;
gap: 1rem;
gap: 0.875rem;
align-items: center;
margin-left: auto;
}
@@ -583,7 +583,7 @@ label {
.mobile-nav-buttons {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
flex-wrap: wrap;
}
@@ -592,19 +592,19 @@ label {
justify-content: space-between;
align-items: center;
width: 100%;
gap: 1rem;
gap: 0.875rem;
}
.embeddable-indicator {
font-size: 0.65rem;
font-size: 0.5687rem;
color: var(--p-green-500);
margin-left: 0.25rem;
margin-left: 0.2188rem;
vertical-align: super;
}
.mobile-lock-actions {
display: flex;
gap: 1rem;
gap: 0.875rem;
}
.mobile-save-action {
@@ -30,18 +30,18 @@
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
padding: 0.625rem 1rem;
gap: 0.4375rem;
padding: 0.5469rem 0.875rem;
background: rgb(34 197 94 / 10%);
border: 1px solid rgb(34 197 94 / 30%);
border-radius: 8px;
color: var(--p-green-400);
font-size: 0.875rem;
font-size: var(--app-text-sm);
font-weight: 600;
animation: fade-in 0.3s ease-in;
i {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
@@ -49,10 +49,10 @@
.dialog-body {
flex: 1;
overflow-y: auto;
padding: 1.25rem;
padding: 1.0938rem;
display: flex;
flex-direction: column;
gap: 1.5rem;
gap: 1.3125rem;
}
// Column Headers - mirrors field-row structure for alignment (desktop only)
@@ -60,8 +60,8 @@
display: flex;
align-items: center;
justify-content: center;
padding: 0.875rem 1rem;
margin-bottom: 0.5rem;
padding: 0.7656rem 0.875rem;
margin-bottom: 0.4375rem;
background: var(--overlay-background);
border: 1px solid var(--border-color);
border-radius: 8px;
@@ -85,8 +85,8 @@
.column-label {
display: none;
align-items: center;
gap: 0.625rem;
font-size: 1rem;
gap: 0.5469rem;
font-size: var(--app-text-base);
font-weight: 500;
text-transform: uppercase;
letter-spacing: 0.05em;
@@ -97,19 +97,19 @@
}
i {
font-size: 1.125rem;
font-size: var(--app-text-lg);
}
&.current {
color: var(--primary-color);
justify-content: flex-end;
padding-right: 1rem;
padding-right: 0.875rem;
}
&.fetched {
color: var(--p-blue-400);
justify-content: flex-start;
padding-left: 1rem;
padding-left: 0.875rem;
}
}
@@ -117,10 +117,10 @@
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
gap: 0.4375rem;
flex-shrink: 0;
margin-left: 0.75rem;
margin-right: 0.75rem;
margin-left: 0.6563rem;
margin-right: 0.6563rem;
}
}
@@ -129,16 +129,16 @@
.section-header {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.75rem;
font-size: 0.85rem;
gap: 0.4375rem;
margin-bottom: 0.6563rem;
font-size: 0.7438rem;
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
color: var(--text-secondary-color);
i {
font-size: 0.9rem;
font-size: 0.7875rem;
color: var(--primary-color);
}
@@ -153,13 +153,13 @@
.section-toggle {
margin-left: auto;
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--text-secondary-color);
}
}
.section-empty-badge {
font-size: 0.7rem;
font-size: 0.6125rem;
font-weight: 500;
text-transform: none;
letter-spacing: normal;
@@ -167,7 +167,7 @@
background: var(--ground-background);
border: 1px solid var(--border-color);
border-radius: 4px;
padding: 0.125rem 0.5rem;
padding: 0.1094rem 0.4375rem;
opacity: 0.8;
}
}
@@ -219,7 +219,7 @@
transition: all 0.2s ease;
i {
font-size: 0.625rem;
font-size: 0.5469rem;
color: white;
}
@@ -233,7 +233,7 @@
}
.cover-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
font-weight: 600;
text-transform: uppercase;
letter-spacing: 0.03em;
@@ -242,8 +242,8 @@
// Cover type icon in label
.cover-type-icon {
font-size: 0.8rem;
margin-right: 0.25rem;
font-size: 0.7rem;
margin-right: 0.2188rem;
}
// Square cover for audiobooks
@@ -287,13 +287,13 @@
}
i {
font-size: 1.75rem;
margin-bottom: 0.5rem;
font-size: 1.5313rem;
margin-bottom: 0.4375rem;
opacity: 0.5;
}
span {
font-size: 0.75rem;
font-size: var(--app-text-xs);
text-transform: uppercase;
letter-spacing: 0.05em;
}
@@ -304,8 +304,8 @@
.field-row {
display: flex;
flex-direction: column;
gap: 0.5rem;
padding: 0.875rem 1rem;
gap: 0.4375rem;
padding: 0.7656rem 0.875rem;
border-bottom: 1px solid var(--border-color);
&:last-child {
@@ -315,17 +315,17 @@
@media (width >= 768px) {
flex-direction: row;
align-items: center;
padding: 0.75rem 1rem;
padding: 0.6563rem 0.875rem;
}
}
// Cover field row specific styles
.cover-field-row {
padding: 1rem;
padding: 0.875rem;
.field-label {
text-align: center;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
@media (width >= 768px) {
text-align: left;
@@ -335,10 +335,10 @@
.field-content {
align-items: center;
gap: 1rem;
gap: 0.875rem;
@media (width >= 768px) {
gap: 1.5rem;
gap: 1.3125rem;
}
}
@@ -346,7 +346,7 @@
.field-side {
flex-direction: column;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
@media (width >= 768px) {
flex-direction: row;
@@ -355,7 +355,7 @@
// Position covers towards the arrow on desktop only
@media (width >= 768px) {
padding: 1rem;
padding: 0.875rem;
.field-side.current {
justify-content: flex-end;
@@ -368,7 +368,7 @@
}
.field-label {
font-size: 0.85rem;
font-size: 0.7438rem;
font-weight: 500;
color: var(--text-color);
min-width: 100px;
@@ -382,20 +382,20 @@
.field-content {
display: flex;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
flex: 1;
@media (width >= 768px) {
flex-direction: row;
align-items: center;
gap: 0.75rem;
gap: 0.6563rem;
}
}
.field-side {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
flex: 1;
min-width: 0;
@@ -422,7 +422,7 @@
transition: all 0.2s ease;
i {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: white;
}
@@ -473,13 +473,13 @@
.lock-btn {
@media (width >= 768px) {
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
}
.transfer-btn {
@media (width >= 768px) {
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
}
}
@@ -499,7 +499,7 @@
transition: all 0.2s ease;
i {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--text-secondary-color);
}
@@ -545,8 +545,8 @@
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
padding: 1rem 1.25rem;
gap: 0.875rem;
padding: 0.875rem 1.0938rem;
background: var(--overlay-background);
border-top: 1px solid var(--border-color);
flex-shrink: 0;
@@ -560,14 +560,14 @@
.footer-right {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.footer-divider {
width: 1px;
height: 24px;
background: var(--border-color);
margin: 0 0.25rem;
margin: 0 0.2188rem;
}
// AutoComplete overrides
@@ -593,14 +593,14 @@
// Mobile optimizations
@media (width <= 767px) {
.dialog-body {
padding: 1rem;
gap: 1.25rem;
padding: 0.875rem;
gap: 1.0938rem;
}
.dialog-footer {
flex-direction: column;
padding: 0.875rem 1rem;
gap: 0.75rem;
padding: 0.7656rem 0.875rem;
gap: 0.6563rem;
.footer-left,
.footer-right {
@@ -610,7 +610,7 @@
}
.field-label {
font-size: 0.8rem;
font-size: 0.7rem;
font-weight: 600;
}
}
@@ -619,9 +619,9 @@
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.375rem;
padding: 0.375rem;
min-height: 2.25rem;
gap: 0.3281rem;
padding: 0.3281rem;
min-height: 1.9688rem;
border: 1px solid var(--p-inputtext-border-color);
border-radius: 6px;
background: var(--p-inputtext-background);
@@ -640,13 +640,13 @@
}
.author-add-input {
flex: 1 1 6rem;
min-width: 6rem;
flex: 1 1 5.25rem;
min-width: 5.25rem;
::ng-deep input {
border: none !important;
background: transparent !important;
padding: 0.25rem;
padding: 0.2188rem;
box-shadow: none !important;
outline: none !important;
}
@@ -655,12 +655,12 @@
.author-chip {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.5rem;
border-radius: 1rem;
gap: 0.2188rem;
padding: 0.2188rem 0.4375rem;
border-radius: 0.875rem;
background: var(--p-chip-background);
color: var(--p-chip-color);
font-size: 0.875rem;
font-size: var(--app-text-sm);
cursor: grab;
user-select: none;
}
@@ -669,27 +669,27 @@
display: inline-flex;
align-items: center;
justify-content: center;
width: 1rem;
height: 1rem;
width: 0.875rem;
height: 0.875rem;
border-radius: 50%;
background: var(--p-primary-color);
color: var(--p-primary-contrast-color);
font-size: 0.6rem;
font-size: 0.525rem;
font-weight: 700;
flex-shrink: 0;
}
.author-chip-remove {
font-size: 0.65rem;
font-size: 0.5687rem;
cursor: pointer;
opacity: 0.6;
padding: 0.15rem;
padding: 0.1313rem;
&:hover { opacity: 1; }
}
.cdk-drag-preview {
box-sizing: border-box;
border-radius: 1rem;
border-radius: 0.875rem;
box-shadow: 0 2px 8px rgb(0 0 0 / 20%);
}
@@ -35,7 +35,7 @@
class="pi pi-info-circle"
[pTooltip]="t('isbnTooltip')"
tooltipPosition="right"
style="margin-left: 0.25rem; color: var(--primary-color); cursor: pointer;"
style="margin-left: 0.2188rem; color: var(--primary-color); cursor: pointer;"
></i>
</label>
<input
@@ -22,30 +22,30 @@ $provider-colors: (
}
.search-header {
margin-bottom: 1.5rem;
margin-bottom: 1.3125rem;
.header-content {
text-align: center;
}
.header-title {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 700;
margin: 0 0 0.375rem;
margin: 0 0 0.3281rem;
color: var(--color-text);
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
gap: 0.4375rem;
i {
color: var(--color-primary);
font-size: 1.5rem;
font-size: 1.3125rem;
}
}
.header-subtitle {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
margin: 0;
}
@@ -53,11 +53,11 @@ $provider-colors: (
.search-card {
background: var(--color-card);
border-radius: 0.75rem;
padding: 1.25rem;
border-radius: 0.6563rem;
padding: 1.0938rem;
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
border: 1px solid var(--color-border);
margin-bottom: 1.25rem;
margin-bottom: 1.0938rem;
transition: all 0.3s ease;
&:hover {
@@ -68,8 +68,8 @@ $provider-colors: (
.search-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
margin-bottom: 1rem;
gap: 0.875rem;
margin-bottom: 0.875rem;
@media (width >= 640px) {
grid-template-columns: repeat(2, 1fr);
@@ -84,19 +84,19 @@ $provider-colors: (
.search-field {
display: flex;
flex-direction: column;
gap: 0.375rem;
gap: 0.3281rem;
label {
font-weight: 600;
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text);
display: flex;
align-items: center;
gap: 0.375rem;
gap: 0.3281rem;
i {
color: var(--color-primary);
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
@@ -124,14 +124,14 @@ $provider-colors: (
::ng-deep {
.custom-search-button {
width: 100%;
height: 2.5rem;
height: 2.1875rem;
font-weight: 600;
font-size: 0.9375rem;
border-radius: 0.5rem;
font-size: 0.8203rem;
border-radius: 0.4375rem;
@media (width >= 1024px) {
width: auto;
min-width: 8rem;
min-width: 7rem;
}
}
}
@@ -139,28 +139,28 @@ $provider-colors: (
.search-info {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem;
gap: 0.4375rem;
padding: 0.6563rem;
background: var(--color-card);
border-radius: 0.5rem;
font-size: 0.875rem;
border-radius: 0.4375rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
border-left: 3px solid var(--color-primary);
i {
color: var(--color-primary);
font-size: 0.9375rem;
font-size: 0.8203rem;
flex-shrink: 0;
}
}
.provider-status {
background: var(--color-card);
border-radius: 0.75rem;
padding: 1rem;
border-radius: 0.6563rem;
padding: 0.875rem;
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
border: 1px solid var(--color-border);
margin-bottom: 1.25rem;
margin-bottom: 1.0938rem;
animation: slide-in 0.3s ease-out;
}
@@ -192,37 +192,37 @@ $provider-colors: (
display: flex;
justify-content: flex-start;
align-items: center;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
flex-wrap: wrap;
gap: 0.75rem;
gap: 0.6563rem;
.results-info {
display: flex;
align-items: center;
gap: 0.75rem;
gap: 0.6563rem;
}
h3 {
margin: 0;
font-size: 1.0625rem;
font-size: 0.9297rem;
font-weight: 600;
color: var(--color-text);
display: flex;
align-items: center;
gap: 0.375rem;
gap: 0.3281rem;
i {
color: var(--color-primary);
font-size: 0.9375rem;
font-size: 0.8203rem;
}
}
.results-count {
padding: 0.25rem 0.75rem;
padding: 0.2188rem 0.6563rem;
background: color-mix(in srgb, var(--color-primary) 20%, transparent);
color: var(--color-primary);
border-radius: 2rem;
font-size: 0.875rem;
border-radius: 1.75rem;
font-size: var(--app-text-sm);
font-weight: 700;
border: 1px solid var(--color-primary);
}
@@ -231,12 +231,12 @@ $provider-colors: (
.fetching-badge {
display: flex;
align-items: center;
gap: 0.375rem;
padding: 0.25rem 0.85rem;
gap: 0.3281rem;
padding: 0.2188rem 0.7438rem;
background: rgb(34 197 94 / 80%);
color: white;
border-radius: 2rem;
font-size: 0.85rem;
border-radius: 1.75rem;
font-size: 0.7438rem;
font-weight: 700;
box-shadow: 0 2px 8px rgb(34 197 94 / 35%);
}
@@ -244,17 +244,17 @@ $provider-colors: (
.provider-pills {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
gap: 0.75rem;
gap: 0.6563rem;
}
.provider-pill {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
gap: 0.4375rem;
padding: 0.4375rem 0.6563rem;
background: var(--color-card);
border: 1px solid var(--color-border);
border-radius: 0.5rem;
border-radius: 0.4375rem;
transition: all 0.3s ease;
user-select: none;
@@ -357,16 +357,16 @@ $provider-colors: (
display: flex;
align-items: center;
justify-content: center;
width: 2rem;
height: 2rem;
width: 1.75rem;
height: 1.75rem;
background: var(--color-border);
border-radius: 0.375rem;
border-radius: 0.3281rem;
color: var(--color-text-secondary);
flex-shrink: 0;
transition: all 0.3s ease;
i {
font-size: 0.9375rem;
font-size: 0.8203rem;
}
}
@@ -378,7 +378,7 @@ $provider-colors: (
.pill-name {
font-weight: 700;
font-size: 0.95rem;
font-size: 0.8313rem;
color: var(--color-text);
}
@@ -386,14 +386,14 @@ $provider-colors: (
display: flex;
align-items: center;
justify-content: center;
min-width: 1.75rem;
height: 1.75rem;
padding: 0 0.375rem;
min-width: 1.5313rem;
height: 1.5313rem;
padding: 0 0.3281rem;
background: var(--color-border);
color: var(--color-text);
border-radius: 2rem;
border-radius: 1.75rem;
font-weight: 800;
font-size: 1rem;
font-size: var(--app-text-base);
text-shadow: 0 1px 2px rgb(0 0 0 / 12%);
}
}
@@ -403,21 +403,21 @@ $provider-colors: (
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem 1.5rem;
padding: 2.625rem 1.3125rem;
text-align: center;
.empty-icon {
width: 4rem;
height: 4rem;
width: 3.5rem;
height: 3.5rem;
display: flex;
align-items: center;
justify-content: center;
background: var(--color-card);
border-radius: 50%;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
i {
font-size: 2rem;
font-size: 1.75rem;
color: var(--color-primary);
}
@@ -431,15 +431,15 @@ $provider-colors: (
}
h3 {
margin: 0 0 0.375rem;
font-size: 1.25rem;
margin: 0 0 0.3281rem;
font-size: 1.0938rem;
font-weight: 600;
color: var(--color-text);
}
p {
margin: 0;
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
max-width: 500px;
}
@@ -452,11 +452,11 @@ $provider-colors: (
.results-toolbar {
display: flex;
flex-direction: column;
gap: 0.75rem;
margin-bottom: 1rem;
padding: 1rem;
gap: 0.6563rem;
margin-bottom: 0.875rem;
padding: 0.875rem;
background: var(--color-card);
border-radius: 0.75rem;
border-radius: 0.6563rem;
box-shadow: 0 2px 4px rgb(0 0 0 / 20%);
border: 1px solid var(--color-border);
@@ -470,35 +470,35 @@ $provider-colors: (
.results-info {
display: flex;
flex-direction: column;
gap: 0.375rem;
gap: 0.3281rem;
@media (width >= 768px) {
flex-direction: row;
align-items: center;
gap: 0.75rem;
gap: 0.6563rem;
}
h3 {
margin: 0;
font-size: 1.0625rem;
font-size: 0.9297rem;
font-weight: 600;
color: var(--color-text);
display: flex;
align-items: center;
gap: 0.375rem;
gap: 0.3281rem;
i {
color: var(--color-primary);
font-size: 0.9375rem;
font-size: 0.8203rem;
}
}
.results-count {
padding: 0.1875rem 0.625rem;
padding: 0.1641rem 0.5469rem;
background: var(--color-card);
color: var(--color-primary);
border-radius: 2rem;
font-size: 0.875rem;
border-radius: 1.75rem;
font-size: var(--app-text-sm);
font-weight: 600;
}
}
@@ -506,20 +506,20 @@ $provider-colors: (
.results-filter {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
label {
font-weight: 600;
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text);
display: flex;
align-items: center;
gap: 0.375rem;
gap: 0.3281rem;
white-space: nowrap;
i {
color: var(--color-primary);
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
@@ -531,7 +531,7 @@ $provider-colors: (
.results-grid {
display: grid;
grid-template-columns: 1fr;
gap: 1rem;
gap: 0.875rem;
@media (width >= 768px) {
grid-template-columns: repeat(2, 1fr);
@@ -544,7 +544,7 @@ $provider-colors: (
.metadata-card {
background: var(--color-card);
border-radius: 0.75rem;
border-radius: 0.6563rem;
overflow: hidden;
box-shadow: 0 2px 6px rgb(0 0 0 / 20%);
border: 1px solid var(--color-border);
@@ -597,27 +597,27 @@ $provider-colors: (
flex-direction: column;
align-items: center;
justify-content: center;
gap: 0.375rem;
gap: 0.3281rem;
opacity: 0;
transition: opacity 0.3s ease;
color: white;
i {
font-size: 1.5rem;
font-size: 1.3125rem;
}
span {
font-weight: 600;
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
}
.card-content {
padding: 1rem;
padding: 0.875rem;
display: flex;
flex-direction: column;
gap: 0.625rem;
gap: 0.5469rem;
flex: 1;
min-width: 0;
overflow: hidden;
@@ -626,12 +626,12 @@ $provider-colors: (
.card-header {
display: flex;
flex-direction: column;
gap: 0.375rem;
gap: 0.3281rem;
}
.card-title {
margin: 0;
font-size: 1rem;
font-size: var(--app-text-base);
font-weight: 700;
color: var(--color-text);
line-height: 1.3;
@@ -642,7 +642,7 @@ $provider-colors: (
}
.card-provider {
font-size: 0.9rem;
font-size: 0.7875rem;
::ng-deep a {
text-decoration: none;
@@ -662,11 +662,11 @@ $provider-colors: (
.card-authors {
margin: 0;
font-size: 0.9rem;
font-size: 0.7875rem;
color: var(--color-text-secondary);
display: flex;
align-items: center;
gap: 0.375rem;
gap: 0.3281rem;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@@ -674,7 +674,7 @@ $provider-colors: (
i {
color: var(--color-primary);
font-size: 0.875rem;
font-size: var(--app-text-sm);
flex-shrink: 0;
}
}
@@ -682,24 +682,24 @@ $provider-colors: (
.card-meta {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
gap: 0.3281rem;
}
.meta-badge {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.5rem 0.5rem 0.5rem 0;
gap: 0.2188rem;
padding: 0.4375rem 0.4375rem 0.4375rem 0;
background: var(--color-card);
border-radius: 0.25rem;
font-size: 0.8rem;
border-radius: 0.2188rem;
font-size: 0.7rem;
color: var(--color-text-secondary);
font-weight: 500;
white-space: nowrap;
i {
padding-right: 0.25rem;
font-size: 0.6875rem;
padding-right: 0.2188rem;
font-size: 0.6016rem;
color: var(--color-primary);
flex-shrink: 0;
}
@@ -707,7 +707,7 @@ $provider-colors: (
.card-description {
margin: 0;
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
line-height: 1.4;
display: -webkit-box;
@@ -1,17 +1,17 @@
.custom-p-tabs ::ng-deep .p-tabpanels {
padding: 0.5rem 0 0 !important;
padding: 0.4375rem 0 0 !important;
}
.tab-content {
padding: 0.5rem 0;
padding: 0.4375rem 0;
}
.dashboard-scroller-infinite {
display: flex;
overflow: auto hidden;
scroll-snap-type: x mandatory;
padding: 0.5rem;
gap: 1rem;
padding: 0.4375rem;
gap: 0.875rem;
width: 100%;
}
@@ -29,7 +29,7 @@
scroll-snap-align: start;
transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
position: relative;
border-radius: 0.5rem;
border-radius: 0.4375rem;
}
.dashboard-scroller-card:hover {
@@ -58,45 +58,45 @@
.files-tab-content {
display: flex;
flex-direction: column;
gap: 1.5rem;
padding: 0.5rem 0;
gap: 1.3125rem;
padding: 0.4375rem 0;
}
.files-section {
display: flex;
flex-direction: column;
gap: 0.75rem;
gap: 0.6563rem;
&.download-all-section {
align-items: flex-end;
margin-bottom: -1.5rem;
margin-top: 1rem;
margin-bottom: -1.3125rem;
margin-top: 0.875rem;
}
}
.files-section-title {
font-size: 0.875rem;
font-size: var(--app-text-sm);
font-weight: 600;
color: var(--text-color);
margin: 0;
padding-bottom: 0.5rem;
padding-bottom: 0.4375rem;
border-bottom: 1px solid var(--border-color);
}
.files-list {
display: flex;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
}
.file-item {
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.75rem;
padding: 0.6563rem;
background: var(--card-background);
border: 1px solid var(--border-color);
border-radius: 0.5rem;
border-radius: 0.4375rem;
transition: background 0.2s ease, border-color 0.2s ease;
&:hover {
@@ -112,28 +112,28 @@
.file-info {
display: flex;
align-items: center;
gap: 0.75rem;
gap: 0.6563rem;
min-width: 0;
flex: 1;
}
.file-type-badge {
padding: 0.25rem 0.5rem;
border-radius: 0.25rem;
font-size: 0.8rem;
padding: 0.2188rem 0.4375rem;
border-radius: 0.2188rem;
font-size: 0.7rem;
font-weight: 600;
color: #fff;
flex-shrink: 0;
}
.file-icon {
font-size: 1.25rem;
font-size: 1.0938rem;
color: var(--text-color-secondary);
flex-shrink: 0;
}
.file-name {
font-size: 0.9rem;
font-size: 0.7875rem;
color: var(--text-color);
overflow: hidden;
text-overflow: ellipsis;
@@ -143,7 +143,7 @@
}
.file-size {
font-size: 0.8rem;
font-size: 0.7rem;
color: var(--text-color-secondary);
flex-shrink: 0;
}
@@ -151,15 +151,15 @@
.file-actions {
display: flex;
align-items: center;
gap: 0.25rem;
gap: 0.2188rem;
flex-shrink: 0;
::ng-deep .p-button-sm {
width: 2rem;
height: 2rem;
width: 1.75rem;
height: 1.75rem;
.p-button-icon {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
}
@@ -170,32 +170,32 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem 1rem;
padding: 2.625rem 0.875rem;
text-align: center;
color: var(--text-color-secondary);
}
.empty-state-icon {
font-size: 3rem;
font-size: 2.625rem;
color: var(--book-type-physical-color);
margin-bottom: 1rem;
margin-bottom: 0.875rem;
}
.empty-state-title {
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 600;
color: var(--text-color);
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
}
.empty-state-message {
font-size: 0.9rem;
margin: 0 0 0.5rem;
font-size: 0.7875rem;
margin: 0 0 0.4375rem;
max-width: 400px;
}
.empty-state-hint {
font-size: 0.8rem;
font-size: 0.7rem;
font-style: italic;
margin: 0;
opacity: 0.8;
@@ -203,14 +203,14 @@
// Chapters tab styles
.chapters-tab-content {
padding: 0.5rem 0;
padding: 0.4375rem 0;
}
.chapters-loading {
display: flex;
justify-content: center;
padding: 2rem;
font-size: 1.5rem;
padding: 1.75rem;
font-size: 1.3125rem;
color: var(--text-color-secondary);
}
@@ -218,23 +218,23 @@
display: flex;
flex-wrap: wrap;
align-items: center;
gap: 0.5rem;
margin-bottom: 1rem;
font-size: 0.8rem;
gap: 0.4375rem;
margin-bottom: 0.875rem;
font-size: 0.7rem;
color: var(--text-color-secondary);
.tech-info-item {
display: flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.625rem;
gap: 0.2188rem;
padding: 0.2188rem 0.5469rem;
background: var(--highlight-background);
border: 1px solid var(--border-color);
border-radius: 9999px;
white-space: nowrap;
i {
font-size: 0.75rem;
font-size: var(--app-text-xs);
color: var(--primary-color);
}
}
@@ -243,16 +243,16 @@
.chapters-table-wrapper {
overflow-x: auto;
border: 1px solid var(--border-color);
border-radius: 0.5rem;
border-radius: 0.4375rem;
}
.chapters-table {
width: 100%;
border-collapse: collapse;
font-size: 0.875rem;
font-size: var(--app-text-sm);
th, td {
padding: 0.625rem 0.75rem;
padding: 0.5469rem 0.6563rem;
text-align: left;
}
@@ -264,7 +264,7 @@
th {
font-weight: 600;
color: var(--text-color-secondary);
font-size: 0.8rem;
font-size: 0.7rem;
text-transform: uppercase;
letter-spacing: 0.025em;
}
@@ -287,25 +287,25 @@
}
.chapter-num {
width: 3rem;
width: 2.625rem;
text-align: center;
color: var(--text-color-secondary);
}
.chapter-title {
min-width: 10rem;
min-width: 8.75rem;
}
.chapter-file {
min-width: 8rem;
min-width: 7rem;
color: var(--text-color-secondary);
font-size: 0.8rem;
font-size: 0.7rem;
}
.chapter-time {
width: 6rem;
width: 5.25rem;
font-family: monospace;
font-size: 0.8rem;
font-size: 0.7rem;
color: var(--text-color-secondary);
white-space: nowrap;
}
@@ -314,19 +314,19 @@
.chapters-empty {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 2rem;
gap: 0.4375rem;
padding: 1.75rem;
justify-content: center;
color: var(--text-color-secondary);
font-size: 0.9rem;
font-size: 0.7875rem;
}
@media (width <= 576px) {
.chapters-table {
font-size: 0.8rem;
font-size: 0.7rem;
th, td {
padding: 0.5rem;
padding: 0.4375rem;
}
.chapter-file {
@@ -341,13 +341,13 @@
// Covers tab styles
.covers-tab-content {
padding: 1rem 0;
padding: 0.875rem 0;
}
.covers-grid {
display: flex;
flex-wrap: wrap;
gap: 2rem;
gap: 1.75rem;
justify-content: center;
@media (width >= 768px) {
@@ -359,28 +359,28 @@
display: flex;
flex-direction: column;
align-items: center;
gap: 0.75rem;
gap: 0.6563rem;
::ng-deep .square-cover img {
aspect-ratio: 1;
object-fit: cover;
border-radius: 0.5rem;
border-radius: 0.4375rem;
}
}
.cover-label {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
gap: 0.4375rem;
font-size: var(--app-text-sm);
font-weight: 600;
color: var(--primary-color);
padding: 0.25rem 0.75rem;
padding: 0.2188rem 0.6563rem;
background: color-mix(in srgb, var(--primary-color) 15%, transparent);
border-radius: 0.5rem;
border-radius: 0.4375rem;
i {
font-size: 1rem;
font-size: var(--app-text-base);
}
&.audiobook {
@@ -1,27 +1,27 @@
.metadata-viewer-container {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.875rem;
padding: 0;
width: 100%;
min-height: 100%;
animation: fadeIn 0.3s ease-in;
@media (width >= 768px) {
padding: 0.5rem;
padding: 0.4375rem;
}
}
.metadata-header {
display: flex;
flex-direction: column;
gap: 1rem;
padding-bottom: 1rem;
gap: 0.875rem;
padding-bottom: 0.875rem;
border-bottom: 1px solid var(--color-border);
@media (width >= 768px) {
flex-direction: row;
gap: 1.5rem;
gap: 1.3125rem;
}
}
@@ -31,7 +31,7 @@
justify-content: center;
align-items: center;
flex-shrink: 0;
gap: 1rem;
gap: 0.875rem;
@media (width >= 768px) {
justify-content: flex-start;
@@ -51,13 +51,13 @@
.series-badge {
position: absolute;
top: 0.5rem;
left: 0.5rem;
top: 0.4375rem;
left: 0.4375rem;
background: var(--color-page);
color: var(--color-text);
padding: 0.25rem 0.5rem;
border-radius: 0.5rem;
font-size: 0.75rem;
padding: 0.2188rem 0.4375rem;
border-radius: 0.4375rem;
font-size: var(--app-text-xs);
font-weight: 600;
border: 1px solid var(--color-border);
backdrop-filter: blur(8px);
@@ -117,20 +117,20 @@
flex-direction: column;
justify-content: space-between;
flex-grow: 1;
gap: 1rem;
gap: 0.875rem;
min-width: 0;
}
.info-content {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.875rem;
}
.title-group {
display: flex;
flex-direction: column;
gap: 0.375rem;
gap: 0.3281rem;
text-align: center;
@media (width >= 768px) {
@@ -141,7 +141,7 @@
.series-link {
color: var(--color-primary);
cursor: pointer;
font-size: 0.95rem;
font-size: 0.8313rem;
font-weight: 500;
font-style: italic;
transition: color 0.2s ease;
@@ -155,7 +155,7 @@
.title-wrapper {
display: flex;
flex-direction: column;
gap: 0.375rem;
gap: 0.3281rem;
align-items: center;
@media (width >= 768px) {
@@ -166,7 +166,7 @@
.title-content {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
flex-wrap: wrap;
justify-content: center;
@@ -176,19 +176,19 @@
}
.book-title {
font-size: 1.5rem;
font-size: 1.3125rem;
font-weight: 800;
color: var(--color-text);
line-height: 1.2;
margin: 0;
@media (width >= 768px) {
font-size: 1.875rem;
font-size: 1.6406rem;
}
}
.lock-icon {
font-size: 1.1rem;
font-size: 0.9625rem;
transition: transform 0.2s ease;
}
@@ -205,7 +205,7 @@
}
.authors {
font-size: 1.125rem;
font-size: var(--app-text-lg);
color: var(--color-text-secondary);
margin: 0;
}
@@ -225,13 +225,13 @@
.first-author-badge {
display: inline-flex;
align-items: center;
font-size: 0.55rem;
font-size: 0.4813rem;
font-weight: 700;
color: var(--color-warning);
text-transform: uppercase;
letter-spacing: 0.3px;
margin-left: 0.25rem;
padding: 0.1rem 0.3rem;
margin-left: 0.2188rem;
padding: 0.0875rem 0.2625rem;
border: 1px solid color-mix(in srgb, var(--color-warning) 65%, transparent);
border-radius: 3px;
line-height: 1;
@@ -241,7 +241,7 @@
.formats-inline {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
flex-wrap: wrap;
justify-content: center;
@@ -253,7 +253,7 @@
.format-pipe {
color: var(--color-text-secondary);
font-weight: 300;
font-size: 1rem;
font-size: var(--app-text-base);
line-height: 1;
user-select: none;
@@ -266,7 +266,7 @@
.ratings-section {
display: flex;
flex-direction: column;
gap: 0.75rem;
gap: 0.6563rem;
align-items: center;
@media (width >= 640px) {
@@ -283,22 +283,22 @@
.rating-group {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.rating-icon {
color: orange;
font-size: 1rem;
font-size: var(--app-text-base);
}
.reset-button ::ng-deep .p-button {
padding: 0.375rem;
padding: 0.3281rem;
}
.divider {
display: none;
width: 1px;
height: 2rem;
height: 1.75rem;
background: var(--color-border);
}
@@ -311,7 +311,7 @@
.external-ratings {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
gap: 0.6563rem;
justify-content: center;
@media (width >= 640px) {
@@ -322,7 +322,7 @@
.rating-link {
display: flex;
align-items: center;
gap: 0.375rem;
gap: 0.3281rem;
text-decoration: none;
color: var(--color-text);
transition: transform 0.2s ease;
@@ -338,34 +338,34 @@
}
.rating-favicon {
width: 1.25rem;
height: 1.25rem;
width: 1.0938rem;
height: 1.0938rem;
object-fit: contain;
transition: transform 0.2s ease, filter 0.2s ease;
}
.rating-value {
font-weight: 600;
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text);
}
.tags-section {
display: flex;
flex-direction: column;
gap: 0.25rem;
gap: 0.2188rem;
}
.tag-row {
display: flex;
align-items: center;
gap: 0.25rem;
min-height: 1.75rem;
gap: 0.2188rem;
min-height: 1.5313rem;
}
.tag-label {
font-weight: 600;
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text);
flex: 0 0 56px;
min-width: 56px;
@@ -391,7 +391,7 @@
.tag-container {
display: flex;
gap: 0.375rem; /* slightly smaller gap between tags */
gap: 0.3281rem; /* slightly smaller gap between tags */
width: max-content;
max-width: 1150px;
}
@@ -410,26 +410,26 @@
.metadata-grid {
display: grid;
grid-template-columns: 1fr;
gap: 0.5rem;
padding: 0.5rem 0;
font-size: 0.875rem;
gap: 0.4375rem;
padding: 0.4375rem 0;
font-size: var(--app-text-sm);
}
@media (width >= 768px) {
.metadata-grid {
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 0.5rem;
gap: 0.4375rem;
}
}
.metadata-item {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
color: var(--color-text-secondary);
white-space: nowrap;
overflow: hidden;
min-height: 1.5rem;
min-height: 1.3125rem;
}
.metadata-key {
@@ -447,13 +447,13 @@
.metadata-value-group {
display: inline-flex;
align-items: center;
gap: 0.375rem;
gap: 0.3281rem;
flex-wrap: wrap;
}
.separator {
color: var(--color-text-secondary);
margin-right: 0.25rem;
margin-right: 0.2188rem;
}
.format-tags {
@@ -481,13 +481,13 @@
.format-badge {
display: none;
align-items: center;
font-size: 0.55rem;
font-size: 0.4813rem;
font-weight: 700;
color: var(--color-primary);
text-transform: uppercase;
letter-spacing: 0.3px;
margin-left: 0.25rem;
padding: 0.1rem 0.3rem;
margin-left: 0.2188rem;
padding: 0.0875rem 0.2625rem;
border: 1px solid var(--color-primary);
border-radius: 3px;
line-height: 1;
@@ -508,7 +508,7 @@
.edit-icon {
color: var(--color-primary-text);
cursor: pointer;
font-size: 0.875rem;
font-size: var(--app-text-sm);
transition: color 0.2s ease, transform 0.2s ease;
}
@@ -524,11 +524,11 @@
.file-path-section {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: -1.25rem;
padding: 0.5rem 0;
gap: 0.4375rem;
margin-top: -1.0938rem;
padding: 0.4375rem 0;
border-top: none;
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
.eye-icon {
@@ -542,7 +542,7 @@
}
.file-path-code {
font-size: 0.85rem;
font-size: 0.7438rem;
color: var(--color-text-secondary);
overflow: hidden;
text-overflow: ellipsis;
@@ -552,26 +552,26 @@
.action-buttons-container {
margin-top: auto;
padding-top: 0.75rem;
padding-top: 0.6563rem;
border-top: 1px solid var(--color-border);
}
.action-buttons {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
gap: 0.4375rem;
align-items: center;
}
.action-group {
display: flex;
align-items: center;
gap: 0.375rem;
gap: 0.3281rem;
&.navigation-group {
padding-right: 0.5rem;
padding-right: 0.4375rem;
border-right: 1px solid var(--color-border);
margin-right: 0.25rem;
margin-right: 0.2188rem;
@media (width <= 767px) {
display: none;
@@ -580,15 +580,15 @@
&.primary-actions {
@media (width >= 768px) {
padding-right: 0.5rem;
padding-right: 0.4375rem;
border-right: 1px solid var(--color-border);
margin-right: 0.25rem;
margin-right: 0.2188rem;
}
}
&.secondary-actions {
display: flex;
gap: 0.375rem;
gap: 0.3281rem;
}
}
@@ -621,7 +621,7 @@
::ng-deep .read-button-responsive .p-button-label::after,
::ng-deep .read-button-responsive.p-splitbutton .p-button-label::after {
content: "Read";
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
@@ -629,7 +629,7 @@
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
gap: 0.4375rem;
@media (width >= 768px) {
display: none;
@@ -640,12 +640,12 @@
display: flex;
align-items: center;
justify-content: space-between;
padding: 0.625rem 0.875rem;
padding: 0.5469rem 0.7656rem;
background: var(--color-page);
border-bottom: 1px solid var(--color-border);
border-radius: 0.75rem 0.75rem 0 0;
border-radius: 0.6563rem 0.6563rem 0 0;
font-weight: 600;
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text);
&.clickable {
@@ -660,23 +660,23 @@
i:first-child {
color: var(--color-primary);
margin-right: 0.5rem;
margin-right: 0.4375rem;
}
}
.section-header-left {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
i {
font-size: 0.95rem;
font-size: 0.8313rem;
color: var(--color-primary);
}
}
.section-toggle-icon {
font-size: 0.8rem;
font-size: 0.7rem;
color: var(--color-text-secondary);
transition: transform 0.3s ease;
}
@@ -684,7 +684,7 @@
.description-section {
background: var(--color-card);
border: 1px solid var(--color-border);
border-radius: 0.75rem;
border-radius: 0.6563rem;
overflow: hidden;
transition: box-shadow 0.3s ease;
@@ -698,7 +698,7 @@
}
.description-body {
padding: 0.875rem;
padding: 0.7656rem;
}
.description-content {
@@ -717,14 +717,14 @@
.expand-toggle {
display: inline-flex;
align-items: center;
gap: 0.375rem;
margin-top: 0.5rem;
padding: 0.25rem 0.5rem;
gap: 0.3281rem;
margin-top: 0.4375rem;
padding: 0.2188rem 0.4375rem;
background: transparent;
border: none;
border-radius: 0.25rem;
border-radius: 0.2188rem;
color: var(--color-primary);
font-size: 0.8rem;
font-size: 0.7rem;
font-weight: 500;
cursor: pointer;
transition: background 0.2s ease, color 0.2s ease;
@@ -735,14 +735,14 @@
}
i {
font-size: 0.7rem;
font-size: 0.6125rem;
}
}
.description-html {
color: var(--color-text-secondary);
line-height: 1.6;
font-size: 0.9375rem;
font-size: 0.8203rem;
overflow-wrap: break-word;
}
@@ -752,13 +752,13 @@
justify-content: center;
align-items: center;
height: 100%;
gap: 1rem;
padding: 2rem;
gap: 0.875rem;
padding: 1.75rem;
}
.loading-text {
color: var(--color-primary);
font-size: 1rem;
font-size: var(--app-text-base);
font-weight: 500;
}
@@ -772,7 +772,7 @@
}
.navigation-position {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
}
@@ -780,7 +780,7 @@
.comic-metadata-section {
background: var(--color-page);
border: 1px solid var(--color-border);
border-radius: 0.75rem;
border-radius: 0.6563rem;
overflow: hidden;
transition: box-shadow 0.3s ease;
@@ -790,10 +790,10 @@
}
.comic-metadata-content {
padding: 0.875rem;
padding: 0.7656rem;
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.875rem;
max-height: 1000px;
overflow: hidden;
transition: max-height 0.3s ease, padding 0.3s ease, opacity 0.3s ease;
@@ -801,7 +801,7 @@
&.collapsed {
max-height: 0;
padding: 0 0.875rem;
padding: 0 0.7656rem;
opacity: 0;
}
}
@@ -809,17 +809,17 @@
.comic-info-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
gap: 0.75rem;
gap: 0.6563rem;
}
.comic-info-item {
display: flex;
flex-direction: column;
gap: 0.125rem;
gap: 0.1094rem;
}
.comic-info-label {
font-size: 0.75rem;
font-size: var(--app-text-xs);
font-weight: 600;
color: var(--color-text-secondary);
text-transform: uppercase;
@@ -827,7 +827,7 @@
}
.comic-info-value {
font-size: 0.95rem;
font-size: 0.8313rem;
color: var(--color-text);
font-weight: 500;
}
@@ -836,25 +836,25 @@
.comic-arc-number {
color: var(--color-text-secondary);
font-weight: 400;
margin-left: 0.25rem;
margin-left: 0.2188rem;
}
.comic-subsection {
border-top: 1px solid var(--color-border);
padding-top: 0.75rem;
padding-top: 0.6563rem;
}
.comic-subsection-title {
display: flex;
align-items: center;
gap: 0.375rem;
font-size: 0.85rem;
gap: 0.3281rem;
font-size: 0.7438rem;
font-weight: 600;
color: var(--color-text);
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
i {
font-size: 0.9rem;
font-size: 0.7875rem;
color: var(--color-primary);
}
}
@@ -862,34 +862,34 @@
.comic-creators-grid {
display: flex;
flex-direction: column;
gap: 0.375rem;
gap: 0.3281rem;
}
.comic-creator-row {
display: flex;
align-items: flex-start;
gap: 0.5rem;
font-size: 0.9rem;
gap: 0.4375rem;
font-size: 0.7875rem;
}
.comic-creator-role {
flex: 0 0 95px;
font-weight: 500;
color: var(--color-text-secondary);
font-size: 0.85rem;
font-size: 0.7438rem;
}
.comic-creator-names {
display: flex;
flex-wrap: wrap;
gap: 0.25rem 0.5rem;
gap: 0.2188rem 0.4375rem;
}
.comic-creator-link {
color: var(--color-primary);
cursor: pointer;
transition: color 0.2s ease;
font-size: 0.9rem;
font-size: 0.7875rem;
&:hover {
color: var(--color-primary-hover);
@@ -905,27 +905,27 @@
.comic-tags-container {
display: flex;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
}
.comic-tag-row {
display: flex;
align-items: flex-start;
gap: 0.5rem;
gap: 0.4375rem;
}
.comic-tag-label {
flex: 0 0 80px;
font-weight: 500;
color: var(--color-text-secondary);
font-size: 0.85rem;
padding-top: 0.125rem;
font-size: 0.7438rem;
padding-top: 0.1094rem;
}
.comic-tag-list {
display: flex;
flex-wrap: wrap;
gap: 0.375rem;
gap: 0.3281rem;
}
.comic-tag-clickable {
@@ -940,22 +940,22 @@
.comic-properties {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
padding-top: 0.5rem;
gap: 0.4375rem;
padding-top: 0.4375rem;
border-top: 1px solid var(--color-border);
}
.comic-property-badge {
display: inline-flex;
align-items: center;
gap: 0.25rem;
padding: 0.25rem 0.625rem;
gap: 0.2188rem;
padding: 0.2188rem 0.5469rem;
border-radius: 9999px;
font-size: 0.75rem;
font-size: var(--app-text-xs);
font-weight: 600;
i {
font-size: 0.7rem;
font-size: 0.6125rem;
}
&.manga {
@@ -975,21 +975,21 @@
}
.comic-web-link {
padding-top: 0.5rem;
padding-top: 0.4375rem;
border-top: 1px solid var(--color-border);
}
.comic-external-link {
display: inline-flex;
align-items: center;
gap: 0.375rem;
gap: 0.3281rem;
color: var(--color-primary);
text-decoration: none;
font-size: 0.9rem;
font-size: 0.7875rem;
transition: color 0.2s ease;
i {
font-size: 0.85rem;
font-size: 0.7438rem;
}
&:hover {
@@ -999,27 +999,27 @@
}
.comic-notes {
padding-top: 0.5rem;
padding-top: 0.4375rem;
border-top: 1px solid var(--color-border);
}
.comic-notes-label {
display: flex;
align-items: center;
gap: 0.375rem;
font-size: 0.85rem;
gap: 0.3281rem;
font-size: 0.7438rem;
font-weight: 600;
color: var(--color-text);
margin-bottom: 0.375rem;
margin-bottom: 0.3281rem;
i {
font-size: 0.9rem;
font-size: 0.7875rem;
color: var(--color-primary);
}
}
.comic-notes-content {
font-size: 0.9rem;
font-size: 0.7875rem;
color: var(--color-text-secondary);
line-height: 1.5;
margin: 0;
@@ -1030,11 +1030,11 @@
.detach-dialog-content {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.875rem;
.detach-dialog-option {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
}
@@ -1,22 +1,22 @@
.sidecar-viewer {
display: flex;
flex-direction: column;
gap: 1.5rem;
gap: 1.3125rem;
padding: 0;
width: 100%;
min-height: 100%;
animation: fade-in 0.3s ease-in;
@media (width >= 768px) {
padding: 0.5rem;
padding: 0.4375rem;
}
}
.sidecar-header {
display: flex;
flex-direction: column;
gap: 1rem;
padding-bottom: 1rem;
gap: 0.875rem;
padding-bottom: 0.875rem;
border-bottom: 1px solid var(--border-color);
@media (width >= 640px) {
@@ -29,18 +29,18 @@
.header-info {
display: flex;
flex-direction: column;
gap: 0.25rem;
gap: 0.2188rem;
h3 {
margin: 0;
font-size: 1.25rem;
font-size: 1.0938rem;
font-weight: 600;
color: var(--text-color);
}
.header-description {
margin: 0;
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--text-color-secondary);
}
}
@@ -48,11 +48,11 @@
.header-actions {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
::ng-deep .sync-status-tag {
font-size: 0.75rem;
font-size: var(--app-text-xs);
font-weight: 600;
}
@@ -61,24 +61,24 @@
flex-direction: column;
justify-content: center;
align-items: center;
padding: 3rem;
gap: 1rem;
padding: 2.625rem;
gap: 0.875rem;
color: var(--text-color-secondary);
i {
font-size: 2rem;
font-size: 1.75rem;
color: var(--primary-color);
}
span {
font-size: 0.95rem;
font-size: 0.8313rem;
}
}
.sidecar-actions {
display: flex;
flex-wrap: wrap;
gap: 0.75rem;
gap: 0.6563rem;
}
.empty-state {
@@ -86,29 +86,29 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem 2rem;
padding: 2.625rem 1.75rem;
text-align: center;
background: var(--ground-background);
border: 1px dashed var(--border-color);
border-radius: 0.75rem;
border-radius: 0.6563rem;
i {
font-size: 3rem;
font-size: 2.625rem;
color: var(--text-color-secondary);
opacity: 0.5;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
}
h4 {
margin: 0 0 0.5rem;
font-size: 1.125rem;
margin: 0 0 0.4375rem;
font-size: var(--app-text-lg);
font-weight: 600;
color: var(--text-color);
}
p {
margin: 0;
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--text-color-secondary);
max-width: 400px;
line-height: 1.5;
@@ -118,30 +118,30 @@
.sidecar-content {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.875rem;
}
.content-header {
display: flex;
flex-direction: column;
gap: 0.75rem;
gap: 0.6563rem;
}
.content-meta {
display: flex;
flex-wrap: wrap;
gap: 1rem;
gap: 0.875rem;
}
.meta-item {
display: flex;
align-items: center;
gap: 0.375rem;
font-size: 0.8rem;
gap: 0.3281rem;
font-size: 0.7rem;
color: var(--text-color-secondary);
i {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--primary-color);
}
}
@@ -149,15 +149,15 @@
.json-viewer {
background: var(--ground-background);
border: 1px solid var(--border-color);
border-radius: 0.5rem;
border-radius: 0.4375rem;
overflow: hidden;
}
.json-content {
margin: 0;
padding: 1rem;
padding: 0.875rem;
font-family: 'SF Mono', Consolas, Monaco, Menlo, monospace;
font-size: 0.8rem;
font-size: 0.7rem;
line-height: 1.6;
color: var(--text-color);
overflow: auto;
@@ -169,12 +169,12 @@
.cover-info {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem 1rem;
gap: 0.4375rem;
padding: 0.6563rem 0.875rem;
background: var(--ground-background);
border: 1px solid var(--border-color);
border-radius: 0.5rem;
font-size: 0.875rem;
border-radius: 0.4375rem;
font-size: var(--app-text-sm);
color: var(--text-color);
i {
@@ -15,7 +15,7 @@
.dialog-content {
flex: 1;
overflow-y: auto;
padding: 1rem;
padding: 0.875rem;
background: var(--color-page);
border: 1px solid var(--color-border);
border-top: none;
@@ -35,10 +35,10 @@
}
.info-box {
padding: 1rem;
padding: 0.875rem;
border: 1px solid var(--color-border);
border-radius: 0.375rem;
margin-bottom: 1rem;
border-radius: 0.3281rem;
margin-bottom: 0.875rem;
background: var(--color-page);
color: var(--color-text);
}
@@ -47,16 +47,16 @@
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
}
.info-title {
font-size: 1rem;
font-size: var(--app-text-base);
font-weight: 600;
}
.toggle-list-btn {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-primary-text);
background: none;
border: none;
@@ -68,53 +68,53 @@
}
.book-list-panel {
max-height: 12rem;
max-height: 10.5rem;
overflow-y: auto;
border-top: 1px solid var(--color-border);
padding-top: 0.5rem;
padding-left: 0.25rem;
font-size: 0.875rem;
padding-top: 0.4375rem;
padding-left: 0.2188rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
}
.book-list {
list-style-type: disc;
padding-left: 1.25rem;
padding-left: 1.0938rem;
li + li {
margin-top: 0.25rem;
margin-top: 0.2188rem;
}
}
.warning-text {
padding: 0 1rem;
font-size: 0.875rem;
padding: 0 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-warning);
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
}
.warning-icon {
margin-right: 0.25rem;
margin-right: 0.2188rem;
}
.bulk-form {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.875rem;
width: 100%;
padding: 1rem;
padding: 0.875rem;
}
.form-row {
display: flex;
justify-content: space-between;
gap: 1.75rem;
gap: 1.5313rem;
}
.field-group {
display: flex;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
&--wide {
width: 100%;
@@ -135,13 +135,13 @@
display: flex;
align-items: center;
justify-content: space-between;
gap: 0.5rem;
gap: 0.4375rem;
}
.field-label-text {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
.info-icon {
@@ -151,11 +151,11 @@
.clear-checkbox {
display: flex;
align-items: center;
gap: 0.25rem;
gap: 0.2188rem;
}
.clear-label {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
cursor: pointer;
}
@@ -166,52 +166,52 @@
.datepicker-min-width {
@media (width >= 768px) {
min-width: 9rem;
min-width: 7.875rem;
}
}
.merge-option {
display: flex;
align-items: center;
gap: 0.5rem;
margin-top: 0.5rem;
gap: 0.4375rem;
margin-top: 0.4375rem;
}
.cover-section {
display: flex;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
border: 1px solid var(--color-border);
border-radius: 0.375rem;
padding: 1rem;
border-radius: 0.3281rem;
padding: 0.875rem;
background: var(--color-page);
}
.cover-label {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1rem;
gap: 0.4375rem;
font-size: var(--app-text-base);
font-weight: 600;
}
.cover-description {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
}
.cover-actions {
display: flex;
align-items: center;
gap: 1rem;
margin-top: 0.5rem;
gap: 0.875rem;
margin-top: 0.4375rem;
}
.cover-file-info {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
gap: 0.4375rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
}
@@ -222,7 +222,7 @@
.form-submit {
display: flex;
justify-content: flex-end;
margin-top: 1rem;
margin-top: 0.875rem;
}
::ng-deep .p-inputchips {
@@ -25,7 +25,7 @@
flex-direction: column;
overflow-y: auto;
min-height: 0;
padding: 1.5rem;
padding: 1.3125rem;
background: var(--color-page);
border: 1px solid var(--color-border);
border-top: none;
@@ -40,19 +40,19 @@
background: var(--color-card);
border: 1px solid var(--color-border);
border-radius: 12px;
padding: 1.25rem 1.5rem;
margin-bottom: 1.5rem;
padding: 1.0938rem 1.3125rem;
margin-bottom: 1.3125rem;
.form-row {
display: flex;
align-items: flex-end;
gap: 1rem;
gap: 0.875rem;
}
.form-field {
display: flex;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
&.title-field {
flex: 1.2;
@@ -65,13 +65,13 @@
label {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.875rem;
gap: 0.4375rem;
font-size: var(--app-text-sm);
font-weight: 500;
color: var(--color-text-secondary);
i {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-primary);
}
@@ -87,12 +87,12 @@
.error-message {
display: flex;
align-items: center;
gap: 0.35rem;
gap: 0.3063rem;
color: var(--red-400);
font-size: 0.8rem;
font-size: 0.7rem;
i {
font-size: 0.75rem;
font-size: var(--app-text-xs);
}
}
}
@@ -100,7 +100,7 @@
.form-actions {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
padding-bottom: 1px;
}
}
@@ -121,22 +121,22 @@
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem;
padding: 2.625rem;
text-align: center;
background: var(--color-card);
border: 1px dashed var(--color-border);
border-radius: 12px;
h3 {
margin: 0 0 0.5rem;
font-size: 1.125rem;
margin: 0 0 0.4375rem;
font-size: var(--app-text-lg);
font-weight: 600;
color: var(--color-text);
}
p {
margin: 0;
font-size: 0.9rem;
font-size: 0.7875rem;
color: var(--color-text-secondary);
max-width: 300px;
}
@@ -150,10 +150,10 @@
justify-content: center;
background: linear-gradient(135deg, var(--color-primary-100), var(--color-primary-50));
border-radius: 50%;
margin-bottom: 1.5rem;
margin-bottom: 1.3125rem;
i {
font-size: 2rem;
font-size: 1.75rem;
color: var(--color-primary);
}
@@ -168,7 +168,7 @@
.loading-state {
p {
margin-top: 1rem;
margin-top: 0.875rem;
}
}
@@ -178,16 +178,16 @@
align-items: center;
justify-content: space-between;
flex-wrap: wrap;
gap: 0.75rem;
margin-bottom: 1rem;
padding-bottom: 0.75rem;
gap: 0.6563rem;
margin-bottom: 0.875rem;
padding-bottom: 0.6563rem;
border-bottom: 1px solid var(--color-border);
.results-count {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 0.95rem;
gap: 0.4375rem;
font-size: 0.8313rem;
font-weight: 600;
color: var(--color-text);
@@ -199,12 +199,12 @@
.results-hint {
display: flex;
align-items: center;
gap: 0.4rem;
font-size: 0.8rem;
gap: 0.35rem;
font-size: 0.7rem;
color: var(--color-text-secondary);
i {
font-size: 0.8rem;
font-size: 0.7rem;
}
}
}
@@ -213,8 +213,8 @@
.covers-grid {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
gap: 1.25rem;
padding: 0.25rem;
gap: 1.0938rem;
padding: 0.2188rem;
}
.cover-card {
@@ -274,7 +274,7 @@
color: white;
padding: 3px 6px;
border-radius: 4px;
font-size: 0.7rem;
font-size: 0.6125rem;
font-weight: 600;
z-index: 2;
pointer-events: none;
@@ -288,7 +288,7 @@
display: flex;
align-items: center;
justify-content: center;
padding: 0.5rem;
padding: 0.4375rem;
background: linear-gradient(to top, rgb(0 0 0 / 80%), transparent);
opacity: 0;
z-index: 3;
@@ -311,7 +311,7 @@
.form-actions {
flex-direction: row;
justify-content: flex-end;
margin-top: 0.5rem;
margin-top: 0.4375rem;
::ng-deep .p-button:not(.p-button-icon-only) {
flex: 1;
@@ -326,6 +326,6 @@
.covers-grid {
grid-template-columns: repeat(auto-fill, minmax(130px, 1fr));
gap: 1rem;
gap: 0.875rem;
}
}
@@ -79,7 +79,7 @@
scrollHeight="flex">
<ng-template pTemplate="header">
<tr>
<th style="width: 3rem">
<th style="width: 2.625rem">
<div class="header-content">
<p-checkbox
[binary]="true"
@@ -169,7 +169,7 @@
[(visible)]="showMergeDialog"
[modal]="true"
class="user-dialog"
[style]="{width: '50rem'}">
[style]="{width: '43.75rem'}">
<div class="dialog-form">
<p>{{ t('mergeSplitDescription', { count: getSelectedItems(currentMergeType).length, type: getTypeLabel(currentMergeType, true) }) }}</p>
<ul class="selected-items">
@@ -228,7 +228,7 @@
[(visible)]="showRenameDialog"
[modal]="true"
class="user-dialog"
[style]="{width: '40rem'}">
[style]="{width: '35rem'}">
<div class="dialog-form">
<p>{{ t('renameSplitDescription') }}</p>
<div class="current-value">
@@ -285,7 +285,7 @@
[(visible)]="showDeleteDialog"
[modal]="true"
class="user-dialog"
[style]="{width: '40rem'}">
[style]="{width: '35rem'}">
<div class="dialog-form">
<div class="warning-message">
<i class="pi pi-exclamation-triangle"></i>
@@ -1,30 +1,30 @@
@use "../../../../../assets/layout/styles/layout/variables";
.metadata-manager {
padding: 1.5rem;
padding: 1.3125rem;
display: flex;
flex-direction: column;
height: 100%;
h2 {
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
}
.description {
color: var(--color-text-secondary);
margin-bottom: 1.5rem;
margin-bottom: 1.3125rem;
}
.table-header {
display: flex;
justify-content: space-between;
align-items: center;
margin-bottom: 1rem;
gap: 1rem;
margin-bottom: 0.875rem;
gap: 0.875rem;
.actions {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
}
}
@@ -62,8 +62,8 @@
}
.p-datatable-tbody > tr > td {
padding-top: 0.5rem;
padding-bottom: 0.5rem;
padding-top: 0.4375rem;
padding-bottom: 0.4375rem;
vertical-align: top;
}
@@ -75,7 +75,7 @@
.p-datatable-thead > tr > th .header-content {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
}
}
}
@@ -84,31 +84,31 @@
.selected-items {
max-height: 200px;
overflow-y: auto;
margin: 1rem 0;
padding-left: 1.5rem;
margin: 0.875rem 0;
padding-left: 1.3125rem;
li {
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
.count {
color: var(--color-text-secondary);
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
}
.field {
margin-top: 1.5rem;
margin-top: 1.3125rem;
label {
display: block;
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
font-weight: 600;
}
small {
display: block;
margin-top: 0.5rem;
margin-top: 0.4375rem;
color: var(--color-text-secondary);
}
}
@@ -117,7 +117,7 @@
.main-container {
width: 100%;
box-sizing: border-box;
padding: 1rem 0;
padding: 0.875rem 0;
height: 100%;
min-height: 0;
display: flex;
@@ -129,40 +129,40 @@
}
.settings-header {
margin-top: 0.75rem;
margin-top: 0.6563rem;
flex-shrink: 0;
@media (width >= 768px) {
padding: 0 1rem;
padding: 0 0.875rem;
}
}
.settings-title {
display: flex;
align-items: center;
gap: 0.75rem;
font-size: 1.25rem;
gap: 0.6563rem;
font-size: 1.0938rem;
font-weight: 700;
color: var(--p-text-color);
margin: 0 0 0.75rem;
margin: 0 0 0.6563rem;
.pi {
color: var(--p-primary-color);
font-size: 1.25rem;
font-size: 1.0938rem;
}
}
.settings-description {
opacity: 0.7;
font-size: 0.875rem;
font-size: var(--app-text-sm);
line-height: 1.5;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
.info-icon {
font-size: 1.125rem;
font-size: var(--app-text-lg);
color: red;
cursor: help;
transition: opacity 0.2s;
@@ -182,24 +182,24 @@
.warning-message {
display: flex;
align-items: flex-start;
gap: 0.5rem;
padding: 0.5rem 0.75rem;
margin-bottom: 1.25rem;
gap: 0.4375rem;
padding: 0.4375rem 0.6563rem;
margin-bottom: 1.0938rem;
background: rgb(251 146 60 / 5%);
border: 1px solid rgb(251 146 60 / 30%);
border-radius: 6px;
color: var(--p-text-color-secondary);
.pi-exclamation-triangle {
font-size: 1rem;
font-size: var(--app-text-base);
color: rgb(251 146 60 / 70%);
flex-shrink: 0;
margin-top: 0.1rem;
margin-top: 0.0875rem;
}
p {
margin: 0;
font-size: 0.875rem;
font-size: var(--app-text-sm);
line-height: 1.45;
strong {
@@ -212,13 +212,13 @@
.settings-content {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.875rem;
flex: 1;
min-height: 0;
overflow-y: auto;
@media (width >= 768px) {
padding: 0.5rem 1rem 0;
padding: 0.4375rem 0.875rem 0;
}
}
@@ -226,13 +226,13 @@
display: flex;
align-items: center;
justify-content: space-between;
gap: 1rem;
margin-bottom: 1rem;
gap: 0.875rem;
margin-bottom: 0.875rem;
flex-shrink: 0;
.actions {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
flex-shrink: 0;
}
}
@@ -241,11 +241,11 @@
display: flex;
align-items: center;
justify-content: flex-end;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
.actions {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
}
}
@@ -301,7 +301,7 @@
.actions-cell {
display: flex;
gap: 0.5rem;
gap: 0.4375rem;
align-items: center;
justify-content: center;
@@ -322,31 +322,31 @@
.user-dialog {
.p-dialog-content {
padding: 1.5rem;
padding: 1.3125rem;
}
.p-dialog-footer {
padding: 1rem 1.5rem;
padding: 0.875rem 1.3125rem;
}
}
.dialog-form {
display: flex;
flex-direction: column;
gap: 1.5rem;
gap: 1.3125rem;
.warning-message {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 1rem;
gap: 0.6563rem;
padding: 0.875rem;
background: rgb(251 146 60 / 15%);
border: 1px solid var(--p-orange-500);
border-radius: 8px;
color: var(--p-text-color);
.pi-exclamation-triangle {
font-size: 1.5rem;
font-size: 1.3125rem;
color: var(--p-orange-500);
}
@@ -357,24 +357,24 @@
}
.delete-info {
padding: 1rem;
padding: 0.875rem;
background: var(--color-card);
border-radius: 8px;
border: 1px solid rgb(128 128 128 / 20%);
p {
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
font-weight: 600;
color: var(--p-text-color);
}
ul {
margin: 0;
padding-left: 1.5rem;
padding-left: 1.3125rem;
list-style-type: disc;
li {
margin-bottom: 0.25rem;
margin-bottom: 0.2188rem;
color: var(--p-text-color);
strong {
@@ -388,49 +388,49 @@
max-height: 200px;
overflow-y: auto;
margin: 0;
padding-left: 1.5rem;
padding-left: 1.3125rem;
li {
margin-bottom: 0.5rem;
margin-bottom: 0.4375rem;
color: var(--p-text-color);
.count {
opacity: 0.7;
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
}
}
.current-value {
padding: 1rem;
padding: 0.875rem;
background: var(--color-card);
border: 1px solid rgb(128 128 128 / 20%);
border-radius: 8px;
margin-bottom: 1.5rem;
margin-bottom: 1.3125rem;
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
strong {
font-size: 1.1rem;
font-size: 0.9625rem;
color: var(--p-primary-color);
}
.count {
opacity: 0.7;
font-size: 0.9rem;
font-size: 0.7875rem;
}
}
.form-field {
display: flex;
flex-direction: column;
gap: 0.5rem;
gap: 0.4375rem;
label {
font-weight: 600;
color: var(--p-text-color);
font-size: 0.875rem;
font-size: var(--app-text-sm);
}
small {
@@ -442,24 +442,24 @@
.dialog-actions {
display: flex;
justify-content: flex-end;
gap: 0.75rem;
gap: 0.6563rem;
}
.processing-note {
display: flex;
align-items: center;
gap: 0.5rem;
padding: 0.75rem;
margin-top: 1rem;
gap: 0.4375rem;
padding: 0.6563rem;
margin-top: 0.875rem;
border-left: 3px solid var(--color-warning);
border-top: 1px solid var(--color-warning);
border-bottom: 1px solid var(--color-warning);
border-right: 1px solid var(--color-warning);
border-radius: 4px;
font-size: 0.875rem;
font-size: var(--app-text-sm);
i {
font-size: 1rem;
font-size: var(--app-text-base);
}
}
@@ -1,8 +1,8 @@
.options-container {
display: flex;
flex-direction: column;
gap: 1.5rem;
padding: 1rem;
gap: 1.3125rem;
padding: 0.875rem;
}
.custom-table {
@@ -15,7 +15,7 @@
}
.table-header {
padding: 0.375rem 1rem;
padding: 0.3281rem 0.875rem;
text-align: left;
font-weight: 600;
color: var(--color-text);
@@ -23,22 +23,22 @@
}
.help-icon {
margin-left: 0.25rem;
font-size: 0.75rem;
margin-left: 0.2188rem;
font-size: var(--app-text-xs);
}
.metadata-table-cell {
padding: 0.5rem 1rem;
padding: 0.4375rem 0.875rem;
color: var(--color-text);
}
.metadata-table-cell-sm {
padding: 0.375rem 1rem;
padding: 0.3281rem 0.875rem;
color: var(--color-text);
}
.set-all-label {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
font-style: italic;
}
@@ -55,18 +55,18 @@
.provider-specific-section {
display: flex;
flex-direction: column;
gap: 1rem;
gap: 0.875rem;
}
.section-title {
font-size: 1.125rem;
font-size: var(--app-text-lg);
font-weight: 600;
color: var(--color-text);
margin: 0;
}
.section-description {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text-secondary);
margin: 0;
}
@@ -74,7 +74,7 @@
.fields-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 1rem;
gap: 0.875rem;
@media (width >= 768px) {
grid-template-columns: repeat(3, minmax(0, 1fr));
@@ -88,15 +88,15 @@
.field-card {
display: flex;
align-items: center;
gap: 0.75rem;
padding: 0.75rem;
gap: 0.6563rem;
padding: 0.6563rem;
border: 1px solid var(--color-border);
border-radius: 0.5rem;
border-radius: 0.4375rem;
background: var(--color-page);
}
.field-card-label {
font-size: 0.875rem;
font-size: var(--app-text-sm);
color: var(--color-text);
}
@@ -106,7 +106,7 @@
flex-direction: row;
align-items: center;
justify-content: space-between;
gap: 1rem;
gap: 0.875rem;
width: 100%;
}
@@ -114,14 +114,14 @@
display: flex;
flex-flow: row wrap;
align-items: center;
gap: 1rem 2.5rem;
gap: 0.875rem 2.1875rem;
}
.option-item {
display: flex;
flex-direction: row;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
p {
margin: 0;
@@ -133,7 +133,7 @@
.action-buttons {
display: flex;
flex-direction: row;
gap: 1.5rem;
gap: 1.3125rem;
}
// Select styles
@@ -143,6 +143,6 @@
}
.select-mode {
min-width: 10rem;
min-width: 8.75rem;
}
}
@@ -1,91 +1,91 @@
.settings-card {
display: flex;
flex-direction: column;
gap: 1.25rem;
gap: 1.0938rem;
background: var(--color-page);
border: 1px solid var(--p-content-border-color);
border-radius: 8px;
padding: 1.5rem;
padding: 1.3125rem;
@media (width <= 768px) {
padding: 1rem;
gap: 1rem;
padding: 0.875rem;
gap: 0.875rem;
}
}
.section-header {
margin-bottom: 0.25rem;
margin-bottom: 0.2188rem;
}
.section-title {
display: flex;
align-items: center;
gap: 0.5rem;
font-size: 1.25rem;
gap: 0.4375rem;
font-size: 1.0938rem;
font-weight: 600;
color: var(--color-text);
margin: 0 0 0.5rem;
margin: 0 0 0.4375rem;
.pi {
color: var(--color-primary);
font-size: 1.125rem;
font-size: var(--app-text-lg);
}
}
.section-description {
font-size: 0.875rem;
font-size: var(--app-text-sm);
line-height: 1.5;
color: var(--p-text-muted-color);
margin: 0;
}
.section-body {
padding-left: 1rem;
padding-left: 0.875rem;
@media (width <= 768px) {
padding-left: 0.5rem;
padding-left: 0.4375rem;
}
}
.provider-groups-container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
gap: 1rem;
gap: 0.875rem;
@media (width <= 768px) {
grid-template-columns: 1fr;
gap: 0.75rem;
gap: 0.6563rem;
}
}
.provider-group {
padding: 0.875rem 1rem;
padding: 0.7656rem 0.875rem;
border-radius: 6px;
border-left: 3px solid var(--color-primary);
background: var(--color-page);
@media (width <= 768px) {
padding: 0.75rem;
padding: 0.6563rem;
}
}
.group-header {
display: flex;
align-items: center;
gap: 0.5rem;
margin-bottom: 0.625rem;
padding-bottom: 0.5rem;
gap: 0.4375rem;
margin-bottom: 0.5469rem;
padding-bottom: 0.4375rem;
border-bottom: 1px dashed var(--p-content-border-color);
}
.group-icon {
color: var(--color-primary);
font-size: 0.875rem;
font-size: var(--app-text-sm);
flex-shrink: 0;
}
.group-label {
font-size: 0.875rem;
font-size: var(--app-text-sm);
font-weight: 600;
color: var(--color-text);
margin: 0;
@@ -94,14 +94,14 @@
.field-list {
display: flex;
flex-direction: column;
gap: 0.25rem;
gap: 0.2188rem;
}
.field-item {
display: flex;
align-items: center;
gap: 0.625rem;
padding: 0.3125rem 0.5rem;
gap: 0.5469rem;
padding: 0.2734rem 0.4375rem;
border-radius: 4px;
transition: background-color 0.15s ease;
@@ -111,7 +111,7 @@
label {
cursor: pointer;
font-size: 0.9375rem;
font-size: 0.8203rem;
font-weight: 400;
user-select: none;
color: var(--color-text);
@@ -15,7 +15,7 @@
.dialog-content {
height: calc(95dvh - 90px - 80px);
overflow-y: auto;
padding: 1rem;
padding: 0.875rem;
background: var(--card-background);
border: 1px solid var(--border-color);
border-top: none;
@@ -28,8 +28,8 @@
}
.spinner {
width: 2rem;
height: 2rem;
width: 1.75rem;
height: 1.75rem;
}
}
@@ -46,7 +46,7 @@
.progress-group {
display: flex;
align-items: center;
gap: 0.5rem;
gap: 0.4375rem;
cursor: help;
transition: all 0.3s ease;
@@ -56,8 +56,8 @@
}
.progress-bar {
width: 10rem;
height: 0.75rem;
width: 8.75rem;
height: 0.6563rem;
@media (width <= 640px) {
width: 100%;
@@ -65,7 +65,7 @@
}
.progress-text {
font-size: 0.875rem;
font-size: var(--app-text-sm);
font-weight: 500;
color: var(--text-secondary-color);
white-space: nowrap;
@@ -75,7 +75,7 @@
.footer-actions {
display: flex;
flex-wrap: wrap;
gap: 0.5rem;
gap: 0.4375rem;
justify-content: flex-end;
}
@@ -26,7 +26,7 @@
flex-direction: column;
overflow-y: auto;
min-height: 0;
padding: 1.5rem;
padding: 1.3125rem;
background: var(--color-page);
border: 1px solid var(--color-border);
border-top: none;
@@ -36,24 +36,24 @@
.book-list-section {
flex-shrink: 0;
margin-bottom: 1rem;
margin-bottom: 0.875rem;
}
.book-list-container {
max-height: 6rem;
max-height: 5.25rem;
overflow: auto;
border: 1px solid var(--color-border);
border-radius: 0.25rem;
padding: 0.5rem;
font-size: 0.875rem;
border-radius: 0.2188rem;
padding: 0.4375rem;
font-size: var(--app-text-sm);
}
.book-list {
list-style-type: disc;
padding-left: 1.25rem;
padding-left: 1.0938rem;
li {
margin-bottom: 0.25rem;
margin-bottom: 0.2188rem;
&:last-child {
margin-bottom: 0;