UNPKG

@winner-fed/wui-theme-redness

Version:

Wui component redness theme.

140 lines (115 loc) 2.39 kB
@import './variables'; @keyframes win-slide-up-enter { from { transform: translate3d(0, 100%, 0); } } @keyframes win-slide-up-leave { to { transform: translate3d(0, 100%, 0); } } @keyframes win-slide-down-enter { from { transform: translate3d(0, -100%, 0); } } @keyframes win-slide-down-leave { to { transform: translate3d(0, -100%, 0); } } @keyframes win-slide-left-enter { from { transform: translate3d(-100%, 0, 0); } } @keyframes win-slide-left-leave { to { transform: translate3d(-100%, 0, 0); } } @keyframes win-slide-right-enter { from { transform: translate3d(100%, 0, 0); } } @keyframes win-slide-right-leave { to { transform: translate3d(100%, 0, 0); } } @keyframes win-fade-in { from { opacity: 0; } to { opacity: 1; } } @keyframes win-fade-out { from { opacity: 1; } to { opacity: 0; } } @keyframes win-rotate { from { transform: rotate(0deg); } to { transform: rotate(360deg); } } .win-fade { &-enter-active { animation: @animation-duration-base win-fade-in both @animation-timing-function-enter; } &-leave-active { animation: @animation-duration-base win-fade-out both @animation-timing-function-leave; } } .win-slide-up { &-enter-active { animation: win-slide-up-enter @animation-duration-base both @animation-timing-function-enter; } &-leave-active { animation: win-slide-up-leave @animation-duration-base both @animation-timing-function-leave; } } .win-slide-down { &-enter-active { animation: win-slide-down-enter @animation-duration-base both @animation-timing-function-enter; } &-leave-active { animation: win-slide-down-leave @animation-duration-base both @animation-timing-function-leave; } } .win-slide-left { &-enter-active { animation: win-slide-left-enter @animation-duration-base both @animation-timing-function-enter; } &-leave-active { animation: win-slide-left-leave @animation-duration-base both @animation-timing-function-leave; } } .win-slide-right { &-enter-active { animation: win-slide-right-enter @animation-duration-base both @animation-timing-function-enter; } &-leave-active { animation: win-slide-right-leave @animation-duration-base both @animation-timing-function-leave; } }