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
15 changed files
with
522 additions
and
128 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
Large diffs are not rendered by default.
Oops, something went wrong.
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,14 +1,128 @@ | ||
/*--------------------------------------------------- | ||
LESS Prefixer | ||
--------------------------------------------------- | ||
All of the CSS3 fun, none of the prefixes! | ||
As a rule, you can use the CSS properties you | ||
would expect just by adding a '.': | ||
box-shadow => .box-shadow(@args) | ||
Also, when shorthand is available, arguments are | ||
not parameterized. Learn CSS, not LESS Prefixer. | ||
------------------------------------------------- | ||
TABLE OF CONTENTS | ||
(*) denotes a syntax-sugar helper | ||
------------------------------------------------- | ||
.animation(@args) | ||
.animation-delay(@delay) | ||
.animation-direction(@direction) | ||
.animation-duration(@duration) | ||
.animation-iteration-count(@count) | ||
.animation-name(@name) | ||
.animation-play-state(@state) | ||
.animation-timing-function(@function) | ||
.background-size(@args) | ||
.border-radius(@args) | ||
.box-shadow(@args) | ||
.inner-shadow(@args) * | ||
.box-sizing(@args) | ||
.border-box() * | ||
.content-box() * | ||
.columns(@args) | ||
.column-count(@count) | ||
.column-gap(@gap) | ||
.column-rule(@args) | ||
.column-width(@width) | ||
.gradient(@default,@start,@stop) * | ||
.linear-gradient-top(@default,@color1,@stop1,@color2,@stop2,[@color3,@stop3,@color4,@stop4])* | ||
.linear-gradient-left(@default,@color1,@stop1,@color2,@stop2,[@color3,@stop3,@color4,@stop4])* | ||
.opacity(@factor) | ||
.transform(@args) | ||
.rotate(@deg) | ||
.scale(@factor) | ||
.translate(@x,@y) | ||
.translate3d(@x,@y,@z) | ||
.translateHardware(@x,@y) * | ||
.text-shadow(@args) | ||
.transition(@args) | ||
.transition-delay(@delay) | ||
.transition-duration(@duration) | ||
.transition-property(@property) | ||
.transition-timing-function(@function) | ||
Credit to LESS Elements for the motivation and | ||
to CSS3Please.com for implementation. | ||
Copyright (c) 2012 Joel Sutherland | ||
MIT Licensed: | ||
http://www.opensource.org/licenses/mit-license.php | ||
-----------------------------------------------------*/ | ||
/* Animation */ | ||
/* Background Size */ | ||
/* Border Radius */ | ||
/* Box Shadows */ | ||
/* Box Sizing */ | ||
/* Columns */ | ||
/* Gradients */ | ||
/* Opacity */ | ||
/* Text Shadow */ | ||
/* Transforms */ | ||
/* Transitions */ | ||
.pagerjs-fx-zoom { | ||
-webkit-transition: all 0.3s ease-in-out; | ||
-moz-transition: all 0.3s ease-in-out; | ||
-o-transition: all 0.3s ease-in-out; | ||
transition: all 0.3s ease-in-out; | ||
-webkit-transform: rotate(0deg) scale(0.1); | ||
-moz-transform: rotate(0deg) scale(0.1); | ||
-ms-transform: rotate(0deg) scale(0.1); | ||
-o-transform: rotate(0deg) scale(0.1); | ||
transform: rotate(0deg) scale(0.1); | ||
} | ||
.pagerjs-fx-zoom-in { | ||
-webkit-transform: rotate(0deg) scale(1); | ||
-moz-transform: rotate(0deg) scale(1); | ||
-ms-transform: rotate(0deg) scale(1); | ||
-o-transform: rotate(0deg) scale(1); | ||
transform: rotate(0deg) scale(1); | ||
} | ||
.pagerjs-fx-flip { | ||
-webkit-transition: all 0.3s ease-in-out; | ||
-moz-transition: all 0.3s ease-in-out; | ||
-o-transition: all 0.3s ease-in-out; | ||
transition: all 0.3s ease-in-out; | ||
-webkit-transform: rotatey(90deg) scale(1); | ||
-moz-transform: rotatey(90deg) scale(1); | ||
-ms-transform: rotatey(90deg) scale(1); | ||
-o-transform: rotatey(90deg) scale(1); | ||
transform: rotatey(90deg) scale(1); | ||
} | ||
.pagerjs-fx-flip-in { | ||
-webkit-transform: rotatey(0deg) scale(1); | ||
-moz-transform: rotatey(0deg) scale(1); | ||
-ms-transform: rotatey(0deg) scale(1); | ||
-o-transform: rotatey(0deg) scale(1); | ||
transform: rotatey(0deg) scale(1); | ||
} | ||
.pagerjs-fx-popout-modal { | ||
-webkit-transition: all 0.3s ease-in-out; | ||
-moz-transition: all 0.3s ease-in-out; | ||
-o-transition: all 0.3s ease-in-out; | ||
transition: all 0.3s ease-in-out; | ||
opacity: 0; | ||
} | ||
.pagerjs-fx-popout-modal-in { | ||
-webkit-transform: scale(1.2); | ||
-moz-transform: scale(1.2); | ||
-ms-transform: scale(1.2); | ||
-o-transform: scale(1.2); | ||
transform: scale(1.2); | ||
opacity: 1; | ||
} |
Oops, something went wrong.