style(frontend): enforce alpha-value-notation in scss
- Stylelint: - re-enable `alpha-value-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions disabled - SCSS: - rewrite decimal alpha values to percentage notation across the frontend stylesheet tree without changing selector structure or layout behavior - Validation: - `just ui stylelint`
This commit is contained in:
+2
-2
@@ -112,14 +112,14 @@
|
||||
overflow-y: auto;
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--primary-color) rgba(20, 20, 30, 0.5);
|
||||
scrollbar-color: var(--primary-color) rgba(20, 20, 30, 50%);
|
||||
|
||||
&::-webkit-scrollbar {
|
||||
width: 12px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background: rgba(20, 20, 30, 0.5);
|
||||
background: rgba(20, 20, 30, 50%);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
|
||||
+3
-3
@@ -14,7 +14,7 @@
|
||||
&:hover {
|
||||
transform: translateY(-4px) scale(1.02);
|
||||
border-color: color-mix(in srgb, var(--p-primary-400), transparent 50%);
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3),
|
||||
box-shadow: 0 8px 32px rgba(0, 0, 0, 30%),
|
||||
0 0 0 1px color-mix(in srgb, var(--p-primary-500), transparent 70%);
|
||||
z-index: 10;
|
||||
}
|
||||
@@ -37,7 +37,7 @@
|
||||
height: calc(152px * var(--card-scale, 1));
|
||||
object-fit: cover;
|
||||
border-radius: 4px;
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
|
||||
box-shadow: 0 4px 12px rgba(0, 0, 0, 40%);
|
||||
transition: transform 0.3s ease, width 0.2s ease, height 0.2s ease;
|
||||
}
|
||||
|
||||
@@ -188,7 +188,7 @@
|
||||
::ng-deep .p-progressbar {
|
||||
height: 6px;
|
||||
border-radius: 3px;
|
||||
background: rgba(255, 255, 255, 0.1);
|
||||
background: rgba(255, 255, 255, 10%);
|
||||
}
|
||||
|
||||
&.progress-complete ::ng-deep .p-progressbar-value {
|
||||
|
||||
+3
-3
@@ -54,7 +54,7 @@
|
||||
i {
|
||||
font-size: 2rem;
|
||||
color: white;
|
||||
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
|
||||
filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 30%));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
font-weight: 500;
|
||||
max-width: 400px;
|
||||
line-height: 1.7;
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
|
||||
text-shadow: 0 1px 2px rgba(0, 0, 0, 50%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -78,7 +78,7 @@
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
scrollbar-color: var(--primary-color) rgba(20, 20, 30, 0.5);
|
||||
scrollbar-color: var(--primary-color) rgba(20, 20, 30, 50%);
|
||||
|
||||
> * {
|
||||
scroll-snap-align: start;
|
||||
|
||||
Reference in New Issue
Block a user