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:
@@ -41,8 +41,8 @@
|
||||
margin-bottom: 1.5rem;
|
||||
padding: 1rem;
|
||||
border-radius: 0.75rem;
|
||||
background: rgba(245, 158, 11, 10%);
|
||||
border: 1px solid rgba(245, 158, 11, 30%);
|
||||
background: rgb(245, 158, 11, 10%);
|
||||
border: 1px solid rgb(245, 158, 11, 30%);
|
||||
animation: fadeIn 0.3s ease-out;
|
||||
}
|
||||
|
||||
@@ -113,13 +113,13 @@
|
||||
&::after {
|
||||
content: '';
|
||||
flex: 1;
|
||||
border-bottom: 1px solid rgba(255, 255, 255, 15%);
|
||||
border-bottom: 1px solid rgb(255, 255, 255, 15%);
|
||||
}
|
||||
|
||||
span {
|
||||
padding: 0 1rem;
|
||||
font-size: 0.875rem;
|
||||
color: rgba(255, 255, 255, 50%);
|
||||
color: rgb(255, 255, 255, 50%);
|
||||
font-weight: 500;
|
||||
}
|
||||
}
|
||||
@@ -127,14 +127,14 @@
|
||||
.oidc-button {
|
||||
::ng-deep button {
|
||||
height: 2.75rem;
|
||||
background: rgba(255, 255, 255, 5%);
|
||||
border: 1px solid rgba(255, 255, 255, 15%);
|
||||
color: rgba(255, 255, 255, 90%);
|
||||
background: rgb(255, 255, 255, 5%);
|
||||
border: 1px solid rgb(255, 255, 255, 15%);
|
||||
color: rgb(255, 255, 255, 90%);
|
||||
transition: all 0.3s ease;
|
||||
|
||||
&:hover:not(:disabled) {
|
||||
background: rgba(255, 255, 255, 10%);
|
||||
border-color: rgba(255, 255, 255, 25%);
|
||||
background: rgb(255, 255, 255, 10%);
|
||||
border-color: rgb(255, 255, 255, 25%);
|
||||
transform: translateY(-1px);
|
||||
}
|
||||
}
|
||||
@@ -149,14 +149,14 @@
|
||||
background: none;
|
||||
border: none;
|
||||
font-size: 0.8rem;
|
||||
color: rgba(255, 255, 255, 50%);
|
||||
color: rgb(255, 255, 255, 50%);
|
||||
text-decoration: underline;
|
||||
cursor: pointer;
|
||||
transition: color 0.2s ease;
|
||||
padding: 0;
|
||||
|
||||
&:hover {
|
||||
color: rgba(255, 255, 255, 80%);
|
||||
color: rgb(255, 255, 255, 80%);
|
||||
}
|
||||
|
||||
&.primary {
|
||||
|
||||
Reference in New Issue
Block a user