[css] Rename all classes consistently: :shamed:

This commit addresses https://github.com/mouse-reeve/bookwyrm/pull/883#pullrequestreview-632930445.
This commit is contained in:
Fabien Basmaison 2021-04-10 19:50:36 +02:00
parent 7936148077
commit e016006ade

View file

@ -49,8 +49,8 @@ html {
display: none; display: none;
} }
.hidden.transition-y, .transition-x.is-hidden,
.hidden.transition-x { .transition-y.is-hidden {
display: block !important; display: block !important;
visibility: hidden !important; visibility: hidden !important;
height: 0; height: 0;
@ -59,16 +59,18 @@ html {
padding: 0; padding: 0;
} }
.transition-x,
.transition-y { .transition-y {
transition-property: height, margin-top, margin-bottom, padding-top, padding-bottom;
transition-duration: 0.5s; transition-duration: 0.5s;
transition-timing-function: ease; transition-timing-function: ease;
} }
.transition-x { .transition-x {
transition-property: width, margin-left, margin-right, padding-left, padding-right; transition-property: width, margin-left, margin-right, padding-left, padding-right;
transition-duration: 0.5s; }
transition-timing-function: ease;
.transition-y {
transition-property: height, margin-top, margin-bottom, padding-top, padding-bottom;
} }
@media (prefers-reduced-motion: reduce) { @media (prefers-reduced-motion: reduce) {