Fix showstopper bugs in v1.18.0 (#2399)
- Fix issue with hardcover toggle not being selectable - Resolve syncing problem with Booklore toggle - Address CSS warnings for cleaner styling Co-authored-by: acx10 <acx10@users.noreply.github.com>
This commit is contained in:
+4
-2
@@ -1,3 +1,5 @@
|
||||
@use 'sass:color';
|
||||
|
||||
// Variables
|
||||
$footer-bg: #1a1a1a;
|
||||
$text-primary: rgba(255, 255, 255, 0.95);
|
||||
@@ -95,7 +97,7 @@ $transition-fast: 150ms ease;
|
||||
}
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: darken($active-color, 10%);
|
||||
background: color.adjust($active-color, $lightness: -10%);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
@@ -289,7 +291,7 @@ $transition-fast: 150ms ease;
|
||||
transition: all 0.2s ease;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: darken($active-color, 10%);
|
||||
background: color.adjust($active-color, $lightness: -10%);
|
||||
}
|
||||
|
||||
&:disabled {
|
||||
|
||||
+3
-1
@@ -1,3 +1,5 @@
|
||||
@use 'sass:color';
|
||||
|
||||
// Variables
|
||||
$panel-bg: #1a1a1a;
|
||||
$text-primary: rgba(255, 255, 255, 0.95);
|
||||
@@ -134,7 +136,7 @@ $transition-normal: 200ms ease;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
|
||||
&.active {
|
||||
background: lighten($active-color, 5%);
|
||||
background: color.adjust($active-color, $lightness: 5%);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
+13
-15
@@ -77,23 +77,21 @@
|
||||
</p-toggleswitch>
|
||||
<label class="setting-label">Hardcover</label>
|
||||
</div>
|
||||
@if (hardcoverEnabled) {
|
||||
<div class="setting-options">
|
||||
<div class="config-field">
|
||||
<div class="config-label-row">
|
||||
<label class="config-label">API Token</label>
|
||||
<app-external-doc-link docType="hardcover"></app-external-doc-link>
|
||||
</div>
|
||||
<input
|
||||
type="text"
|
||||
pInputText
|
||||
placeholder="Enter Hardcover API token"
|
||||
[(ngModel)]="hardcoverToken"
|
||||
(ngModelChange)="onTokenChange($event)"
|
||||
class="config-input"/>
|
||||
<div class="setting-options">
|
||||
<div class="config-field">
|
||||
<div class="config-label-row">
|
||||
<label class="config-label">API Token</label>
|
||||
<app-external-doc-link docType="hardcover"></app-external-doc-link>
|
||||
</div>
|
||||
<input
|
||||
type="text"
|
||||
pInputText
|
||||
placeholder="Enter Hardcover API token"
|
||||
[(ngModel)]="hardcoverToken"
|
||||
(ngModelChange)="onTokenChange($event)"
|
||||
class="config-input"/>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="setting-item">
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@import '../../../_chart-shared';
|
||||
@use '../../../_chart-shared';
|
||||
|
||||
.author-universe-container {
|
||||
width: 100%;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@import '../../../_chart-shared';
|
||||
@use '../../../_chart-shared';
|
||||
|
||||
.book-formats-container {
|
||||
width: 100%;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@import '../../../_chart-shared';
|
||||
@use '../../../_chart-shared';
|
||||
|
||||
.language-chart-container {
|
||||
width: 100%;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@import '../../../_chart-shared';
|
||||
@use '../../../_chart-shared';
|
||||
|
||||
.metadata-score-container {
|
||||
width: 100%;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@import '../../../_chart-shared';
|
||||
@use '../../../_chart-shared';
|
||||
|
||||
.page-count-container {
|
||||
width: 100%;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@import '../../../_chart-shared';
|
||||
@use '../../../_chart-shared';
|
||||
|
||||
.publication-timeline-container {
|
||||
width: 100%;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@import '../../../_chart-shared';
|
||||
@use '../../../_chart-shared';
|
||||
|
||||
.publication-trend-container {
|
||||
width: 100%;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@import '../../../_chart-shared';
|
||||
@use '../../../_chart-shared';
|
||||
|
||||
.reading-journey-container {
|
||||
width: 100%;
|
||||
|
||||
+1
-1
@@ -1,4 +1,4 @@
|
||||
@import '../../../_chart-shared';
|
||||
@use '../../../_chart-shared';
|
||||
|
||||
.top-items-container {
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user