style(frontend): enforce property-no-vendor-prefix in scss

- Stylelint:
  - re-enable property-no-vendor-prefix in the frontend Stylelint config
  - apply the rule cleanup as its own commit so browser-compatibility changes stay reviewable in isolation
- Styles:
  - remove flagged vendor-prefixed property forms where an unprefixed property already exists or is now used instead
  - clean up duplicate standard declarations left behind by the autofix pass
- Validation:
  - run just ui stylelint
This commit is contained in:
James Cox
2026-04-22 17:26:46 -04:00
committed by Zach Yale
parent 0b34a85c50
commit ee02f6e386
16 changed files with 16 additions and 37 deletions
@@ -14,9 +14,8 @@
font-weight: 800;
margin-bottom: 0.75rem;
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: -0.02em;
}
@@ -214,7 +213,6 @@
border-radius: 10px 10px 0 0;
border: 1px solid rgb(255 255 255 / 50%);
backdrop-filter: blur(10px);
-webkit-backdrop-filter: blur(10px);
background: rgb(0 0 0 / 65%);
transition: transform 0.1s ease, opacity 0.1s ease;
@@ -295,7 +295,6 @@
-webkit-overflow-scrolling: touch;
scrollbar-width: none;
mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 32px), transparent 100%);
-webkit-mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 32px), transparent 100%);
padding: 0 16px;
&::-webkit-scrollbar {
@@ -151,9 +151,8 @@
overflow: hidden;
text-overflow: ellipsis;
background: linear-gradient(135deg, #f8fafc, #e2e8f0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 500;
font-size: 1.125rem;
margin: 0;
@@ -220,9 +220,8 @@
overflow: hidden;
text-overflow: ellipsis;
background: linear-gradient(135deg, #f8fafc, #e2e8f0);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-text-fill-color: transparent;
font-weight: 500;
font-size: 0.875rem;
}
@@ -15,9 +15,8 @@
margin-bottom: 1rem;
padding: 0;
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
z-index: 2;
letter-spacing: -0.02em;
@@ -176,9 +175,8 @@
margin-left: 0.5rem;
color: var(--primary-color) !important;
background: none !important;
-webkit-background-clip: unset !important;
-webkit-text-fill-color: var(--primary-color) !important;
background-clip: unset !important;
-webkit-text-fill-color: var(--primary-color) !important;
}
@media (width <= 767px) {
@@ -67,9 +67,8 @@
font-weight: 700;
margin-bottom: 2rem;
background: linear-gradient(135deg, #fff, #e2e8f0, var(--p-primary-500));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
letter-spacing: -0.02em;
}
@@ -104,9 +104,8 @@ $border-color: rgb(255 255 255 / 10%);
overflow: hidden;
text-overflow: ellipsis;
background: linear-gradient(90deg, $text-primary, var(--accent-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-text-fill-color: transparent;
}
.book-author {
@@ -590,9 +589,8 @@ $border-color: rgb(255 255 255 / 10%);
font-size: 1.2rem;
font-weight: 600;
background: linear-gradient(90deg, $text-primary, var(--accent-color));
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-text-fill-color: transparent;
}
::ng-deep .p-button.p-button-text {
@@ -10,7 +10,6 @@
position: relative;
touch-action: none;
overscroll-behavior: none;
-webkit-user-select: none;
user-select: none;
&:focus {
@@ -151,7 +151,6 @@ $transition-fast: 150ms ease;
width: 100%;
border-radius: 3px;
outline: none;
-webkit-appearance: none;
appearance: none;
background: none;
cursor: pointer;
@@ -181,7 +180,6 @@ $transition-fast: 150ms ease;
/* ===== Thumb ===== */
&::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 18px;
height: 18px;
@@ -411,10 +411,10 @@ $transition-normal: 200ms ease;
border-radius: 3px;
outline: none;
cursor: pointer;
-webkit-appearance: none;
appearance: none;
&::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 14px;
height: 14px;
border-radius: 50%;
@@ -22,7 +22,6 @@ $transition-normal: 200ms ease;
z-index: 1000;
background: $navbar-bg;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border-top: 1px solid $border-color;
box-shadow: 0 -2px 12px rgb(0 0 0 / 30%);
color: $text-primary;
@@ -112,14 +111,14 @@ $transition-normal: 200ms ease;
height: 6px;
border-radius: 3px;
outline: none;
-webkit-appearance: none;
appearance: none;
background: rgb(255 255 255 / 12%);
position: relative;
z-index: 1;
cursor: pointer;
&::-webkit-slider-thumb {
-webkit-appearance: none;
appearance: none;
width: 16px;
height: 16px;
border-radius: 50%;
@@ -179,7 +178,6 @@ $transition-normal: 200ms ease;
transform: translateX(-50%);
background: $navbar-bg;
backdrop-filter: blur(8px);
-webkit-backdrop-filter: blur(8px);
border: 1px solid $border-color;
border-radius: 12px;
box-shadow: 0 8px 32px rgb(0 0 0 / 50%);
@@ -15,9 +15,8 @@
font-weight: 800;
margin-bottom: 0.75rem;
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-text-fill-color: transparent;
letter-spacing: -0.02em;
}
@@ -15,9 +15,8 @@
margin-bottom: 1rem;
padding: 0;
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-text-fill-color: transparent;
position: relative;
z-index: 2;
letter-spacing: -0.02em;
@@ -113,9 +113,8 @@
font-weight: 700;
margin-bottom: 0.5rem;
background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
background-clip: text;
-webkit-text-fill-color: transparent;
@media (width <= 640px) {
font-size: 1.75rem;
@@ -293,4 +292,3 @@
transform: scale(1);
}
}
+1 -2
View File
@@ -15,8 +15,7 @@
html {
line-height: 1.5;
-webkit-text-size-adjust: 100%;
-moz-tab-size: 4;
text-size-adjust: 100%;
tab-size: 4;
height: 100%;
}
-1
View File
@@ -9,7 +9,6 @@ module.exports = {
ignoreAtRules: ["media"],
},
],
"property-no-vendor-prefix": null,
"selector-class-pattern": null,
"selector-pseudo-element-no-unknown": [
true,