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:
+1
-3
@@ -14,9 +14,8 @@
|
|||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
|
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
letter-spacing: -0.02em;
|
letter-spacing: -0.02em;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -214,7 +213,6 @@
|
|||||||
border-radius: 10px 10px 0 0;
|
border-radius: 10px 10px 0 0;
|
||||||
border: 1px solid rgb(255 255 255 / 50%);
|
border: 1px solid rgb(255 255 255 / 50%);
|
||||||
backdrop-filter: blur(10px);
|
backdrop-filter: blur(10px);
|
||||||
-webkit-backdrop-filter: blur(10px);
|
|
||||||
background: rgb(0 0 0 / 65%);
|
background: rgb(0 0 0 / 65%);
|
||||||
transition: transform 0.1s ease, opacity 0.1s ease;
|
transition: transform 0.1s ease, opacity 0.1s ease;
|
||||||
|
|
||||||
|
|||||||
@@ -295,7 +295,6 @@
|
|||||||
-webkit-overflow-scrolling: touch;
|
-webkit-overflow-scrolling: touch;
|
||||||
scrollbar-width: none;
|
scrollbar-width: none;
|
||||||
mask-image: linear-gradient(to right, transparent 0, black 12px, black calc(100% - 32px), transparent 100%);
|
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;
|
padding: 0 16px;
|
||||||
|
|
||||||
&::-webkit-scrollbar {
|
&::-webkit-scrollbar {
|
||||||
|
|||||||
@@ -151,9 +151,8 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
background: linear-gradient(135deg, #f8fafc, #e2e8f0);
|
background: linear-gradient(135deg, #f8fafc, #e2e8f0);
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 1.125rem;
|
font-size: 1.125rem;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
|
|||||||
@@ -220,9 +220,8 @@
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
background: linear-gradient(135deg, #f8fafc, #e2e8f0);
|
background: linear-gradient(135deg, #f8fafc, #e2e8f0);
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-size: 0.875rem;
|
font-size: 0.875rem;
|
||||||
}
|
}
|
||||||
|
|||||||
+2
-4
@@ -15,9 +15,8 @@
|
|||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
|
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
letter-spacing: -0.02em;
|
letter-spacing: -0.02em;
|
||||||
@@ -176,9 +175,8 @@
|
|||||||
margin-left: 0.5rem;
|
margin-left: 0.5rem;
|
||||||
color: var(--primary-color) !important;
|
color: var(--primary-color) !important;
|
||||||
background: none !important;
|
background: none !important;
|
||||||
-webkit-background-clip: unset !important;
|
|
||||||
-webkit-text-fill-color: var(--primary-color) !important;
|
|
||||||
background-clip: unset !important;
|
background-clip: unset !important;
|
||||||
|
-webkit-text-fill-color: var(--primary-color) !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (width <= 767px) {
|
@media (width <= 767px) {
|
||||||
|
|||||||
+1
-2
@@ -67,9 +67,8 @@
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
margin-bottom: 2rem;
|
margin-bottom: 2rem;
|
||||||
background: linear-gradient(135deg, #fff, #e2e8f0, var(--p-primary-500));
|
background: linear-gradient(135deg, #fff, #e2e8f0, var(--p-primary-500));
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
|
text-shadow: 0 2px 4px rgb(0 0 0 / 30%);
|
||||||
letter-spacing: -0.02em;
|
letter-spacing: -0.02em;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -104,9 +104,8 @@ $border-color: rgb(255 255 255 / 10%);
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
background: linear-gradient(90deg, $text-primary, var(--accent-color));
|
background: linear-gradient(90deg, $text-primary, var(--accent-color));
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
.book-author {
|
.book-author {
|
||||||
@@ -590,9 +589,8 @@ $border-color: rgb(255 255 255 / 10%);
|
|||||||
font-size: 1.2rem;
|
font-size: 1.2rem;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
background: linear-gradient(90deg, $text-primary, var(--accent-color));
|
background: linear-gradient(90deg, $text-primary, var(--accent-color));
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
}
|
}
|
||||||
|
|
||||||
::ng-deep .p-button.p-button-text {
|
::ng-deep .p-button.p-button-text {
|
||||||
|
|||||||
@@ -10,7 +10,6 @@
|
|||||||
position: relative;
|
position: relative;
|
||||||
touch-action: none;
|
touch-action: none;
|
||||||
overscroll-behavior: none;
|
overscroll-behavior: none;
|
||||||
-webkit-user-select: none;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
|
||||||
&:focus {
|
&:focus {
|
||||||
|
|||||||
@@ -151,7 +151,6 @@ $transition-fast: 150ms ease;
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
outline: none;
|
outline: none;
|
||||||
-webkit-appearance: none;
|
|
||||||
appearance: none;
|
appearance: none;
|
||||||
background: none;
|
background: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
@@ -181,7 +180,6 @@ $transition-fast: 150ms ease;
|
|||||||
|
|
||||||
/* ===== Thumb ===== */
|
/* ===== Thumb ===== */
|
||||||
&::-webkit-slider-thumb {
|
&::-webkit-slider-thumb {
|
||||||
-webkit-appearance: none;
|
|
||||||
appearance: none;
|
appearance: none;
|
||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
|
|||||||
+2
-2
@@ -411,10 +411,10 @@ $transition-normal: 200ms ease;
|
|||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
outline: none;
|
outline: none;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
-webkit-appearance: none;
|
appearance: none;
|
||||||
|
|
||||||
&::-webkit-slider-thumb {
|
&::-webkit-slider-thumb {
|
||||||
-webkit-appearance: none;
|
appearance: none;
|
||||||
width: 14px;
|
width: 14px;
|
||||||
height: 14px;
|
height: 14px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
|
|||||||
@@ -22,7 +22,6 @@ $transition-normal: 200ms ease;
|
|||||||
z-index: 1000;
|
z-index: 1000;
|
||||||
background: $navbar-bg;
|
background: $navbar-bg;
|
||||||
backdrop-filter: blur(8px);
|
backdrop-filter: blur(8px);
|
||||||
-webkit-backdrop-filter: blur(8px);
|
|
||||||
border-top: 1px solid $border-color;
|
border-top: 1px solid $border-color;
|
||||||
box-shadow: 0 -2px 12px rgb(0 0 0 / 30%);
|
box-shadow: 0 -2px 12px rgb(0 0 0 / 30%);
|
||||||
color: $text-primary;
|
color: $text-primary;
|
||||||
@@ -112,14 +111,14 @@ $transition-normal: 200ms ease;
|
|||||||
height: 6px;
|
height: 6px;
|
||||||
border-radius: 3px;
|
border-radius: 3px;
|
||||||
outline: none;
|
outline: none;
|
||||||
-webkit-appearance: none;
|
appearance: none;
|
||||||
background: rgb(255 255 255 / 12%);
|
background: rgb(255 255 255 / 12%);
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
|
|
||||||
&::-webkit-slider-thumb {
|
&::-webkit-slider-thumb {
|
||||||
-webkit-appearance: none;
|
appearance: none;
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
@@ -179,7 +178,6 @@ $transition-normal: 200ms ease;
|
|||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
background: $navbar-bg;
|
background: $navbar-bg;
|
||||||
backdrop-filter: blur(8px);
|
backdrop-filter: blur(8px);
|
||||||
-webkit-backdrop-filter: blur(8px);
|
|
||||||
border: 1px solid $border-color;
|
border: 1px solid $border-color;
|
||||||
border-radius: 12px;
|
border-radius: 12px;
|
||||||
box-shadow: 0 8px 32px rgb(0 0 0 / 50%);
|
box-shadow: 0 8px 32px rgb(0 0 0 / 50%);
|
||||||
|
|||||||
+1
-2
@@ -15,9 +15,8 @@
|
|||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
margin-bottom: 0.75rem;
|
margin-bottom: 0.75rem;
|
||||||
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
|
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
letter-spacing: -0.02em;
|
letter-spacing: -0.02em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
+1
-2
@@ -15,9 +15,8 @@
|
|||||||
margin-bottom: 1rem;
|
margin-bottom: 1rem;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
|
background: linear-gradient(135deg, #fff, #e2e8f0, #3b82f6);
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
position: relative;
|
position: relative;
|
||||||
z-index: 2;
|
z-index: 2;
|
||||||
letter-spacing: -0.02em;
|
letter-spacing: -0.02em;
|
||||||
|
|||||||
@@ -113,9 +113,8 @@
|
|||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
margin-bottom: 0.5rem;
|
margin-bottom: 0.5rem;
|
||||||
background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
|
background: linear-gradient(135deg, #fff 0%, var(--primary-color) 100%);
|
||||||
-webkit-background-clip: text;
|
|
||||||
-webkit-text-fill-color: transparent;
|
|
||||||
background-clip: text;
|
background-clip: text;
|
||||||
|
-webkit-text-fill-color: transparent;
|
||||||
|
|
||||||
@media (width <= 640px) {
|
@media (width <= 640px) {
|
||||||
font-size: 1.75rem;
|
font-size: 1.75rem;
|
||||||
@@ -293,4 +292,3 @@
|
|||||||
transform: scale(1);
|
transform: scale(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -15,8 +15,7 @@
|
|||||||
|
|
||||||
html {
|
html {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
-webkit-text-size-adjust: 100%;
|
text-size-adjust: 100%;
|
||||||
-moz-tab-size: 4;
|
|
||||||
tab-size: 4;
|
tab-size: 4;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -9,7 +9,6 @@ module.exports = {
|
|||||||
ignoreAtRules: ["media"],
|
ignoreAtRules: ["media"],
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
"property-no-vendor-prefix": null,
|
|
||||||
"selector-class-pattern": null,
|
"selector-class-pattern": null,
|
||||||
"selector-pseudo-element-no-unknown": [
|
"selector-pseudo-element-no-unknown": [
|
||||||
true,
|
true,
|
||||||
|
|||||||
Reference in New Issue
Block a user