Migrate to the postcss-logical-properties-polyfill.

Update what can be updated.
This commit is contained in:
ErickSkrauch
2021-07-13 21:39:19 +02:00
parent aababa1113
commit 404fcb804a
7 changed files with 4123 additions and 5957 deletions

View File

@@ -83,14 +83,6 @@ $border: 1px solid lighter($black);
line-height: 35px;
transition: color 0.25s, inset-inline-start 0.5s;
// TODO: right now transition property doesn't support the bidirectional value.
// See https://github.com/gasolin/postcss-bidirection/issues/25.
// noinspection CssOverwrittenProperties Graceful degradation
transition: color 0.25s, left 0.5s;
html[dir='rtl'] & {
transition: color 0.25s, right 0.5s;
}
.item:hover & {
color: #aaa;

View File

@@ -63,14 +63,6 @@ $dropdownPadding: 15px;
top: 16px;
font-size: 17px;
transition: inset-inline-end 0.3s cubic-bezier(0.23, 1, 0.32, 1); // easeOutQuint
// TODO: right now transition property doesn't support the bidirectional value.
// See https://github.com/gasolin/postcss-bidirection/issues/25.
// noinspection CssOverwrittenProperties Graceful degradation
transition: right 0.3s cubic-bezier(0.23, 1, 0.32, 1);
html[dir='rtl'] & {
transition: left 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}
.dropdown:hover & {
inset-inline-end: $dropdownPadding - 5px;