[Glitch] Fix transition: all

Port 7aa749ab46 to glitch-soc
pull/1032/head
ThibG 2019-05-04 17:39:53 +02:00 committed by Thibaut Girka
parent b7f69beebe
commit 8e221cd22b
4 changed files with 10 additions and 2 deletions

View File

@ -50,6 +50,7 @@ $content-width: 840px;
color: $darker-text-color;
text-decoration: none;
transition: all 200ms linear;
transition-property: color, background-color;
border-radius: 4px 0 0 4px;
i.fa {
@ -60,6 +61,7 @@ $content-width: 840px;
color: $primary-text-color;
background-color: darken($ui-base-color, 5%);
transition: all 100ms linear;
transition-property: color, background-color;
}
&.selected {

View File

@ -125,6 +125,7 @@
cursor: default;
pointer-events: none;
transition: all 100ms linear;
transition-property: color, transform, opacity;
}
.fa-search {

View File

@ -25,6 +25,7 @@
text-decoration: none;
text-overflow: ellipsis;
transition: all 100ms ease-in;
transition-property: background-color;
white-space: nowrap;
width: auto;
@ -33,6 +34,7 @@
&:hover {
background-color: lighten($ui-highlight-color, 7%);
transition: all 200ms ease-out;
transition-property: background-color;
}
&--destructive {
@ -564,6 +566,7 @@
font-weight: 500;
border-bottom: 2px solid lighten($ui-base-color, 8%);
transition: all 200ms linear;
transition-property: background;
.fa {
font-weight: 400;
@ -581,6 +584,7 @@
@include multi-columns('screen and (min-width: 631px)') {
background: lighten($ui-base-color, 14%);
transition: all 100ms linear;
transition-property: background;
}
}
@ -664,7 +668,7 @@
padding: 0;
border-radius: 30px;
background-color: $ui-base-color;
transition: all 0.2s ease;
transition: background-color 0.2s ease;
}
.react-toggle:hover:not(.react-toggle--disabled) .react-toggle-track {
@ -717,7 +721,6 @@
}
.react-toggle-thumb {
transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1) 0ms;
position: absolute;
top: 1px;
left: 1px;
@ -728,6 +731,7 @@
background-color: darken($simple-background-color, 2%);
box-sizing: border-box;
transition: all 0.25s ease;
transition-property: border-color, left;
}
.react-toggle--checked .react-toggle-thumb {

View File

@ -18,6 +18,7 @@
display: inline-block;
opacity: 0;
transition: all 100ms linear;
transition-property: transform, opacity;
font-size: 18px;
width: 18px;
height: 18px;