mirror of
https://github.com/Hopiu/jquery-mobile.git
synced 2026-03-17 06:20:26 +00:00
88 lines
No EOL
2.8 KiB
CSS
88 lines
No EOL
2.8 KiB
CSS
/* flow transition */
|
|
.flow {
|
|
-webkit-transform-origin: 50% 30%;
|
|
-moz-transform-origin: 50% 30%;
|
|
-webkit-box-shadow: 0 0 20px rgba(0,0,0,.4);
|
|
-moz-box-shadow: 0 0 20px rgba(0,0,0,.4);
|
|
}
|
|
.ui-dialog-page.flow {
|
|
-moz-transform-origin: none;
|
|
-webkit-box-shadow: none;
|
|
-moz-box-shadow: none;
|
|
}
|
|
.flow.out {
|
|
-webkit-transform: translateX(-100%) scale(.7);
|
|
-webkit-animation-name: flowouttoleft;
|
|
-webkit-animation-timing-function: ease;
|
|
-webkit-animation-duration: 500ms;
|
|
-moz-transform: translateX(-100%) scale(.7);
|
|
-moz-animation-name: flowouttoleft;
|
|
-moz-animation-timing-function: ease;
|
|
-moz-animation-duration: 500ms;
|
|
}
|
|
|
|
.flow.in {
|
|
-webkit-transform: translateX(0) scale(1);
|
|
-webkit-animation-name: flowinfromright;
|
|
-webkit-animation-timing-function: ease;
|
|
-webkit-animation-duration: 400ms;
|
|
-moz-transform: translateX(0) scale(1);
|
|
-moz-animation-name: flowinfromright;
|
|
-moz-animation-timing-function: ease;
|
|
-moz-animation-duration: 400ms;
|
|
}
|
|
|
|
.flow.out.reverse {
|
|
-webkit-transform: translateX(100%);
|
|
-webkit-animation-name: flowouttoright;
|
|
-moz-transform: translateX(100%);
|
|
-moz-animation-name: flowouttoright;
|
|
}
|
|
|
|
.flow.in.reverse {
|
|
-webkit-animation-name: flowinfromleft;
|
|
-moz-animation-name: flowinfromleft;
|
|
}
|
|
|
|
@-webkit-keyframes flowouttoleft {
|
|
0% { -webkit-transform: translateX(0) scale(1); }
|
|
60%, 70% { -webkit-transform: translateX(0) scale(.7); }
|
|
100% { -webkit-transform: translateX(-100%) scale(.7); }
|
|
}
|
|
@-moz-keyframes flowouttoleft {
|
|
0% { -moz-transform: translateX(0) scale(1); }
|
|
60%, 70% { -moz-transform: translateX(0) scale(.7); }
|
|
100% { -moz-transform: translateX(-100%) scale(.7); }
|
|
}
|
|
|
|
@-webkit-keyframes flowouttoright {
|
|
0% { -webkit-transform: translateX(0) scale(1); }
|
|
60%, 70% { -webkit-transform: translateX(0) scale(.7); }
|
|
100% { -webkit-transform: translateX(100%) scale(.7); }
|
|
}
|
|
@-moz-keyframes flowouttoright {
|
|
0% { -moz-transform: translateX(0) scale(1); }
|
|
60%, 70% { -moz-transform: translateX(0) scale(.7); }
|
|
100% { -moz-transform: translateX(100%) scale(.7); }
|
|
}
|
|
|
|
@-webkit-keyframes flowinfromleft {
|
|
0% { -webkit-transform: translateX(-100%) scale(.7); }
|
|
30%, 40% { -webkit-transform: translateX(0) scale(.7); }
|
|
100% { -webkit-transform: translateX(0) scale(1); }
|
|
}
|
|
@-moz-keyframes flowinfromleft {
|
|
0% { -moz-transform: translateX(-100%) scale(.7); }
|
|
30%, 40% { -moz-transform: translateX(0) scale(.7); }
|
|
100% { -moz-transform: translateX(0) scale(1); }
|
|
}
|
|
@-webkit-keyframes flowinfromright {
|
|
0% { -webkit-transform: translateX(100%) scale(.7); }
|
|
30%, 40% { -webkit-transform: translateX(0) scale(.7); }
|
|
100% { -webkit-transform: translateX(0) scale(1); }
|
|
}
|
|
@-moz-keyframes flowinfromright {
|
|
0% { -moz-transform: translateX(100%) scale(.7); }
|
|
30%, 40% { -moz-transform: translateX(0) scale(.7); }
|
|
100% { -moz-transform: translateX(0) scale(1); }
|
|
} |