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:
+4
-4
@@ -29,7 +29,7 @@
|
||||
border: 1px solid var(--border-color);
|
||||
border-top: none;
|
||||
border-radius: 0 0 10px 10px;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, 8%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -256,7 +256,7 @@
|
||||
}
|
||||
|
||||
.p-image-preview-mask {
|
||||
background: rgba(0, 0, 0, 0.6);
|
||||
background: rgba(0, 0, 0, 60%);
|
||||
}
|
||||
|
||||
.p-image-preview-indicator {
|
||||
@@ -269,7 +269,7 @@
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 6px;
|
||||
background: rgba(0, 0, 0, 0.8);
|
||||
background: rgba(0, 0, 0, 80%);
|
||||
color: white;
|
||||
padding: 3px 6px;
|
||||
border-radius: 4px;
|
||||
@@ -288,7 +288,7 @@
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
padding: 0.5rem;
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
|
||||
background: linear-gradient(to top, rgba(0, 0, 0, 80%), transparent);
|
||||
opacity: 0;
|
||||
z-index: 3;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user