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:
+4
-4
@@ -57,7 +57,7 @@
|
||||
i {
|
||||
font-size: 2rem;
|
||||
color: white;
|
||||
filter: drop-shadow(0 2px 4px rgb(0, 0, 0, 30%));
|
||||
filter: drop-shadow(0 2px 4px rgb(0 0 0 / 30%));
|
||||
}
|
||||
}
|
||||
|
||||
@@ -67,7 +67,7 @@
|
||||
font-weight: 500;
|
||||
max-width: 400px;
|
||||
line-height: 1.7;
|
||||
text-shadow: 0 1px 2px rgb(0, 0, 0, 50%);
|
||||
text-shadow: 0 1px 2px rgb(0 0 0 / 50%);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -82,7 +82,7 @@
|
||||
position: relative;
|
||||
z-index: 2;
|
||||
|
||||
scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%);
|
||||
scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%);
|
||||
}
|
||||
|
||||
.dashboard-scroller-card {
|
||||
@@ -106,7 +106,7 @@
|
||||
|
||||
&:hover, &.menu-open {
|
||||
transform: translateY(-4px) scale(1.04);
|
||||
filter: drop-shadow(0 25px 50px rgb(0, 0, 0, 40%));
|
||||
filter: drop-shadow(0 25px 50px rgb(0 0 0 / 40%));
|
||||
|
||||
&::after {
|
||||
opacity: 1;
|
||||
|
||||
+5
-5
@@ -16,12 +16,12 @@
|
||||
}
|
||||
|
||||
&::-webkit-scrollbar-track {
|
||||
background: rgb(20, 20, 30, 50%);
|
||||
background: rgb(20 20 30 / 50%);
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
scrollbar-width: thin;
|
||||
scrollbar-color: var(--primary-color) rgb(20, 20, 30, 50%);
|
||||
scrollbar-color: var(--primary-color) rgb(20 20 30 / 50%);
|
||||
}
|
||||
|
||||
@media (max-width: 768px) {
|
||||
@@ -70,7 +70,7 @@
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
background-clip: text;
|
||||
text-shadow: 0 2px 4px rgb(0, 0, 0, 30%);
|
||||
text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
|
||||
letter-spacing: -0.02em;
|
||||
}
|
||||
|
||||
@@ -89,7 +89,7 @@
|
||||
}
|
||||
|
||||
::ng-deep .p-dialog-mask {
|
||||
background-color: rgb(0, 0, 0, 50%);
|
||||
background-color: rgb(0 0 0 / 50%);
|
||||
backdrop-filter: blur(3px);
|
||||
}
|
||||
|
||||
@@ -100,7 +100,7 @@
|
||||
z-index: 100;
|
||||
|
||||
::ng-deep .p-button {
|
||||
box-shadow: 0 4px 12px rgb(0, 0, 0, 30%);
|
||||
box-shadow: 0 4px 12px rgb(0 0 0 / 30%);
|
||||
backdrop-filter: blur(10px);
|
||||
background: rgb(var(--p-surface-900-rgb), 80%);
|
||||
border: 1px solid var(--p-content-border-color);
|
||||
|
||||
Reference in New Issue
Block a user