style(frontend): apply the first stylelint autofix pass
- SCSS autofixes: - apply Stylelint's automatic fixes across the frontend stylesheet set without touching TypeScript or Angular templates - normalize zero values, shorthand properties, selector casing, and similar mechanical stylesheet rewrites - keep this pass limited to autofix output so the remaining manual stylelint findings stay isolated for later review - Cleanup scope: - update component SCSS and shared layout styles only where Stylelint could rewrite them mechanically - leave the unresolved manual stylelint findings in place for a smaller follow-up pass - Validation: - `just ui stylelint-fix` reduced the remaining stylelint count from 140 to 62 before stopping on non-fixable issues
This commit is contained in:
@@ -66,10 +66,7 @@ $border-color: rgba(255, 255, 255, 0.1);
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
inset: 0 0 0 0;
|
||||
background: radial-gradient(ellipse at 20% 0%, color-mix(in srgb, var(--accent-color) 15%, transparent) 0%, transparent 50%),
|
||||
radial-gradient(ellipse at 80% 100%, rgba($accent-secondary, 0.1) 0%, transparent 50%);
|
||||
pointer-events: none;
|
||||
@@ -766,8 +763,7 @@ $border-color: rgba(255, 255, 255, 0.1);
|
||||
}
|
||||
|
||||
.audio-details {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
flex-flow: row wrap;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
|
||||
@@ -780,8 +776,7 @@ $border-color: rgba(255, 255, 255, 0.1);
|
||||
// Landscape mode optimization
|
||||
@media (max-height: 600px) and (orientation: landscape) {
|
||||
.reader-main {
|
||||
flex-direction: row;
|
||||
flex-wrap: wrap;
|
||||
flex-flow: row wrap;
|
||||
justify-content: center;
|
||||
gap: 1rem;
|
||||
}
|
||||
|
||||
@@ -78,10 +78,7 @@
|
||||
|
||||
.image-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
inset: 0 0 0 0;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
@@ -90,7 +87,7 @@
|
||||
background: #0f0f0f;
|
||||
min-height: 0;
|
||||
|
||||
&:not(.two-page-view):not(.infinite-scroll) {
|
||||
&:not(.two-page-view, .infinite-scroll) {
|
||||
flex-direction: column;
|
||||
align-items: stretch;
|
||||
|
||||
@@ -147,10 +144,7 @@
|
||||
|
||||
.previous-page-layer {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
inset: 0 0 0 0;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
@@ -318,8 +312,7 @@
|
||||
}
|
||||
|
||||
&.infinite-scroll {
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
overflow: hidden auto;
|
||||
align-items: flex-start;
|
||||
touch-action: pan-y;
|
||||
overscroll-behavior: contain;
|
||||
@@ -410,8 +403,7 @@
|
||||
|
||||
// Long Strip / Webtoon mode - no gaps between pages
|
||||
&.long-strip {
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
overflow: hidden auto;
|
||||
align-items: flex-start;
|
||||
touch-action: pan-y;
|
||||
-webkit-overflow-scrolling: touch;
|
||||
@@ -589,10 +581,7 @@
|
||||
|
||||
.loader-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
inset: 0 0 0 0;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
+1
-1
@@ -244,7 +244,7 @@ $transition-normal: 200ms ease;
|
||||
line-height: 1.5;
|
||||
|
||||
&.file-name {
|
||||
font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
|
||||
font-family: 'SF Mono', Monaco, Inconsolata, 'Roboto Mono', monospace;
|
||||
font-size: 12px;
|
||||
color: $text-secondary;
|
||||
background: rgba(255, 255, 255, 0.03);
|
||||
|
||||
@@ -60,10 +60,7 @@
|
||||
|
||||
.navigation-overlay {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
inset: 0 0 0 0;
|
||||
z-index: 10;
|
||||
cursor: pointer;
|
||||
pointer-events: auto;
|
||||
@@ -72,10 +69,7 @@
|
||||
|
||||
#foliate-container {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
inset: 0 0 0 0;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
pointer-events: auto;
|
||||
@@ -92,10 +86,7 @@
|
||||
|
||||
.loader-overlay {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
inset: 0 0 0 0;
|
||||
background-color: rgba(0, 0, 0, 0.8);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
+1
-4
@@ -1,9 +1,6 @@
|
||||
.popup-backdrop {
|
||||
position: fixed;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
inset: 0 0 0 0;
|
||||
z-index: 99998;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user