1er commit
WP theme
This commit is contained in:
216
_/SlideshowJmpress/css/_style.css
Executable file
216
_/SlideshowJmpress/css/_style.css
Executable file
@@ -0,0 +1,216 @@
|
||||
.jms-slideshow {
|
||||
position: relative;
|
||||
width: 80%;
|
||||
max-width: 1400px;
|
||||
min-width: 640px;
|
||||
margin: 20px auto;
|
||||
height: 260px;
|
||||
}
|
||||
.jms-wrapper {
|
||||
width: auto;
|
||||
min-width: 600px;
|
||||
height: 240px;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
-webkit-background-clip: padding;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
outline: none;
|
||||
-webkit-transition: background-color 1s linear;
|
||||
-moz-transition: background-color 1s linear;
|
||||
-o-transition: background-color 1s linear;
|
||||
-ms-transition: background-color 1s linear;
|
||||
transition: background-color 1s linear;
|
||||
}
|
||||
.color-1 {
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.color-2 {
|
||||
background-color: #EBBBBC;
|
||||
background-color: rgba(235, 187, 188, 1);
|
||||
}
|
||||
.color-3 {
|
||||
background-color: #EED9C0;
|
||||
background-color: rgba(238, 217, 192, 1);
|
||||
}
|
||||
.color-4 {
|
||||
background-color: #DFEBB1;
|
||||
background-color: rgba(223, 235, 177, 1);
|
||||
}
|
||||
.color-5{
|
||||
background-color: #C1E6E5;
|
||||
background-color: rgba(193, 230, 229, 1);
|
||||
}
|
||||
.step {
|
||||
width: 1200px;
|
||||
/*width: 900px;*/
|
||||
height: 420px;
|
||||
display: block;
|
||||
-webkit-transition: opacity 1s;
|
||||
-moz-transition: opacity 1s;
|
||||
-ms-transition: opacity 1s;
|
||||
-o-transition: opacity 1s;
|
||||
transition: opacity 1s;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
|
||||
}
|
||||
.jms-content{
|
||||
margin: 0px 300px 0px 20px;
|
||||
position: relative;
|
||||
clear: both;
|
||||
}
|
||||
.step h3{
|
||||
color: #fff;
|
||||
font-size: 52px;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
margin: 0;
|
||||
padding: 60px 0 10px 0;
|
||||
}
|
||||
.step p {
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
font-size: 34px;
|
||||
font-weight: normal;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
a.jms-link{
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
background: #969696; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #969696 0%, #727272 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#969696), color-stop(100%,#727272)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #969696 0%,#727272 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #969696 0%,#727272 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #969696 0%,#727272 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #969696 0%,#727272 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#969696', endColorstr='#727272',GradientType=0 ); /* IE6-9 */
|
||||
padding: 8px 15px;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid #444;
|
||||
border-radius: 4px;
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
clear: both;
|
||||
-webkit-transition: all 0.4s ease-in-out 1s;
|
||||
-moz-transition: all 0.4s ease-in-out 1s;
|
||||
-ms-transition: all 0.4s ease-in-out 1s;
|
||||
-o-transition: all 0.4s ease-in-out 1s;
|
||||
transition: all 0.4s ease-in-out 1s;
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 0;
|
||||
margin-top: 80px;
|
||||
}
|
||||
.step img{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 30px;
|
||||
}
|
||||
.jms-dots{
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
left: 0px;
|
||||
bottom: 20px;
|
||||
z-index: 2000;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-dots span{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #777;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
1px 1px 1px rgba(0,0,0,0.1) inset,
|
||||
1px 1px 1px rgba(255,255,255,0.3);
|
||||
}
|
||||
.jms-dots span.jms-dots-current:after{
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.jms-arrows{
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-arrows span{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -40px;
|
||||
height: 80px;
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
z-index: 2000;
|
||||
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-prev{
|
||||
background: #fff url(../images/arrow_left.png) no-repeat 50% 50%;
|
||||
left: -10px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-next{
|
||||
background: #fff url(../images/arrow_right.png) no-repeat 50% 50%;
|
||||
right: -10px;
|
||||
}
|
||||
/* Not supported style */
|
||||
.jms-wrapper.not-supported{
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.jms-wrapper.not-supported:after{
|
||||
content: 'The slideshow functionality is not supported on your device.';
|
||||
padding: 0px 0px 30px 0px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step{
|
||||
display: none;
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
|
||||
margin: 20px auto;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:first-of-type{
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
216
_/SlideshowJmpress/css/_style.css-ok.css
Executable file
216
_/SlideshowJmpress/css/_style.css-ok.css
Executable file
@@ -0,0 +1,216 @@
|
||||
|
||||
.jms-slideshow {
|
||||
position: relative;
|
||||
width: 80%;
|
||||
max-width: 1400px;
|
||||
min-width: 640px;
|
||||
margin: 20px auto;
|
||||
height: 260px;
|
||||
}
|
||||
.jms-wrapper {
|
||||
width: auto;
|
||||
min-width: 600px;
|
||||
height: 240px;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
-webkit-background-clip: padding;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
outline: none;
|
||||
-webkit-transition: background-color 1s linear;
|
||||
-moz-transition: background-color 1s linear;
|
||||
-o-transition: background-color 1s linear;
|
||||
-ms-transition: background-color 1s linear;
|
||||
transition: background-color 1s linear;
|
||||
}
|
||||
.color-1 {
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.color-2 {
|
||||
background-color: #EBBBBC;
|
||||
background-color: rgba(235, 187, 188, 1);
|
||||
}
|
||||
.color-3 {
|
||||
background-color: #EED9C0;
|
||||
background-color: rgba(238, 217, 192, 1);
|
||||
}
|
||||
.color-4 {
|
||||
background-color: #DFEBB1;
|
||||
background-color: rgba(223, 235, 177, 1);
|
||||
}
|
||||
.color-5{
|
||||
background-color: #C1E6E5;
|
||||
background-color: rgba(193, 230, 229, 1);
|
||||
}
|
||||
.step {
|
||||
width: 900px;
|
||||
height: 220px;
|
||||
display: block;
|
||||
-webkit-transition: opacity 1s;
|
||||
-moz-transition: opacity 1s;
|
||||
-ms-transition: opacity 1s;
|
||||
-o-transition: opacity 1s;
|
||||
transition: opacity 1s;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
|
||||
}
|
||||
.jms-content{
|
||||
margin: 0px 370px 0px 20px;
|
||||
position: relative;
|
||||
clear: both;
|
||||
}
|
||||
.step h3{
|
||||
color: #fff;
|
||||
font-size: 52px;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
margin: 0;
|
||||
padding: 60px 0 10px 0;
|
||||
}
|
||||
.step p {
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
font-size: 34px;
|
||||
font-weight: normal;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
a.jms-link{
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
background: #969696; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #969696 0%, #727272 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#969696), color-stop(100%,#727272)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #969696 0%,#727272 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #969696 0%,#727272 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #969696 0%,#727272 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #969696 0%,#727272 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#969696', endColorstr='#727272',GradientType=0 ); /* IE6-9 */
|
||||
padding: 8px 15px;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid #444;
|
||||
border-radius: 4px;
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
clear: both;
|
||||
-webkit-transition: all 0.4s ease-in-out 1s;
|
||||
-moz-transition: all 0.4s ease-in-out 1s;
|
||||
-ms-transition: all 0.4s ease-in-out 1s;
|
||||
-o-transition: all 0.4s ease-in-out 1s;
|
||||
transition: all 0.4s ease-in-out 1s;
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 0;
|
||||
margin-top: 80px;
|
||||
}
|
||||
.step img{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 30px;
|
||||
}
|
||||
.jms-dots{
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
left: 0px;
|
||||
bottom: 20px;
|
||||
z-index: 2000;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-dots span{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #777;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
1px 1px 1px rgba(0,0,0,0.1) inset,
|
||||
1px 1px 1px rgba(255,255,255,0.3);
|
||||
}
|
||||
.jms-dots span.jms-dots-current:after{
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.jms-arrows{
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-arrows span{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -40px;
|
||||
height: 80px;
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
z-index: 2000;
|
||||
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-prev{
|
||||
background: #fff url(../images/arrow_left.png) no-repeat 50% 50%;
|
||||
left: -10px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-next{
|
||||
background: #fff url(../images/arrow_right.png) no-repeat 50% 50%;
|
||||
right: -10px;
|
||||
}
|
||||
/* Not supported style */
|
||||
.jms-wrapper.not-supported{
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.jms-wrapper.not-supported:after{
|
||||
content: 'The slideshow functionality is not supported on your device.';
|
||||
padding: 0px 0px 30px 0px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step{
|
||||
display: none;
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
|
||||
margin: 20px auto;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:first-of-type{
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
122
_/SlideshowJmpress/css/demo.css
Executable file
122
_/SlideshowJmpress/css/demo.css
Executable file
@@ -0,0 +1,122 @@
|
||||
@import url('normalize.css');
|
||||
/* General Demo Style */
|
||||
body{
|
||||
font-family: 'Open Sans Condensed','Arial Narrow', serif;
|
||||
background: #ddd url(../images/fabric_plaid.png) repeat top left;
|
||||
font-weight: 400;
|
||||
font-size: 15px;
|
||||
color: #333;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-font-smoothing: antialiased;
|
||||
font-smoothing: antialiased;
|
||||
}
|
||||
a{
|
||||
color: #555;
|
||||
text-decoration: none;
|
||||
}
|
||||
.container{
|
||||
width: 100%;
|
||||
position: relative;
|
||||
min-height: 750px;
|
||||
}
|
||||
.clr{
|
||||
clear: both;
|
||||
padding: 0;
|
||||
height: 0;
|
||||
margin: 0;
|
||||
}
|
||||
.container > header{
|
||||
margin: 10px;
|
||||
padding: 20px 10px 10px 10px;
|
||||
position: relative;
|
||||
display: block;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
|
||||
text-align: center;
|
||||
}
|
||||
.container > header h1{
|
||||
font-size: 40px;
|
||||
line-height: 40px;
|
||||
margin: 0;
|
||||
position: relative;
|
||||
font-weight: 300;
|
||||
color: #777;
|
||||
text-shadow: 1px 1px 1px rgba(255,255,255,0.7);
|
||||
}
|
||||
.container > header h1 span{
|
||||
font-weight: 700;
|
||||
}
|
||||
.container > header h2{
|
||||
font-size: 14px;
|
||||
font-weight: 300;
|
||||
letter-spacing: 2px;
|
||||
text-transform: uppercase;
|
||||
margin: 0;
|
||||
padding: 15px 0 5px 0;
|
||||
color: #6190ca;
|
||||
text-shadow: 1px 1px 1px rgba(255,255,255,0.7);
|
||||
}
|
||||
/* Header Style */
|
||||
.codrops-top{
|
||||
line-height: 24px;
|
||||
font-size: 11px;
|
||||
background: #fff;
|
||||
background: rgba(255, 255, 255, 0.6);
|
||||
text-transform: uppercase;
|
||||
z-index: 9999;
|
||||
position: relative;
|
||||
font-family: Cambria, Georgia, serif;
|
||||
box-shadow: 1px 0px 2px rgba(0,0,0,0.2);
|
||||
}
|
||||
.codrops-top a{
|
||||
padding: 0px 10px;
|
||||
letter-spacing: 1px;
|
||||
color: #333;
|
||||
display: inline-block;
|
||||
}
|
||||
.codrops-top a:hover{
|
||||
background: rgba(255,255,255,0.3);
|
||||
}
|
||||
.codrops-top span.right{
|
||||
float: right;
|
||||
}
|
||||
.codrops-top span.right a{
|
||||
float: left;
|
||||
display: block;
|
||||
}
|
||||
/* Demo Buttons Style */
|
||||
.codrops-demos{
|
||||
text-align:center;
|
||||
display: block;
|
||||
line-height: 30px;
|
||||
padding: 5px 0px;
|
||||
}
|
||||
.codrops-demos a{
|
||||
display: inline-block;
|
||||
margin: 0px 4px;
|
||||
padding: 0px 6px;
|
||||
color: #aaa;
|
||||
line-height: 20px;
|
||||
font-size: 13px;
|
||||
text-shadow: 1px 1px 1px #fff;
|
||||
border: 1px solid #ddd;
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
||||
box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.codrops-demos a:hover{
|
||||
color: #333;
|
||||
box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
.codrops-demos a:active{
|
||||
background: #fff;
|
||||
}
|
||||
.codrops-demos a.current-demo,
|
||||
.codrops-demos a.current-demo:hover{
|
||||
background: #f6f6f6;
|
||||
}
|
||||
504
_/SlideshowJmpress/css/normalize.css
vendored
Executable file
504
_/SlideshowJmpress/css/normalize.css
vendored
Executable file
@@ -0,0 +1,504 @@
|
||||
/*! normalize.css 2012-03-11T12:53 UTC - http://github.com/necolas/normalize.css */
|
||||
|
||||
/* =============================================================================
|
||||
HTML5 display definitions
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Corrects block display not defined in IE6/7/8/9 & FF3
|
||||
*/
|
||||
|
||||
article,
|
||||
aside,
|
||||
details,
|
||||
figcaption,
|
||||
figure,
|
||||
footer,
|
||||
header,
|
||||
hgroup,
|
||||
nav,
|
||||
section,
|
||||
summary {
|
||||
display: block;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects inline-block display not defined in IE6/7/8/9 & FF3
|
||||
*/
|
||||
|
||||
audio,
|
||||
canvas,
|
||||
video {
|
||||
display: inline-block;
|
||||
*display: inline;
|
||||
*zoom: 1;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents modern browsers from displaying 'audio' without controls
|
||||
* Remove excess height in iOS5 devices
|
||||
*/
|
||||
|
||||
audio:not([controls]) {
|
||||
display: none;
|
||||
height: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling for 'hidden' attribute not present in IE7/8/9, FF3, S4
|
||||
* Known issue: no IE6 support
|
||||
*/
|
||||
|
||||
[hidden] {
|
||||
display: none;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Base
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* 1. Corrects text resizing oddly in IE6/7 when body font-size is set using em units
|
||||
* http://clagnut.com/blog/348/#c790
|
||||
* 2. Prevents iOS text size adjust after orientation change, without disabling user zoom
|
||||
* www.456bereastreet.com/archive/201012/controlling_text_size_in_safari_for_ios_without_disabling_user_zoom/
|
||||
*/
|
||||
|
||||
html {
|
||||
font-size: 100%; /* 1 */
|
||||
-webkit-text-size-adjust: 100%; /* 2 */
|
||||
-ms-text-size-adjust: 100%; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses font-family inconsistency between 'textarea' and other form elements.
|
||||
*/
|
||||
|
||||
html,
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-family: sans-serif;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses margins handled incorrectly in IE6/7
|
||||
*/
|
||||
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Links
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses outline displayed oddly in Chrome
|
||||
*/
|
||||
|
||||
a:focus {
|
||||
outline: thin dotted;
|
||||
}
|
||||
|
||||
/*
|
||||
* Improves readability when focused and also mouse hovered in all browsers
|
||||
* people.opera.com/patrickl/experiments/keyboard/test
|
||||
*/
|
||||
|
||||
a:hover,
|
||||
a:active {
|
||||
outline: 0;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Typography
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses font sizes and margins set differently in IE6/7
|
||||
* Addresses font sizes within 'section' and 'article' in FF4+, Chrome, S5
|
||||
*/
|
||||
|
||||
h1 {
|
||||
font-size: 2em;
|
||||
margin: 0.67em 0;
|
||||
}
|
||||
|
||||
h2 {
|
||||
font-size: 1.5em;
|
||||
margin: 0.83em 0;
|
||||
}
|
||||
|
||||
h3 {
|
||||
font-size: 1.17em;
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
h4 {
|
||||
font-size: 1em;
|
||||
margin: 1.33em 0;
|
||||
}
|
||||
|
||||
h5 {
|
||||
font-size: 0.83em;
|
||||
margin: 1.67em 0;
|
||||
}
|
||||
|
||||
h6 {
|
||||
font-size: 0.75em;
|
||||
margin: 2.33em 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in IE7/8/9, S5, Chrome
|
||||
*/
|
||||
|
||||
abbr[title] {
|
||||
border-bottom: 1px dotted;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses style set to 'bolder' in FF3+, S4/5, Chrome
|
||||
*/
|
||||
|
||||
b,
|
||||
strong {
|
||||
font-weight: bold;
|
||||
}
|
||||
|
||||
blockquote {
|
||||
margin: 1em 40px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in S5, Chrome
|
||||
*/
|
||||
|
||||
dfn {
|
||||
font-style: italic;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses styling not present in IE6/7/8/9
|
||||
*/
|
||||
|
||||
mark {
|
||||
background: #ff0;
|
||||
color: #000;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses margins set differently in IE6/7
|
||||
*/
|
||||
|
||||
p,
|
||||
pre {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects font family set oddly in IE6, S4/5, Chrome
|
||||
* en.wikipedia.org/wiki/User:Davidgothberg/Test59
|
||||
*/
|
||||
|
||||
pre,
|
||||
code,
|
||||
kbd,
|
||||
samp {
|
||||
font-family: monospace, serif;
|
||||
_font-family: 'courier new', monospace;
|
||||
font-size: 1em;
|
||||
}
|
||||
|
||||
/*
|
||||
* Improves readability of pre-formatted text in all browsers
|
||||
*/
|
||||
|
||||
pre {
|
||||
white-space: pre;
|
||||
white-space: pre-wrap;
|
||||
word-wrap: break-word;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses CSS quotes not supported in IE6/7
|
||||
* 2. Addresses quote property not supported in S4
|
||||
*/
|
||||
|
||||
/* 1 */
|
||||
|
||||
q {
|
||||
quotes: none;
|
||||
}
|
||||
|
||||
/* 2 */
|
||||
|
||||
q:before,
|
||||
q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
|
||||
small {
|
||||
font-size: 75%;
|
||||
}
|
||||
|
||||
/*
|
||||
* Prevents sub and sup affecting line-height in all browsers
|
||||
* gist.github.com/413930
|
||||
*/
|
||||
|
||||
sub,
|
||||
sup {
|
||||
font-size: 75%;
|
||||
line-height: 0;
|
||||
position: relative;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
|
||||
sup {
|
||||
top: -0.5em;
|
||||
}
|
||||
|
||||
sub {
|
||||
bottom: -0.25em;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Lists
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses margins set differently in IE6/7
|
||||
*/
|
||||
|
||||
dl,
|
||||
menu,
|
||||
ol,
|
||||
ul {
|
||||
margin: 1em 0;
|
||||
}
|
||||
|
||||
dd {
|
||||
margin: 0 0 0 40px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses paddings set differently in IE6/7
|
||||
*/
|
||||
|
||||
menu,
|
||||
ol,
|
||||
ul {
|
||||
padding: 0 0 0 40px;
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects list images handled incorrectly in IE7
|
||||
*/
|
||||
|
||||
nav ul,
|
||||
nav ol {
|
||||
list-style: none;
|
||||
list-style-image: none;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Embedded content
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* 1. Removes border when inside 'a' element in IE6/7/8/9, FF3
|
||||
* 2. Improves image quality when scaled in IE7
|
||||
* code.flickr.com/blog/2008/11/12/on-ui-quality-the-little-things-client-side-image-resizing/
|
||||
*/
|
||||
|
||||
img {
|
||||
border: 0; /* 1 */
|
||||
-ms-interpolation-mode: bicubic; /* 2 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Corrects overflow displayed oddly in IE9
|
||||
*/
|
||||
|
||||
svg:not(:root) {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Figures
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Addresses margin not present in IE6/7/8/9, S5, O11
|
||||
*/
|
||||
|
||||
figure {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Forms
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Corrects margin displayed oddly in IE6/7
|
||||
*/
|
||||
|
||||
form {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* Define consistent border, margin, and padding
|
||||
*/
|
||||
|
||||
fieldset {
|
||||
border: 1px solid #c0c0c0;
|
||||
margin: 0 2px;
|
||||
padding: 0.35em 0.625em 0.75em;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Corrects color not being inherited in IE6/7/8/9
|
||||
* 2. Corrects text not wrapping in FF3
|
||||
* 3. Corrects alignment displayed oddly in IE6/7
|
||||
*/
|
||||
|
||||
legend {
|
||||
border: 0; /* 1 */
|
||||
padding: 0;
|
||||
white-space: normal; /* 2 */
|
||||
*margin-left: -7px; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Corrects font size not being inherited in all browsers
|
||||
* 2. Addresses margins set differently in IE6/7, FF3+, S5, Chrome
|
||||
* 3. Improves appearance and consistency in all browsers
|
||||
*/
|
||||
|
||||
button,
|
||||
input,
|
||||
select,
|
||||
textarea {
|
||||
font-size: 100%; /* 1 */
|
||||
margin: 0; /* 2 */
|
||||
vertical-align: baseline; /* 3 */
|
||||
*vertical-align: middle; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Addresses FF3/4 setting line-height on 'input' using !important in the UA stylesheet
|
||||
*/
|
||||
|
||||
button,
|
||||
input {
|
||||
line-height: normal; /* 1 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Improves usability and consistency of cursor style between image-type 'input' and others
|
||||
* 2. Corrects inability to style clickable 'input' types in iOS
|
||||
* 3. Removes inner spacing in IE7 without affecting normal text inputs
|
||||
* Known issue: inner spacing remains in IE6
|
||||
*/
|
||||
|
||||
button,
|
||||
input[type="button"],
|
||||
input[type="reset"],
|
||||
input[type="submit"] {
|
||||
cursor: pointer; /* 1 */
|
||||
-webkit-appearance: button; /* 2 */
|
||||
*overflow: visible; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* Re-set default cursor for disabled elements
|
||||
*/
|
||||
|
||||
button[disabled],
|
||||
input[disabled] {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses box sizing set to content-box in IE8/9
|
||||
* 2. Removes excess padding in IE8/9
|
||||
* 3. Removes excess padding in IE7
|
||||
Known issue: excess padding remains in IE6
|
||||
*/
|
||||
|
||||
input[type="checkbox"],
|
||||
input[type="radio"] {
|
||||
box-sizing: border-box; /* 1 */
|
||||
padding: 0; /* 2 */
|
||||
*height: 13px; /* 3 */
|
||||
*width: 13px; /* 3 */
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Addresses appearance set to searchfield in S5, Chrome
|
||||
* 2. Addresses box-sizing set to border-box in S5, Chrome (include -moz to future-proof)
|
||||
*/
|
||||
|
||||
input[type="search"] {
|
||||
-webkit-appearance: textfield; /* 1 */
|
||||
-moz-box-sizing: content-box;
|
||||
-webkit-box-sizing: content-box; /* 2 */
|
||||
box-sizing: content-box;
|
||||
}
|
||||
|
||||
/*
|
||||
* Removes inner padding and search cancel button in S5, Chrome on OS X
|
||||
*/
|
||||
|
||||
input[type="search"]::-webkit-search-decoration,
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
-webkit-appearance: none;
|
||||
}
|
||||
|
||||
/*
|
||||
* Removes inner padding and border in FF3+
|
||||
* www.sitepen.com/blog/2008/05/14/the-devils-in-the-details-fixing-dojos-toolbar-buttons/
|
||||
*/
|
||||
|
||||
button::-moz-focus-inner,
|
||||
input::-moz-focus-inner {
|
||||
border: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* 1. Removes default vertical scrollbar in IE6/7/8/9
|
||||
* 2. Improves readability and alignment in all browsers
|
||||
*/
|
||||
|
||||
textarea {
|
||||
overflow: auto; /* 1 */
|
||||
vertical-align: top; /* 2 */
|
||||
}
|
||||
|
||||
|
||||
/* =============================================================================
|
||||
Tables
|
||||
========================================================================== */
|
||||
|
||||
/*
|
||||
* Remove most spacing between table cells
|
||||
*/
|
||||
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
||||
215
_/SlideshowJmpress/css/style.css
Executable file
215
_/SlideshowJmpress/css/style.css
Executable file
@@ -0,0 +1,215 @@
|
||||
.jms-slideshow {
|
||||
position: relative;
|
||||
width: 80%;
|
||||
max-width: 1400px;
|
||||
min-width: 640px;
|
||||
margin: 20px auto;
|
||||
height: 460px;
|
||||
}
|
||||
.jms-wrapper {
|
||||
width: auto;
|
||||
min-width: 600px;
|
||||
height: 440px;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
-webkit-background-clip: padding;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border: 10px solid #fff;
|
||||
border: 10px solid rgba(255, 255, 255, 0.9);
|
||||
outline: none;
|
||||
-webkit-transition: background-color 1s linear;
|
||||
-moz-transition: background-color 1s linear;
|
||||
-o-transition: background-color 1s linear;
|
||||
-ms-transition: background-color 1s linear;
|
||||
transition: background-color 1s linear;
|
||||
}
|
||||
.color-1 {
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.color-2 {
|
||||
background-color: #EBBBBC;
|
||||
background-color: rgba(235, 187, 188, 1);
|
||||
}
|
||||
.color-3 {
|
||||
background-color: #EED9C0;
|
||||
background-color: rgba(238, 217, 192, 1);
|
||||
}
|
||||
.color-4 {
|
||||
background-color: #DFEBB1;
|
||||
background-color: rgba(223, 235, 177, 1);
|
||||
}
|
||||
.color-5{
|
||||
background-color: #C1E6E5;
|
||||
background-color: rgba(193, 230, 229, 1);
|
||||
}
|
||||
.step {
|
||||
width: 900px;
|
||||
height: 420px;
|
||||
display: block;
|
||||
-webkit-transition: opacity 1s;
|
||||
-moz-transition: opacity 1s;
|
||||
-ms-transition: opacity 1s;
|
||||
-o-transition: opacity 1s;
|
||||
transition: opacity 1s;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
|
||||
}
|
||||
.jms-content{
|
||||
margin: 0px 370px 0px 20px;
|
||||
position: relative;
|
||||
clear: both;
|
||||
}
|
||||
.step h3{
|
||||
color: #fff;
|
||||
font-size: 52px;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
margin: 0;
|
||||
padding: 60px 0 10px 0;
|
||||
}
|
||||
.step p {
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
font-size: 34px;
|
||||
font-weight: normal;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
a.jms-link{
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
background: #969696; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #969696 0%, #727272 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#969696), color-stop(100%,#727272)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #969696 0%,#727272 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #969696 0%,#727272 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #969696 0%,#727272 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #969696 0%,#727272 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#969696', endColorstr='#727272',GradientType=0 ); /* IE6-9 */
|
||||
padding: 8px 15px;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid #444;
|
||||
border-radius: 4px;
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
clear: both;
|
||||
-webkit-transition: all 0.4s ease-in-out 1s;
|
||||
-moz-transition: all 0.4s ease-in-out 1s;
|
||||
-ms-transition: all 0.4s ease-in-out 1s;
|
||||
-o-transition: all 0.4s ease-in-out 1s;
|
||||
transition: all 0.4s ease-in-out 1s;
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 0;
|
||||
margin-top: 80px;
|
||||
}
|
||||
.step img{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 30px;
|
||||
}
|
||||
.jms-dots{
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
left: 0px;
|
||||
bottom: 20px;
|
||||
z-index: 2000;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-dots span{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #777;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
1px 1px 1px rgba(0,0,0,0.1) inset,
|
||||
1px 1px 1px rgba(255,255,255,0.3);
|
||||
}
|
||||
.jms-dots span.jms-dots-current:after{
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.jms-arrows{
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-arrows span{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -40px;
|
||||
height: 80px;
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
z-index: 2000;
|
||||
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
|
||||
border-radius: 3px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-prev{
|
||||
background: #fff url(../images/arrow_left.png) no-repeat 50% 50%;
|
||||
left: -10px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-next{
|
||||
background: #fff url(../images/arrow_right.png) no-repeat 50% 50%;
|
||||
right: -10px;
|
||||
}
|
||||
/* Not supported style */
|
||||
.jms-wrapper.not-supported{
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.jms-wrapper.not-supported:after{
|
||||
content: 'The slideshow functionality is not supported on your device.';
|
||||
padding: 0px 0px 30px 0px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step{
|
||||
display: none;
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
|
||||
margin: 20px auto;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:first-of-type{
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
215
_/SlideshowJmpress/css/style_alt.css
Executable file
215
_/SlideshowJmpress/css/style_alt.css
Executable file
@@ -0,0 +1,215 @@
|
||||
.jms-slideshow {
|
||||
position: relative;
|
||||
width: 100%;
|
||||
min-width: 640px;
|
||||
margin: 20px auto;
|
||||
height: 460px;
|
||||
}
|
||||
.jms-wrapper {
|
||||
width: auto;
|
||||
min-width: 600px;
|
||||
height: 440px;
|
||||
background-color: #fff;
|
||||
box-shadow: 0 2px 6px rgba(0, 0, 0, .2);
|
||||
-webkit-background-clip: padding;
|
||||
-moz-background-clip: padding;
|
||||
background-clip: padding-box;
|
||||
border-top: 10px solid #fff;
|
||||
border-bottom: 10px solid #fff;
|
||||
outline: none;
|
||||
-webkit-transition: background-color 1s linear;
|
||||
-moz-transition: background-color 1s linear;
|
||||
-o-transition: background-color 1s linear;
|
||||
-ms-transition: background-color 1s linear;
|
||||
transition: background-color 1s linear;
|
||||
}
|
||||
.color-1 {
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.color-2 {
|
||||
background-color: #EBBBBC;
|
||||
background-color: rgba(235, 187, 188, 1);
|
||||
}
|
||||
.color-3 {
|
||||
background-color: #EED9C0;
|
||||
background-color: rgba(238, 217, 192, 1);
|
||||
}
|
||||
.color-4 {
|
||||
background-color: #DFEBB1;
|
||||
background-color: rgba(223, 235, 177, 1);
|
||||
}
|
||||
.color-5{
|
||||
background-color: #C1E6E5;
|
||||
background-color: rgba(193, 230, 229, 1);
|
||||
}
|
||||
.step {
|
||||
width: 900px;
|
||||
height: 420px;
|
||||
display: block;
|
||||
-webkit-transition: opacity 1s;
|
||||
-moz-transition: opacity 1s;
|
||||
-ms-transition: opacity 1s;
|
||||
-o-transition: opacity 1s;
|
||||
transition: opacity 1s;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 0;
|
||||
filter: alpha(opacity=0); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=0)"; /*IE8*/
|
||||
}
|
||||
.jms-content{
|
||||
margin: 0px 370px 0px 20px;
|
||||
position: relative;
|
||||
clear: both;
|
||||
}
|
||||
.step h3{
|
||||
color: #fff;
|
||||
font-size: 52px;
|
||||
font-weight: bold;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
margin: 0;
|
||||
padding: 60px 0 10px 0;
|
||||
}
|
||||
.step p {
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0,0,0,0.1);
|
||||
font-size: 34px;
|
||||
font-weight: normal;
|
||||
position: relative;
|
||||
margin: 0;
|
||||
}
|
||||
a.jms-link{
|
||||
color: #fff;
|
||||
text-transform: uppercase;
|
||||
background: #969696; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #969696 0%, #727272 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#969696), color-stop(100%,#727272)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #969696 0%,#727272 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #969696 0%,#727272 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #969696 0%,#727272 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #969696 0%,#727272 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#969696', endColorstr='#727272',GradientType=0 ); /* IE6-9 */
|
||||
padding: 8px 15px;
|
||||
display: inline-block;
|
||||
font-size: 16px;
|
||||
font-weight: bold;
|
||||
color: #fff;
|
||||
text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.3);
|
||||
box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
|
||||
border: 1px solid #444;
|
||||
border-radius: 4px;
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
clear: both;
|
||||
-webkit-transition: all 0.4s ease-in-out 1s;
|
||||
-moz-transition: all 0.4s ease-in-out 1s;
|
||||
-ms-transition: all 0.4s ease-in-out 1s;
|
||||
-o-transition: all 0.4s ease-in-out 1s;
|
||||
transition: all 0.4s ease-in-out 1s;
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 0;
|
||||
margin-top: 80px;
|
||||
}
|
||||
.step img{
|
||||
position: absolute;
|
||||
right: 0px;
|
||||
top: 30px;
|
||||
}
|
||||
.jms-dots{
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
text-align: center;
|
||||
left: 0px;
|
||||
bottom: 20px;
|
||||
z-index: 2000;
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-dots span{
|
||||
display: inline-block;
|
||||
position: relative;
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
border-radius: 50%;
|
||||
background: #777;
|
||||
margin: 3px;
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
1px 1px 1px rgba(0,0,0,0.1) inset,
|
||||
1px 1px 1px rgba(255,255,255,0.3);
|
||||
}
|
||||
.jms-dots span.jms-dots-current:after{
|
||||
content: '';
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 2px;
|
||||
border-radius: 50%;
|
||||
background: #ffffff; /* Old browsers */
|
||||
background: -moz-linear-gradient(top, #ffffff 0%, #f6f6f6 47%, #ededed 100%); /* FF3.6+ */
|
||||
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#ffffff), color-stop(47%,#f6f6f6), color-stop(100%,#ededed)); /* Chrome,Safari4+ */
|
||||
background: -webkit-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Chrome10+,Safari5.1+ */
|
||||
background: -o-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* Opera 11.10+ */
|
||||
background: -ms-linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* IE10+ */
|
||||
background: linear-gradient(top, #ffffff 0%,#f6f6f6 47%,#ededed 100%); /* W3C */
|
||||
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ffffff', endColorstr='#ededed',GradientType=0 ); /* IE6-9 */
|
||||
}
|
||||
.jms-arrows{
|
||||
-webkit-user-select: none;
|
||||
-moz-user-select: none;
|
||||
-ms-user-select: none;
|
||||
-o-user-select: none;
|
||||
user-select: none;
|
||||
}
|
||||
.jms-arrows span{
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
margin-top: -40px;
|
||||
height: 80px;
|
||||
width: 30px;
|
||||
cursor: pointer;
|
||||
z-index: 2000;
|
||||
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
|
||||
}
|
||||
.jms-arrows span.jms-arrows-prev{
|
||||
background: #fff url(../images/arrow_left.png) no-repeat 50% 50%;
|
||||
left: 0px;
|
||||
border-radius: 0px 3px 3px 0px;
|
||||
}
|
||||
.jms-arrows span.jms-arrows-next{
|
||||
background: #fff url(../images/arrow_right.png) no-repeat 50% 50%;
|
||||
right: 0px;
|
||||
border-radius: 3px 0px 0px 3px;
|
||||
}
|
||||
/* Not supported style */
|
||||
.jms-wrapper.not-supported{
|
||||
background-color: #E3D8FF;
|
||||
background-color: rgba(227, 216, 268, 1);
|
||||
}
|
||||
.jms-wrapper.not-supported:after{
|
||||
content: 'The slideshow functionality is not supported on your device.';
|
||||
padding: 0px 0px 30px 0px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step{
|
||||
display: none;
|
||||
position: relative;
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99); /* internet explorer */
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)"; /*IE8*/
|
||||
margin: 20px auto;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:first-of-type{
|
||||
display: block;
|
||||
}
|
||||
.jms-wrapper.not-supported .step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
9
_/SlideshowJmpress/css/style_ie.css
Executable file
9
_/SlideshowJmpress/css/style_ie.css
Executable file
@@ -0,0 +1,9 @@
|
||||
.jms-slideshow, .step{
|
||||
width: 1000px;
|
||||
}
|
||||
.jms-content{
|
||||
margin: 0px 390px 0px 60px;
|
||||
}
|
||||
.step img{
|
||||
right: 40px;
|
||||
}
|
||||
6
_/SlideshowJmpress/images/ImageAttribution.txt
Executable file
6
_/SlideshowJmpress/images/ImageAttribution.txt
Executable file
@@ -0,0 +1,6 @@
|
||||
Background Pattern from http://subtlepatterns.com/
|
||||
|
||||
Artcore Icons by Artcore Illustration http://blog.artcore-illustrations.de/aicons/
|
||||
Attribution-NonCommercial-NoDerivs 3.0 Unported (CC BY-NC-ND 3.0)
|
||||
http://creativecommons.org/licenses/by-nc-nd/3.0/
|
||||
|
||||
BIN
_/SlideshowJmpress/images/Thumbs.db
Executable file
BIN
_/SlideshowJmpress/images/Thumbs.db
Executable file
Binary file not shown.
118
_/SlideshowJmpress/index.html
Executable file
118
_/SlideshowJmpress/index.html
Executable file
@@ -0,0 +1,118 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Slideshow with jmpress.js</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Slideshow with jmpress.js" />
|
||||
<meta name="keywords" content="jmpress, slideshow, container, plugin, jquery, css3" />
|
||||
<meta name="author" content="for Codrops" />
|
||||
<link rel="shortcut icon" href="../favicon.ico">
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300,300italic' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/demo.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel="stylesheet" type="text/css" href="css/style_ie.css" />
|
||||
<![endif]-->
|
||||
<!-- jQuery -->
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<!-- jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jmpress.min.js"></script>
|
||||
<!-- jmslideshow plugin : extends the jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jquery.jmslideshow.js"></script>
|
||||
<script type="text/javascript" src="js/modernizr.custom.48780.js"></script>
|
||||
<noscript>
|
||||
<style>
|
||||
.step {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)";
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Codrops top bar -->
|
||||
<div class="codrops-top">
|
||||
<a href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/">
|
||||
<strong>« Previous Demo: </strong>Responsive Horizontal Layout
|
||||
</a>
|
||||
<span class="right">
|
||||
<a href="http://blog.artcore-illustrations.de/aicons/">Artcore Icons by Artcore Illustration</a>
|
||||
<a href="http://tympanus.net/codrops/2012/04/05/slideshow-with-jmpress-js/">
|
||||
<strong>Back to the Codrops Article</strong>
|
||||
</a>
|
||||
</span>
|
||||
<div class="clr"></div>
|
||||
</div><!--/ Codrops top bar -->
|
||||
<header>
|
||||
<h1>Slideshow <span>with jmpress.js</span></h1>
|
||||
<h2>Adding some 3D to your slideshow</h2>
|
||||
<nav class="codrops-demos">
|
||||
<a class="current-demo" href="index.html">Default</a>
|
||||
<a href="index2.html">Autoplay</a>
|
||||
<a href="index3.html">Different Layout</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section id="jms-slideshow" class="jms-slideshow">
|
||||
<div class="step" data-color="color-1">
|
||||
<div class="jms-content">
|
||||
<h3>Just when I thought...</h3>
|
||||
<p>From fairest creatures we desire increase, that thereby beauty's rose might never die</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/1.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-2" data-y="500" data-scale="0.4" data-rotate-x="30">
|
||||
<div class="jms-content">
|
||||
<h3>Holy cannoli!</h3>
|
||||
<p>But as the riper should by time decease, his tender heir might bear his memory</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/2.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-3" data-x="2000" data-z="3000" data-rotate="170">
|
||||
<div class="jms-content">
|
||||
<h3>No time to waste</h3>
|
||||
<p>Within thine own bud buriest thy content and, tender churl, makest waste in niggarding</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/3.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-4" data-x="3000">
|
||||
<div class="jms-content">
|
||||
<h3>Supercool!</h3>
|
||||
<p>Making a famine where abundance lies, thyself thy foe, to thy sweet self too cruel</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/4.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-5" data-x="4500" data-z="1000" data-rotate-y="45">
|
||||
<div class="jms-content">
|
||||
<h3>Did you know that...</h3>
|
||||
<p>Thou that art now the world's fresh ornament and only herald to the gaudy spring</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/5.png" />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
$( '#jms-slideshow' ).jmslideshow();
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
126
_/SlideshowJmpress/index2.html
Executable file
126
_/SlideshowJmpress/index2.html
Executable file
@@ -0,0 +1,126 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Slideshow with jmpress.js</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Slideshow with jmpress.js" />
|
||||
<meta name="keywords" content="jmpress, slideshow, container, plugin, jquery, css3" />
|
||||
<meta name="author" content="for Codrops" />
|
||||
<link rel="shortcut icon" href="../favicon.ico">
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300,300italic' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/demo.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/style.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel="stylesheet" type="text/css" href="css/style_ie.css" />
|
||||
<![endif]-->
|
||||
<!-- jQuery -->
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<!-- jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jmpress.min.js"></script>
|
||||
<!-- jmslideshow plugin : extends the jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jquery.jmslideshow.js"></script>
|
||||
<script type="text/javascript" src="js/modernizr.custom.48780.js"></script>
|
||||
<noscript>
|
||||
<style>
|
||||
.step {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)";
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Codrops top bar -->
|
||||
<div class="codrops-top">
|
||||
<a href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/">
|
||||
<strong>« Previous Demo: </strong>Responsive Horizontal Layout
|
||||
</a>
|
||||
<span class="right">
|
||||
<a href="http://blog.artcore-illustrations.de/aicons/">Artcore Icons by Artcore Illustration</a>
|
||||
<a href="http://tympanus.net/codrops/2012/04/05/slideshow-with-jmpress-js/">
|
||||
<strong>Back to the Codrops Article</strong>
|
||||
</a>
|
||||
</span>
|
||||
<div class="clr"></div>
|
||||
</div><!--/ Codrops top bar -->
|
||||
<header>
|
||||
<h1>Slideshow <span>with jmpress.js</span></h1>
|
||||
<h2>Adding some 3D to your slideshow</h2>
|
||||
<nav class="codrops-demos">
|
||||
<a href="index.html">Default</a>
|
||||
<a class="current-demo" href="index2.html">Autoplay</a>
|
||||
<a href="index3.html">Different Layout</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section id="jms-slideshow" class="jms-slideshow">
|
||||
<div class="step" data-color="color-2">
|
||||
<div class="jms-content">
|
||||
<h3>Just when I thought...</h3>
|
||||
<p>From fairest creatures we desire increase, that thereby beauty's rose might never die</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/1.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-3" data-y="900" data-rotate-x="80">
|
||||
<div class="jms-content">
|
||||
<h3>Holy cannoli!</h3>
|
||||
<p>But as the riper should by time decease, his tender heir might bear his memory</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/2.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-4" data-x="-100" data-z="1500" data-rotate="170">
|
||||
<div class="jms-content">
|
||||
<h3>No time to waste</h3>
|
||||
<p>Within thine own bud buriest thy content and, tender churl, makest waste in niggarding</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/3.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-5" data-x="3000">
|
||||
<div class="jms-content">
|
||||
<h3>Supercool!</h3>
|
||||
<p>Making a famine where abundance lies, thyself thy foe, to thy sweet self too cruel</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/4.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-1" data-x="4500" data-z="1000" data-rotate-y="45">
|
||||
<div class="jms-content">
|
||||
<h3>Did you know that...</h3>
|
||||
<p>Thou that art now the world's fresh ornament and only herald to the gaudy spring</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/5.png" />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
var jmpressOpts = {
|
||||
animation : { transitionDuration : '0.8s' }
|
||||
};
|
||||
|
||||
$( '#jms-slideshow' ).jmslideshow( $.extend( true, { jmpressOpts : jmpressOpts }, {
|
||||
autoplay : true,
|
||||
bgColorSpeed: '0.8s',
|
||||
arrows : false
|
||||
}));
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
118
_/SlideshowJmpress/index3.html
Executable file
118
_/SlideshowJmpress/index3.html
Executable file
@@ -0,0 +1,118 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="UTF-8" />
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<title>Slideshow with jmpress.js</title>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<meta name="description" content="Slideshow with jmpress.js" />
|
||||
<meta name="keywords" content="jmpress, slideshow, container, plugin, jquery, css3" />
|
||||
<meta name="author" content="for Codrops" />
|
||||
<link rel="shortcut icon" href="../favicon.ico">
|
||||
<link href='http://fonts.googleapis.com/css?family=Open+Sans+Condensed:700,300,300italic' rel='stylesheet' type='text/css'>
|
||||
<link rel="stylesheet" type="text/css" href="css/demo.css" />
|
||||
<link rel="stylesheet" type="text/css" href="css/style_alt.css" />
|
||||
<!--[if lt IE 9]>
|
||||
<link rel="stylesheet" type="text/css" href="css/style_ie.css" />
|
||||
<![endif]-->
|
||||
<!-- jQuery -->
|
||||
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.7.1/jquery.min.js"></script>
|
||||
<!-- jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jmpress.min.js"></script>
|
||||
<!-- jmslideshow plugin : extends the jmpress plugin -->
|
||||
<script type="text/javascript" src="js/jquery.jmslideshow.js"></script>
|
||||
<script type="text/javascript" src="js/modernizr.custom.48780.js"></script>
|
||||
<noscript>
|
||||
<style>
|
||||
.step {
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.step:not(.active) {
|
||||
opacity: 1;
|
||||
filter: alpha(opacity=99);
|
||||
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(opacity=99)";
|
||||
}
|
||||
.step:not(.active) a.jms-link{
|
||||
opacity: 1;
|
||||
margin-top: 40px;
|
||||
}
|
||||
</style>
|
||||
</noscript>
|
||||
</head>
|
||||
<body>
|
||||
<div class="container">
|
||||
<!-- Codrops top bar -->
|
||||
<div class="codrops-top">
|
||||
<a href="http://tympanus.net/Tutorials/ResponsiveHorizontalLayout/">
|
||||
<strong>« Previous Demo: </strong>Responsive Horizontal Layout
|
||||
</a>
|
||||
<span class="right">
|
||||
<a href="http://blog.artcore-illustrations.de/aicons/">Artcore Icons by Artcore Illustration</a>
|
||||
<a href="http://tympanus.net/codrops/2012/04/05/slideshow-with-jmpress-js/">
|
||||
<strong>Back to the Codrops Article</strong>
|
||||
</a>
|
||||
</span>
|
||||
<div class="clr"></div>
|
||||
</div><!--/ Codrops top bar -->
|
||||
<header>
|
||||
<h1>Slideshow <span>with jmpress.js</span></h1>
|
||||
<h2>Adding some 3D to your slideshow</h2>
|
||||
<nav class="codrops-demos">
|
||||
<a href="index.html">Default</a>
|
||||
<a href="index2.html">Autoplay</a>
|
||||
<a class="current-demo" href="index3.html">Different Layout</a>
|
||||
</nav>
|
||||
</header>
|
||||
<section id="jms-slideshow" class="jms-slideshow">
|
||||
<div class="step" data-color="color-1" data-x="2000" data-y="1000" data-z="3000" data-rotate="-20">
|
||||
<div class="jms-content">
|
||||
<h3>Just when I thought...</h3>
|
||||
<p>From fairest creatures we desire increase, that thereby beauty's rose might never die</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/1.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-2" data-x="1000" data-z="2000" data-rotate="20">
|
||||
<div class="jms-content">
|
||||
<h3>Holy cannoli!</h3>
|
||||
<p>But as the riper should by time decease, his tender heir might bear his memory</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/2.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-3" data-x="2000" data-y="1500" data-z="1000" data-rotate="20">
|
||||
<div class="jms-content">
|
||||
<h3>No time to waste</h3>
|
||||
<p>Within thine own bud buriest thy content and, tender churl, makest waste in niggarding</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/3.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-4" data-x="3000" data-y="2000">
|
||||
<div class="jms-content">
|
||||
<h3>Supercool!</h3>
|
||||
<p>Making a famine where abundance lies, thyself thy foe, to thy sweet self too cruel</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/4.png" />
|
||||
</div>
|
||||
<div class="step" data-color="color-5" data-x="4000" data-y="1500" data-z="1000" data-rotate="-20">
|
||||
<div class="jms-content">
|
||||
<h3>Did you know that...</h3>
|
||||
<p>Thou that art now the world's fresh ornament and only herald to the gaudy spring</p>
|
||||
<a class="jms-link" href="#">Read more</a>
|
||||
</div>
|
||||
<img src="images/5.png" />
|
||||
</div>
|
||||
</section>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
$(function() {
|
||||
|
||||
$( '#jms-slideshow' ).jmslideshow();
|
||||
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
2387
_/SlideshowJmpress/js/jmpress.js
Executable file
2387
_/SlideshowJmpress/js/jmpress.js
Executable file
File diff suppressed because it is too large
Load Diff
13
_/SlideshowJmpress/js/jmpress.min.js
vendored
Executable file
13
_/SlideshowJmpress/js/jmpress.min.js
vendored
Executable file
File diff suppressed because one or more lines are too long
326
_/SlideshowJmpress/js/jquery.jmslideshow.js
Executable file
326
_/SlideshowJmpress/js/jquery.jmslideshow.js
Executable file
@@ -0,0 +1,326 @@
|
||||
(function( $, undefined ) {
|
||||
|
||||
/*
|
||||
* JMSlideshow object
|
||||
*/
|
||||
$.JMSlideshow = function( options, element ) {
|
||||
|
||||
// the jms-slideshow
|
||||
this.$el = $( element );
|
||||
|
||||
this._init( options );
|
||||
|
||||
};
|
||||
|
||||
$.JMSlideshow.defaults = {
|
||||
// options for the jmpress plugin.
|
||||
// you can add much more options here. Check http://shama.github.com/jmpress.js/
|
||||
jmpressOpts : {
|
||||
// set the viewport
|
||||
viewPort : {
|
||||
height : 400,
|
||||
width : 1000,
|
||||
maxScale: 1
|
||||
},
|
||||
fullscreen : false,
|
||||
hash : { use : false },
|
||||
mouse : { clickSelects : false },
|
||||
keyboard : { use : false },
|
||||
animation : { transitionDuration : '1s' }
|
||||
},
|
||||
// for this specific plugin we will have the following options:
|
||||
// shows/hides navigation arrows
|
||||
arrows : true,
|
||||
// shows/hides navigation dots/pages
|
||||
dots : true,
|
||||
// each step's bgcolor transition speed
|
||||
bgColorSpeed: '1s',
|
||||
// slideshow on / off
|
||||
autoplay : false,
|
||||
// time between transitions for the slideshow
|
||||
interval : 3500
|
||||
};
|
||||
|
||||
$.JMSlideshow.prototype = {
|
||||
_init : function( options ) {
|
||||
|
||||
this.options = $.extend( true, {}, $.JMSlideshow.defaults, options );
|
||||
|
||||
// each one of the slides
|
||||
this.$slides = $('#jms-slideshow').children('div');
|
||||
// total number of slides
|
||||
this.slidesCount = this.$slides.length;
|
||||
// step's bgcolor
|
||||
this.colors = $.map( this.$slides, function( el, i ) { return $( el ).data( 'color' ); } ).join( ' ' );
|
||||
// build the necessary structure to run jmpress
|
||||
this._layout();
|
||||
// initialize the jmpress plugin
|
||||
this._initImpress();
|
||||
// if support (function implemented in jmpress plugin)
|
||||
if( this.support ) {
|
||||
|
||||
// load some events
|
||||
this._loadEvents();
|
||||
// if autoplay is true start the slideshow
|
||||
if( this.options.autoplay ) {
|
||||
|
||||
this._startSlideshow();
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
// wraps all the slides in the jms-wrapper div;
|
||||
// adds the navigation options ( arrows and dots ) if set to true
|
||||
_layout : function() {
|
||||
|
||||
// adds a specific class to each one of the steps
|
||||
this.$slides.each( function( i ) {
|
||||
|
||||
$(this).addClass( 'jmstep' + ( i + 1 ) );
|
||||
|
||||
} );
|
||||
|
||||
// wrap the slides. This wrapper will be the element on which we will call the jmpress plugin
|
||||
this.$jmsWrapper = this.$slides.wrapAll( '<div class="jms-wrapper"/>' ).parent();
|
||||
|
||||
// transition speed for the wrapper bgcolor
|
||||
this.$jmsWrapper.css( {
|
||||
'-webkit-transition-duration' : this.options.bgColorSpeed,
|
||||
'-moz-transition-duration' : this.options.bgColorSpeed,
|
||||
'-ms-transition-duration' : this.options.bgColorSpeed,
|
||||
'-o-transition-duration' : this.options.bgColorSpeed,
|
||||
'transition-duration' : this.options.bgColorSpeed
|
||||
} );
|
||||
|
||||
// add navigation arrows
|
||||
if( this.options.arrows ) {
|
||||
|
||||
this.$arrows = $( '<nav class="jms-arrows"></nav>' );
|
||||
|
||||
if( this.slidesCount > 1 ) {
|
||||
|
||||
this.$arrowPrev = $( '<span class="jms-arrows-prev"/>' ).appendTo( this.$arrows );
|
||||
this.$arrowNext = $( '<span class="jms-arrows-next"/>' ).appendTo( this.$arrows );
|
||||
|
||||
}
|
||||
|
||||
this.$el.append( this.$arrows )
|
||||
|
||||
}
|
||||
|
||||
// add navigation dots
|
||||
if( this.options.dots ) {
|
||||
|
||||
this.$dots = $( '<nav class="jms-dots"></nav>' );
|
||||
|
||||
for( var i = this.slidesCount + 1; --i; ) {
|
||||
|
||||
this.$dots.append( ( i === this.slidesCount ) ? '<span class="jms-dots-current"/>' : '<span/>' );
|
||||
|
||||
}
|
||||
|
||||
if( this.options.jmpressOpts.start ) {
|
||||
|
||||
this.$start = this.$jmsWrapper.find( this.options.jmpressOpts.start ), idxSelected = 0;
|
||||
|
||||
( this.$start.length ) ? idxSelected = this.$start.index() : this.options.jmpressOpts.start = null;
|
||||
|
||||
this.$dots.children().removeClass( 'jms-dots-current' ).eq( idxSelected ).addClass( 'jms-dots-current' );
|
||||
|
||||
}
|
||||
|
||||
this.$el.append( this.$dots )
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
// initialize the jmpress plugin
|
||||
_initImpress : function() {
|
||||
|
||||
var _self = this;
|
||||
|
||||
this.$jmsWrapper.jmpress( this.options.jmpressOpts );
|
||||
// check if supported (function from jmpress.js):
|
||||
// it adds the class not-suported to the wrapper
|
||||
this.support = !this.$jmsWrapper.hasClass( 'not-supported' );
|
||||
|
||||
// if not supported remove unnecessary elements
|
||||
if( !this.support ) {
|
||||
|
||||
if( this.$arrows ) {
|
||||
|
||||
this.$arrows.remove();
|
||||
|
||||
}
|
||||
|
||||
if( this.$dots ) {
|
||||
|
||||
this.$dots.remove();
|
||||
|
||||
}
|
||||
|
||||
return false;
|
||||
|
||||
}
|
||||
|
||||
// redefine the jmpress setActive method
|
||||
this.$jmsWrapper.jmpress( 'setActive', function( slide, eventData ) {
|
||||
|
||||
// change the pagination dot active class
|
||||
if( _self.options.dots ) {
|
||||
|
||||
// adds the current class to the current dot/page
|
||||
_self.$dots
|
||||
.children()
|
||||
.removeClass( 'jms-dots-current' )
|
||||
.eq( slide.index() )
|
||||
.addClass( 'jms-dots-current' );
|
||||
|
||||
}
|
||||
|
||||
// delete all current bg colors
|
||||
this.removeClass( _self.colors );
|
||||
// add bg color class
|
||||
this.addClass( slide.data( 'color' ) );
|
||||
|
||||
} );
|
||||
|
||||
// add step's bg color to the wrapper
|
||||
this.$jmsWrapper.addClass( this.$jmsWrapper.jmpress('active').data( 'color' ) );
|
||||
|
||||
},
|
||||
// start slideshow if autoplay is true
|
||||
_startSlideshow : function() {
|
||||
|
||||
var _self = this;
|
||||
|
||||
this.slideshow = setTimeout( function() {
|
||||
|
||||
_self.$jmsWrapper.jmpress( 'next' );
|
||||
|
||||
if( _self.options.autoplay ) {
|
||||
|
||||
_self._startSlideshow();
|
||||
|
||||
}
|
||||
|
||||
}, this.options.interval );
|
||||
|
||||
},
|
||||
// stops the slideshow
|
||||
_stopSlideshow : function() {
|
||||
|
||||
if( this.options.autoplay ) {
|
||||
|
||||
clearTimeout( this.slideshow );
|
||||
this.options.autoplay = false;
|
||||
|
||||
}
|
||||
|
||||
},
|
||||
_loadEvents : function() {
|
||||
|
||||
var _self = this;
|
||||
|
||||
// navigation arrows
|
||||
if( this.$arrowPrev && this.$arrowNext ) {
|
||||
|
||||
this.$arrowPrev.on( 'click.jmslideshow', function( event ) {
|
||||
|
||||
_self._stopSlideshow();
|
||||
|
||||
_self.$jmsWrapper.jmpress( 'prev' );
|
||||
|
||||
return false;
|
||||
|
||||
} );
|
||||
|
||||
this.$arrowNext.on( 'click.jmslideshow', function( event ) {
|
||||
|
||||
_self._stopSlideshow();
|
||||
|
||||
_self.$jmsWrapper.jmpress( 'next' );
|
||||
|
||||
return false;
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
// navigation dots
|
||||
if( this.$dots ) {
|
||||
|
||||
this.$dots.children().on( 'click.jmslideshow', function( event ) {
|
||||
|
||||
_self._stopSlideshow();
|
||||
|
||||
_self.$jmsWrapper.jmpress( 'goTo', '.jmstep' + ( $(this).index() + 1 ) );
|
||||
|
||||
return false;
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
|
||||
// the touchend event is already defined in the jmpress plugin.
|
||||
// we just need to make sure the slideshow stops if the event is triggered
|
||||
this.$jmsWrapper.on( 'touchend.jmslideshow', function() {
|
||||
|
||||
_self._stopSlideshow();
|
||||
|
||||
} );
|
||||
|
||||
}
|
||||
};
|
||||
|
||||
var logError = function( message ) {
|
||||
if ( this.console ) {
|
||||
console.error( message );
|
||||
}
|
||||
};
|
||||
|
||||
$.fn.jmslideshow = function( options ) {
|
||||
|
||||
if ( typeof options === 'string' ) {
|
||||
|
||||
var args = Array.prototype.slice.call( arguments, 1 );
|
||||
|
||||
this.each(function() {
|
||||
|
||||
var instance = $.data( this, 'jmslideshow' );
|
||||
|
||||
if ( !instance ) {
|
||||
logError( "cannot call methods on jmslideshow prior to initialization; " +
|
||||
"attempted to call method '" + options + "'" );
|
||||
return;
|
||||
}
|
||||
|
||||
if ( !$.isFunction( instance[options] ) || options.charAt(0) === "_" ) {
|
||||
logError( "no such method '" + options + "' for jmslideshow instance" );
|
||||
return;
|
||||
}
|
||||
|
||||
instance[ options ].apply( instance, args );
|
||||
|
||||
});
|
||||
|
||||
}
|
||||
else {
|
||||
|
||||
this.each(function() {
|
||||
|
||||
var instance = $.data( this, 'jmslideshow' );
|
||||
if ( !instance ) {
|
||||
$.data( this, 'jmslideshow', new $.JMSlideshow( options, this ) );
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
return this;
|
||||
|
||||
};
|
||||
|
||||
})( jQuery );
|
||||
4
_/SlideshowJmpress/js/modernizr.custom.48780.js
vendored
Executable file
4
_/SlideshowJmpress/js/modernizr.custom.48780.js
vendored
Executable file
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user