123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325 |
- /*
- * jQuery Mobile Framework
- * Copyright (c) jQuery Project
- * Dual licensed under the MIT (MIT-LICENSE.txt) or GPL (GPL-LICENSE.txt) licenses.
- */
- .spin {
- transform: rotate(360deg);
- animation-name: spin;
- animation-duration: 1s;
- animation-iteration-count: infinite;
- }
- @keyframes spin {
- from {transform: rotate(0deg);}
- to {transform: rotate(360deg);}
- }
- /*
- Transitions from jQtouch (with small modifications): http://www.jqtouch.com/
- Built by David Kaneda and maintained by Jonathan Stark.
- */
- .slide.in {
- transform: translate3d(0,0,0);
- animation-name: slideinfromright;
- z-index: 10;
- }
- .slide.out {
- transform: translate3d(-100%,0,0);
- animation-name: slideouttoleft;
- z-index: 0;
- }
- .slide.in.reverse {
- transform: translate3d(0,0,0);
- animation-name: slideinfromleft;
- z-index: 0;
- }
- .slide.out.reverse {
- transform: translate3d(100%,0,0);
- animation-name: slideouttoright;
- z-index: 10;
- }
- .slideup.in {
- transform: translate3d(0,0,0);
- animation-name: slideinfrombottom;
- z-index: 10;
- }
- .slideup.out {
- animation-name: dontmove;
- z-index: 0;
- }
- .slideup.out.reverse {
- transform: translate3d(0,100%,0);
- animation-name: slideouttobottom;
- z-index: 10;
- }
- .slideup.in.reverse {
- animation-name: dontmove;
- z-index: 0;
- }
- .slidedown.in {
- transform: translate3d(0,0,0);
- animation-name: slideinfromtop;
- z-index: 10;
- }
- .slidedown.out {
- animation-name: dontmove;
- z-index: 0;
- }
- .slidedown.out.reverse {
- transform: translate3d(0,-100%,0);
- animation-name: slideouttotop;
- z-index: 10;
- }
- .slidedown.in.reverse {
- animation-name: dontmove;
- z-index: 0;
- }
- @keyframes slideinfromright {
- from { transform: translate3d(100%,0,0); }
- to { transform: translate3d(0,0,0); }
- }
- @keyframes slideinfromleft {
- from { transform: translate3d(-100%,0,0); }
- to { transform: translate3d(0,0,0); }
- }
- @keyframes slideouttoleft {
- from { transform: translate3d(0,0,0); }
- to { transform: translate3d(-100%,0,0); }
- }
- @keyframes slideouttoright {
- from { transform: translate3d(0,0,0); }
- to { transform: translate3d(100%,0,0); }
- }
- @keyframes slideinfromtop {
- from { transform: translate3d(0,-100%,); }
- to { transform: translate3d(0,0,0); }
- }
- @keyframes slideinfrombottom {
- from { transform: translate3d(0,100%,0); }
- to { transform: translate3d(0,0,0); }
- }
- @keyframes slideouttobottom {
- from { transform: translate3d(0,0,0); }
- to { transform: translate3d(0,100%,0); }
- }
- @keyframes slideouttotop {
- from { transform: translate3d(0,0,0); }
- to { transform: translate3d(0,-100%,0); }
- }
- @keyframes fadein {
- from { opacity: 0; }
- to { opacity: 1; }
- }
- @keyframes fadeout {
- from { opacity: 1; }
- to { opacity: 0; }
- }
- @keyframes halffadein {
- from { opacity: 0; }
- to { opacity: 0.5; }
- }
- @keyframes halffadeout {
- from { opacity: 0.5; }
- to { opacity: 0; }
- }
- @keyframes bootstrap2fadein {
- from { opacity: 0; }
- to { opacity: 0.8; }
- }
- @keyframes bootstrap2fadeout {
- from { opacity: 0.8; }
- to { opacity: 0; }
- }
- .fade.in {
- opacity: 1;
- animation-name: fadein;
- }
- .fade.out {
- animation-name: fadeout;
- }
- .Wt-dialogcover.fade.in,
- .modal-backdrop.fade.in {
- opacity: 0.5;
- animation-name: halffadein;
- }
- .Wt-dialogcover.fade.out,
- .modal-backdrop.fade.out {
- animation-name: halffadeout;
- }
- .modal-backdrop.Wt-bootstrap2.fade.in {
- opacity: 0.8;
- animation-name: bootstrap2fadein;
- }
- .modal-backdrop.Wt-bootstrap2.fade.out {
- animation-name: bootstrap2fadeout;
- }
- /* The properties in this body rule are only necessary for the 'flip' transition.
- * We need specify the perspective to create a projection matrix. This will add
- * some depth as the element flips. The depth number represents the distance of
- * the viewer from the z-plane. According to the CSS3 spec, 1000 is a moderate
- * value.
- */
- .ui-mobile-viewport-perspective {
- perspective: 1000;
- position: absolute;
- }
- .ui-mobile-viewport-transitioning,
- .ui-mobile-viewport-transitioning .ui-page {
- width: 100%;
- height: 100%;
- overflow: hidden;
- }
- .flip {
- animation-duration: .65s;
- backface-visibility:hidden;
- transform:translate3d(0,0,0); /* Needed to work around an iOS 3.1 bug that causes listview thumbs to disappear when visibility:hidden is used. */
- }
- .flip.in {
- transform: rotateY(0) scale(1);
- animation-name: flipinfromleft;
- z-index: 10;
- }
- .flip.out {
- transform: rotateY(-180deg) scale(.8);
- animation-name: flipouttoleft;
- z-index: 0;
- }
- /* Shake it all about */
- .flip.in.reverse {
- transform: rotateY(0) scale(1);
- animation-name: flipinfromright;
- z-index: 0;
- }
- .flip.out.reverse {
- transform: rotateY(180deg) scale(.8);
- animation-name: flipouttoright;
- z-index: 10;
- }
- @keyframes flipinfromright {
- from { transform: rotateY(-180deg) scale(.8); }
- to { transform: rotateY(0) scale(1); }
- }
- @keyframes flipinfromleft {
- from { transform: rotateY(180deg) scale(.8); }
- to { transform: rotateY(0) scale(1); }
- }
- @keyframes flipouttoleft {
- from { transform: rotateY(0) scale(1); }
- to { transform: rotateY(-180deg) scale(.8); }
- }
- @keyframes flipouttoright {
- from { transform: rotateY(0) scale(1); }
- to { transform: rotateY(180deg) scale(.8); }
- }
- /* Hackish, but reliable. */
- @keyframes dontmove {
- from { opacity: 1; }
- to { opacity: 1; }
- }
- .pop {
- transform-origin: 50% 50%;
- }
- .pop.in {
- transform: scale(1);
- animation-name: popin;
- z-index: 10;
- }
- .pop.out.reverse {
- transform: scale(.2);
- animation-name: popout;
- z-index: 10;
- }
- .pop.in.reverse {
- animation-name: dontmove;
- z-index: 0;
- }
- @keyframes popin {
- from {
- transform: scale(.2);
- }
- to {
- transform: scale(1);
- }
- }
- @keyframes popout {
- from {
- transform: scale(1);
- }
- to {
- transform: scale(.2);
- }
- }
- .slide.in.fade {
- animation-name: slideinfromright, fadein;
- z-index: 10;
- }
- .slide.out.fade {
- animation-name: slideinfromright, fadeout;
- z-index: 0;
- }
- .pop.fade.in {
- animation-name: popin, fadein;
- z-index: 10;
- }
- .pop.fade.out {
- animation-name: popout, fadeout;
- z-index: 0;
- }
|