forked from jquery-archive/jquery-mobile
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
11 changed files
with
236 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,54 +1,34 @@ | ||
/* slide transition */ | ||
/* slide transition - depends on slidein.keyframes and slideout.keyframes */ | ||
.slide.out, .slide.in { | ||
-webkit-animation-timing-function: ease-out; | ||
-webkit-animation-duration: 350ms; | ||
-moz-animation-timing-function: ease-out; | ||
-moz-animation-duration: 350ms; | ||
} | ||
.slide.out { | ||
-webkit-transform: translateX(-100%); | ||
-webkit-animation-name: slideouttoleft; | ||
-moz-transform: translateX(-100%); | ||
-moz-animation-name: slideouttoleft; | ||
-webkit-animation-duration: 225ms; | ||
-moz-animation-duration: 225ms; | ||
} | ||
|
||
.slide.in { | ||
-webkit-transform: translateX(0); | ||
-webkit-animation-name: fadein; | ||
-webkit-animation-name: slideinfromright; | ||
-moz-transform: translateX(0); | ||
-moz-animation-name: fadein; | ||
-webkit-animation-duration: 200ms; | ||
-moz-animation-duration: 200ms; | ||
-moz-animation-name: slideinfromright; | ||
} | ||
|
||
.slide.out.reverse { | ||
-webkit-transform: translateX(100%); | ||
-webkit-animation-name: slideouttoright; | ||
-moz-transform: translateX(100%); | ||
-moz-animation-name: slideouttoright; | ||
-webkit-animation-duration: 200ms; | ||
-moz-animation-duration: 200ms; | ||
} | ||
|
||
.slide.in.reverse { | ||
-webkit-transform: translateX(0); | ||
-webkit-animation-name: fadein; | ||
-webkit-animation-name: slideinfromleft; | ||
-moz-transform: translateX(0); | ||
-moz-animation-name: fadein; | ||
-webkit-animation-duration: 200ms; | ||
-moz-animation-duration: 200ms; | ||
} | ||
|
||
@-webkit-keyframes slideouttoleft { | ||
from { -webkit-transform: translateX(0); } | ||
to { -webkit-transform: translateX(-100%); } | ||
} | ||
@-moz-keyframes slideouttoleft { | ||
from { -moz-transform: translateX(0); } | ||
to { -moz-transform: translateX(-100%); } | ||
} | ||
|
||
@-webkit-keyframes slideouttoright { | ||
from { -webkit-transform: translateX(0); } | ||
to { -webkit-transform: translateX(100%); } | ||
} | ||
@-moz-keyframes slideouttoright { | ||
from { -moz-transform: translateX(0); } | ||
to { -moz-transform: translateX(100%); } | ||
-moz-animation-name: slideinfromleft; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/* slidefade transition - depends on fadein and slidein.keyframes */ | ||
.slidefade.out { | ||
-webkit-transform: translateX(-100%); | ||
-webkit-animation-name: slideouttoleft; | ||
-moz-transform: translateX(-100%); | ||
-moz-animation-name: slideouttoleft; | ||
-webkit-animation-duration: 225ms; | ||
-moz-animation-duration: 225ms; | ||
} | ||
|
||
.slidefade.in { | ||
-webkit-transform: translateX(0); | ||
-webkit-animation-name: fadein; | ||
-moz-transform: translateX(0); | ||
-moz-animation-name: fadein; | ||
-webkit-animation-duration: 200ms; | ||
-moz-animation-duration: 200ms; | ||
} | ||
|
||
.slidefade.out.reverse { | ||
-webkit-transform: translateX(100%); | ||
-webkit-animation-name: slideouttoright; | ||
-moz-transform: translateX(100%); | ||
-moz-animation-name: slideouttoright; | ||
-webkit-animation-duration: 200ms; | ||
-moz-animation-duration: 200ms; | ||
} | ||
|
||
.slidefade.in.reverse { | ||
-webkit-transform: translateX(0); | ||
-webkit-animation-name: fadein; | ||
-moz-transform: translateX(0); | ||
-moz-animation-name: fadein; | ||
-webkit-animation-duration: 200ms; | ||
-moz-animation-duration: 200ms; | ||
} |
18 changes: 18 additions & 0 deletions
18
css/structure/jquery.mobile.transitions.slidein.keyframes.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* keyframes for slidein from sides */ | ||
@-webkit-keyframes slideinfromright { | ||
from { -webkit-transform: translateX(100%); } | ||
to { -webkit-transform: translateX(0); } | ||
} | ||
@-moz-keyframes slideinfromright { | ||
from { -webkit-transform: translateX(100%); } | ||
to { -webkit-transform: translateX(0); } | ||
} | ||
|
||
@-webkit-keyframes slideinfromleft { | ||
from { -webkit-transform: translateX(-100%); } | ||
to { -webkit-transform: translateX(0); } | ||
} | ||
@-moz-keyframes slideinfromleft { | ||
from { -webkit-transform: translateX(-100%); } | ||
to { -webkit-transform: translateX(0); } | ||
} |
18 changes: 18 additions & 0 deletions
18
css/structure/jquery.mobile.transitions.slideout.keyframes.css
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/* keyframes for slideout to sides */ | ||
@-webkit-keyframes slideouttoleft { | ||
from { -webkit-transform: translateX(0); } | ||
to { -webkit-transform: translateX(-100%); } | ||
} | ||
@-moz-keyframes slideouttoleft { | ||
from { -moz-transform: translateX(0); } | ||
to { -moz-transform: translateX(-100%); } | ||
} | ||
|
||
@-webkit-keyframes slideouttoright { | ||
from { -webkit-transform: translateX(0); } | ||
to { -webkit-transform: translateX(100%); } | ||
} | ||
@-moz-keyframes slideouttoright { | ||
from { -moz-transform: translateX(0); } | ||
to { -moz-transform: translateX(100%); } | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.