Skip to content

Commit

Permalink
dev: Configure the CSS autoprefixer NPM package
Browse files Browse the repository at this point in the history
  • Loading branch information
marien-probesys committed Aug 31, 2023
1 parent b980a78 commit 9502721
Show file tree
Hide file tree
Showing 6 changed files with 231 additions and 21 deletions.
4 changes: 0 additions & 4 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@
"rules": {
"stylistic/indentation": 4,

"at-rule-no-vendor-prefix": null,

"declaration-empty-line-before": [
"always",
{
Expand All @@ -34,8 +32,6 @@

"selector-class-pattern": null,

"property-no-vendor-prefix": null,

"order/properties-order": [
{
"groupName": "heading",
Expand Down
7 changes: 7 additions & 0 deletions .vite/vite.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { defineConfig } from 'vite';
import autoprefixer from 'autoprefixer';
import emptyAssetsDirPlugin from './empty-assets-dir-plugin.js';

const path = require('path');
Expand Down Expand Up @@ -41,5 +42,11 @@ export default defineConfig(({ mode }) => {
},

build: buildConfig,

css: {
postcss: {
plugins: [autoprefixer],
},
},
};
});
2 changes: 0 additions & 2 deletions assets/stylesheets/components/forms.css
Original file line number Diff line number Diff line change
Expand Up @@ -187,8 +187,6 @@ select:not([multiple]) {
background-position: right 0.75rem top 58%;
background-size: 2rem;

-moz-appearance: none;
-webkit-appearance: none;
appearance: none;
}

Expand Down
15 changes: 0 additions & 15 deletions assets/stylesheets/components/spinners.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,32 +10,17 @@
background-color: var(--color-primary9);
border-radius: 100%;

-webkit-animation: sk-scaleout 1s infinite ease-in-out;
animation: sk-scaleout 1s infinite ease-in-out;
}

@-webkit-keyframes sk-scaleout {
0% {
-webkit-transform: scale(0);
}

100% {
opacity: 0;

-webkit-transform: scale(1);
}
}

@keyframes sk-scaleout {
0% {
-webkit-transform: scale(0);
transform: scale(0);
}

100% {
opacity: 0;

-webkit-transform: scale(1);
transform: scale(1);
}
}
Loading

0 comments on commit 9502721

Please sign in to comment.