style(frontend): enforce color-function-notation in scss
- Stylelint: - re-enable `color-function-notation` in the frontend Stylelint config while keeping the agreed Angular and legacy Sass exceptions unchanged - SCSS: - normalize comma-based `rgb(...)` color syntax to modern space-and-slash notation across frontend stylesheets without changing color values - Validation: - `just ui stylelint`
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
border-radius: variables.$borderRadius;
|
||||
padding: 0.5rem 0.8rem 0.5rem 1.35rem;
|
||||
box-shadow: 0 3px 5px rgb(0, 0, 0, 2%), 0 0 2px rgb(0, 0, 0, 5%), 0 1px 4px rgb(0, 0, 0, 8%);
|
||||
box-shadow: 0 3px 5px rgb(0 0 0 / 2%), 0 0 2px rgb(0 0 0 / 5%), 0 1px 4px rgb(0 0 0 / 8%);
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -85,7 +85,7 @@
|
||||
z-index: 998;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: rgb(0, 0, 0, 60%);
|
||||
background-color: rgb(0 0 0 / 60%);
|
||||
}
|
||||
|
||||
&.layout-mobile-active {
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
transition: left variables.$transitionDuration;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
box-shadow: 0 3px 5px rgb(0, 0, 0, 2%), 0 0 2px rgb(0, 0, 0, 5%), 0 1px 4px rgb(0, 0, 0, 8%);
|
||||
box-shadow: 0 3px 5px rgb(0 0 0 / 2%), 0 0 2px rgb(0 0 0 / 5%), 0 1px 4px rgb(0 0 0 / 8%);
|
||||
|
||||
.layout-topbar-logo {
|
||||
display: flex;
|
||||
|
||||
Reference in New Issue
Block a user