style(frontend): enforce color-function-alias-notation in scss
- Stylelint: - re-enable `color-function-alias-notation` in the frontend Stylelint config while preserving the agreed Angular and legacy Sass exceptions - SCSS: - replace legacy `rgba(...)` aliases with `rgb(...)` across the frontend stylesheet tree without changing color values or selector structure - Validation: - `just ui stylelint`
This commit is contained in:
@@ -33,21 +33,21 @@ html {
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background: rgba(0, 0, 0, 10%);
|
||||
background: rgb(0, 0, 0, 10%);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-thumb {
|
||||
background: rgba(128, 128, 128, 50%);
|
||||
background: rgb(128, 128, 128, 50%);
|
||||
border-radius: 10px;
|
||||
|
||||
&:hover {
|
||||
background: rgba(128, 128, 128, 70%);
|
||||
background: rgb(128, 128, 128, 70%);
|
||||
}
|
||||
}
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: rgba(128, 128, 128, 50%) rgba(0, 0, 0, 10%);
|
||||
scrollbar-color: rgb(128, 128, 128, 50%) rgb(0, 0, 0, 10%);
|
||||
}
|
||||
|
||||
.chart-info-tooltip.p-tooltip {
|
||||
@@ -55,13 +55,13 @@ html {
|
||||
}
|
||||
|
||||
.chart-info-icon {
|
||||
color: rgba(255, 255, 255, 35%);
|
||||
color: rgb(255, 255, 255, 35%);
|
||||
font-size: 0.9rem;
|
||||
cursor: help;
|
||||
transition: color 0.2s ease;
|
||||
|
||||
&:hover {
|
||||
color: rgba(255, 255, 255, 80%);
|
||||
color: rgb(255, 255, 255, 80%);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user