accounts-frontend/packages/app/components/ui/motion/slide-motion.scss

17 lines
369 B
SCSS
Raw Permalink Normal View History

2017-07-22 21:27:38 +05:30
.container {
2020-05-24 04:38:24 +05:30
white-space: nowrap;
transform: translate(var(--transition-progress));
html[dir='ltr'] & {
// noinspection CssInvalidFunction works fine in a browser (:
transform: translate(calc(var(--transition-progress) * -1));
}
2017-07-22 21:27:38 +05:30
}
.item {
2020-05-24 04:38:24 +05:30
display: inline-block;
white-space: normal;
vertical-align: top;
width: 100%;
2017-07-22 21:27:38 +05:30
}