Skip to content

A platform for community discussion. Free, open, simple.

DEV: Fix unwanted stylelint changes, do cleanup (#31140)

Jarek Radosz0ad05e022f00
diff --git a/app/assets/stylesheets/common/components/date-input.scss b/app/assets/stylesheets/common/components/date-input.scss
index 19aa56edf2f..d4035c8064c 100644
--- a/app/assets/stylesheets/common/components/date-input.scss
+++ b/app/assets/stylesheets/common/components/date-input.scss
@@ -15,7 +15,6 @@ $calendar-icon: '<svg xmlns="http://www.w3.org/2000/svg" width="14px" height="16
box-shadow: none;
position: relative;
- &::input-placeholder,
&::input-placeholder,
&::placeholder {
font-size: var(--font-0);
diff --git a/app/assets/stylesheets/common/components/footer-nav.scss b/app/assets/stylesheets/common/components/footer-nav.scss
index 07d2e40b07e..0719ab7c5c5 100644
--- a/app/assets/stylesheets/common/components/footer-nav.scss
+++ b/app/assets/stylesheets/common/components/footer-nav.scss
@@ -74,7 +74,6 @@ html.footer-nav-visible {
background-color: rgba(var(--header_background-rgb), 0.7);
/* prefix needed for iOS < 18 */
- /* stylelint-disable-next-line property-no-vendor-prefix */
-webkit-backdrop-filter: blur(20px);
backdrop-filter: blur(20px);
}
diff --git a/app/assets/stylesheets/vendor/normalize.scss b/app/assets/stylesheets/vendor/normalize.scss
index 9b9b14f2fac..5bab7e1bf22 100644
--- a/app/assets/stylesheets/vendor/normalize.scss
+++ b/app/assets/stylesheets/vendor/normalize.scss
@@ -10,7 +10,7 @@
html {
line-height: 1.15; /* 1 */
- text-size-adjust: 100%; /* 2 */
+ -webkit-text-size-adjust: 100%; /* 2 */
}
/* Sections
diff --git a/app/assets/stylesheets/vendor/rotate-center.scss b/app/assets/stylesheets/vendor/rotate-center.scss
index 2f7c4d60d4c..e5d9d4b961d 100644
--- a/app/assets/stylesheets/vendor/rotate-center.scss
+++ b/app/assets/stylesheets/vendor/rotate-center.scss
@@ -1,7 +1,7 @@
/* ----------------------------------------------
* Generated by Animista on 2023-7-17 8:32:34
* Licensed under FreeBSD License.
- * See http://animista.net/license for more info.
+ * See http://animista.net/license for more info.
* w: http://animista.net, t: @cssanimista
* ---------------------------------------------- */
@@ -19,12 +19,3 @@
transform: rotate(360deg);
}
}
-@keyframes rotate-center {
- 0% {
- transform: rotate(0);
- }
-
- 100% {
- transform: rotate(360deg);
- }
-}
\ No newline at end of file
diff --git a/plugins/discourse-lazy-videos/assets/stylesheets/lazy-videos.scss b/plugins/discourse-lazy-videos/assets/stylesheets/lazy-videos.scss
index 4be35f2612f..cc158b2a661 100644
--- a/plugins/discourse-lazy-videos/assets/stylesheets/lazy-videos.scss
+++ b/plugins/discourse-lazy-videos/assets/stylesheets/lazy-videos.scss
@@ -32,6 +32,8 @@
}
&:focus {
+ /* stylelint-disable-next-line declaration-block-no-duplicate-properties */
+ outline: 5px auto Highlight;
outline: 5px auto -webkit-focus-ring-color;
}
diff --git a/stylelint.config.mjs b/stylelint.config.mjs
index 62f9aefe11a..093d880de06 100644
--- a/stylelint.config.mjs
+++ b/stylelint.config.mjs
@@ -46,7 +46,11 @@ export default {
"property-no-vendor-prefix": [
true,
{
- ignoreProperties: ["user-select"],
+ ignoreProperties: [
+ "backdrop-filter",
+ "text-size-adjust",
+ "user-select",
+ ],
},
],
},