Edit autoprefixer browserslist and remove manual prefixes

This commit is contained in:
Paul Nicoué 2022-07-19 16:01:41 +02:00
parent 957b799d0a
commit e5f5b543c6
4 changed files with 10 additions and 38 deletions

View file

@ -1,6 +1,9 @@
{ {
"browserslist": [ "browserslist": [
"defaults" "> 0.5%",
"last 4 versions",
"Firefox ESR",
"not dead"
], ],
"devDependencies": { "devDependencies": {
"@symfony/webpack-encore": "^3.0.0", "@symfony/webpack-encore": "^3.0.0",

File diff suppressed because one or more lines are too long

View file

@ -51,8 +51,6 @@ em {
a { a {
color: var(--black); color: var(--black);
text-decoration: none; text-decoration: none;
-webkit-transition: text-decoration 200ms ease-in-out;
-o-transition: text-decoration 200ms ease-in-out;
transition: text-decoration 200ms ease-in-out; transition: text-decoration 200ms ease-in-out;
&:hover, &:hover,
@ -64,7 +62,6 @@ a {
&:focus-visible { &:focus-visible {
outline: 1px dashed var(--black); outline: 1px dashed var(--black);
outline-offset: 2px; outline-offset: 2px;
-webkit-animation: expand-outline 200ms ease-out;
animation: expand-outline 200ms ease-in-out; animation: expand-outline 200ms ease-in-out;
} }
} }
@ -91,12 +88,6 @@ body {
padding: var(--header-bar-vertical-padding) var(--header-bar-horizontal-padding); padding: var(--header-bar-vertical-padding) var(--header-bar-horizontal-padding);
overflow-y: auto; overflow-y: auto;
background-color: transparent; background-color: transparent;
-webkit-transition:
max-width 400ms ease-in-out,
background-color 400ms ease-in-out;
-o-transition:
max-width 400ms ease-in-out,
background-color 400ms ease-in-out;
transition: transition:
max-width 400ms ease-in-out, max-width 400ms ease-in-out,
background-color 400ms ease-in-out; background-color 400ms ease-in-out;
@ -117,12 +108,6 @@ body {
color: var(--transparent-black); color: var(--transparent-black);
white-space: nowrap; white-space: nowrap;
text-overflow: ellipsis; text-overflow: ellipsis;
-webkit-transition:
width 400ms ease-in-out,
color 400ms ease-in-out;
-o-transition:
width 400ms ease-in-out,
color 400ms ease-in-out;
transition: transition:
width 400ms ease-in-out, width 400ms ease-in-out,
color 400ms ease-in-out; color 400ms ease-in-out;
@ -130,11 +115,7 @@ body {
} }
.header-bar__social { .header-bar__social {
display: -webkit-box;
display: -ms-flexbox;
display: flex; display: flex;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; align-items: center;
margin-top: 2rem; margin-top: 2rem;
@ -144,11 +125,7 @@ body {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
-webkit-box-pack: center;
-ms-flex-pack: center;
justify-content: center; justify-content: center;
-webkit-box-align: center;
-ms-flex-align: center;
align-items: center; align-items: center;
+ a { + a {
@ -159,8 +136,6 @@ body {
width: 100%; width: 100%;
height: 100%; height: 100%;
fill: var(--transparent-black); fill: var(--transparent-black);
-webkit-transition: fill 400ms ease-in-out;
-o-transition: fill 400ms ease-in-out;
transition: fill 400ms ease-in-out; transition: fill 400ms ease-in-out;
} }
} }

View file

@ -2,15 +2,6 @@
// ANIMATIONS // ANIMATIONS
// ---------------------------------------------------------------------------- // ----------------------------------------------------------------------------
@-webkit-keyframes expand-outline {
from {
outline-offset: 0;
}
to {
outline-offset: 2px;
}
}
@keyframes expand-outline { @keyframes expand-outline {
from { from {
outline-offset: 0; outline-offset: 0;