terraform/website/source/stylesheets/_jumbotron.less

309 lines
8.8 KiB
Plaintext
Raw Normal View History

2014-07-16 23:51:48 +02:00
//
// Jumbotron
// --------------------------------------------------
#jumbotron-mask{
position:relative;
2014-07-16 23:51:48 +02:00
height: @jumbotron-total-height;
margin-top: @negative-hero-margin;
2014-07-23 00:31:43 +02:00
background-color: black;
2014-07-16 23:51:48 +02:00
}
#jumbotron {
position: relative;
height: @jumbotron-total-height;
padding-top: 0;
padding-bottom: 0;
color: @jumbotron-color;
2014-07-24 05:35:57 +02:00
.terraform-canvas {
position:absolute;
top:0;
left:0;
width:100%;
height:100%;
2014-07-24 05:52:27 +02:00
opacity:0;
-webkit-transition:opacity 2s ease-out;
-moz-transition:opacity 2s ease-out;
-ms-transition:opacity 2s ease-out;
-o-transition:opacity 2s ease-out;
transition:opacity 2s ease-out;
-webkit-transform:translate3d(0,0,0);
-moz-transform:translate3d(0,0,0);
-ms-transform:translate3d(0,0,0);
-o-transform:translate3d(0,0,0);
transform:translate3d(0,0,0);
2014-07-16 23:51:48 +02:00
}
.jumbotron-content {
2014-07-24 05:35:57 +02:00
position:absolute;
z-index:999;
top:0;
left:0;
right:0;
bottom:0;
2014-07-16 23:51:48 +02:00
2014-07-24 05:35:57 +02:00
-webkit-transform:translate3d(0,0,0);
-moz-transform:translate3d(0,0,0);
-ms-transform:translate3d(0,0,0);
-o-transform:translate3d(0,0,0);
transform:translate3d(0,0,0);
2014-07-16 23:51:48 +02:00
}
2014-07-24 05:52:27 +02:00
.galaxy-image {
2014-07-24 05:52:27 +02:00
position:absolute;
width:100%;
height:100%;
top:0;
left:0;
background-image:url(../images/bg-galaxy.jpg);
background-size:cover;
background-position:50% 50%;
opacity:0;
-webkit-transition:
opacity 6s ease-out,
-webkit-transform 20s ease-out;
-moz-transition:
opacity 6s ease-out,
-moz-transform 20s ease-out;
-ms-transition:
opacity 6s ease-out,
-ms-transform 20s ease-out;
-o-transition:
opacity 6s ease-out,
-o-transform 20s ease-out;
transition:
opacity 6s ease-out,
transform 20s ease-out;
-webkit-transform:translate3d(0,0,0) scale(0.7);
-moz-transform:translate3d(0,0,0) scale(0.7);
-ms-transform:translate3d(0,0,0) scale(0.7);
-o-transform:translate3d(0,0,0) scale(0.7);
transform:translate3d(0,0,0) scale(0.7);
2014-07-26 10:05:31 +02:00
&.show {
opacity:1;
-webkit-transform:translate3d(0,0,0) scale(1);
-moz-transform:translate3d(0,0,0) scale(1);
-ms-transform:translate3d(0,0,0) scale(1);
-o-transform:translate3d(0,0,0) scale(1);
transform:translate3d(0,0,0) scale(1);
}
2014-07-24 05:52:27 +02:00
}
2014-07-16 23:51:48 +02:00
}
.tag-line {
position:absolute;
width:100%;
top:540px;
color:#fff;
text-align:center;
font-family:"Courier New", Monaco, Menlo, Consolas, monospace;
-webkit-transform:translate3d(0,0,0);
-moz-transform:translate3d(0,0,0);
-ms-transform:translate3d(0,0,0);
-o-transform:translate3d(0,0,0);
transform:translate3d(0,0,0);
}
2014-07-24 05:35:57 +02:00
.animated-logo {
position:absolute;
z-index:200;
top:50%;
left:50%;
width:140px;
height:140px;
margin:-60px 0 0 -115px;
2014-07-24 05:35:57 +02:00
opacity:1;
-webkit-transition:-webkit-transform 300ms ease-in-out;
-moz-transition: -moz-transform 300ms ease-in-out;
-ms-transition: -ms-transform 300ms ease-in-out;
-o-transition: -o-transform 300ms ease-in-out;
transition: transform 300ms ease-in-out;
-webkit-transform-origin:50% 50%;
-moz-transform-origin:50% 50%;
-ms-transform-origin:50% 50%;
-o-transform-origin:50% 50%;
transform-origin:50% 50%;
2014-07-24 05:35:57 +02:00
-webkit-transform-style:preserve-3d;
-moz-transform-style:preserve-3d;
-ms-transform-style:preserve-3d;
-o-transform-style:preserve-3d;
transform-style:preserve-3d;
-webkit-transform:translate3d(0,0,0) rotateY(0deg) skewY(0deg) scale(1,1);
-moz-transform:translate3d(0,0,0) rotateY(0deg) skewY(0deg) scale(1,1);
-ms-transform:translate3d(0,0,0) rotateY(0deg) skewY(0deg) scale(1,1);
-o-transform:translate3d(0,0,0) rotateY(0deg) skewY(0deg) scale(1,1);
transform:translate3d(0,0,0) rotateY(0deg) skewY(0deg) scale(1,1);
}
.state-one .animated-logo {
-webkit-transform:translate3d(0,0,0) rotateY(0deg) skewY(0deg) scale(1,1);
-moz-transform:translate3d(0,0,0) rotateY(0deg) skewY(0deg) scale(1,1);
-ms-transform:translate3d(0,0,0) rotateY(0deg) skewY(0deg) scale(1,1);
-o-transform:translate3d(0,0,0) rotateY(0deg) skewY(0deg) scale(1,1);
transform:translate3d(0,0,0) rotateY(0deg) skewY(0deg) scale(1,1);
2014-07-24 05:35:57 +02:00
}
.state-one.state-two.state-three.state-four .animated-logo {
-webkit-transform-origin:100% 0;
-moz-transform-origin:100% 0;
-ms-transform-origin:100% 0;
-o-transform-origin:100% 0;
transform-origin:100% 0;
-webkit-transform:translate3d(0,10px,0) rotateY(-45deg) skewY(22deg) scale(1.26,1);
-moz-transform:translate3d(0,10px,0) rotateY(-45deg) skewY(22deg) scale(1.26,1);
-ms-transform:translate3d(0,10px,0) rotateY(-45deg) skewY(22deg) scale(1.26,1);
-o-transform:translate3d(0,10px,0) rotateY(-45deg) skewY(22deg) scale(1.26,1);
transform:translate3d(0,10px,0) rotateY(-45deg) skewY(22deg) scale(1.26,1);
2014-07-16 23:51:48 +02:00
}
2014-07-24 07:28:16 +02:00
.state-one.state-two.state-three.state-four .white-block {
background-color:rgba(255,255,255,1);
}
2014-07-24 05:35:57 +02:00
.white-block {
position:absolute;
width:68px;
height:68px;
2014-07-24 07:28:16 +02:00
-webkit-box-sizing:border-box;
-moz-box-sizing:border-box;
box-sizing:border-box;
/* background-color:rgba(255,0,0,0.3); */
2014-07-24 05:35:57 +02:00
background-color:#fff;
2014-07-24 07:28:16 +02:00
background-color:rgba(255,255,255,0);
border:1px solid #fff;
2014-07-24 05:35:57 +02:00
2014-07-24 07:28:16 +02:00
-webkit-transition:
opacity 300ms ease-out,
2014-07-24 07:28:16 +02:00
-webkit-transform 300ms ease-out,
background-color 300ms ease-out;
-moz-transition:
opacity 300ms ease-out,
-moz-transform 300ms ease-out,
background-color 300ms ease-out;
-ms-transition:
opacity 300ms ease-out,
-ms-transform 300ms ease-out,
background-color 300ms ease-out;
-o-transition:
opacity 300ms ease-out,
-o-transform 300ms ease-out,
background-color 300ms ease-out;
transition:
opacity 300ms ease-out,
transform 300ms ease-out,
background-color 300ms ease-out;
2014-07-24 05:35:57 +02:00
}
.block-1,
.block-2,
.block-3,
.block-4 {
2014-07-24 05:35:57 +02:00
top:0;
left:72px;
-webkit-transform-origin:50% 50%;
-moz-transform-origin:50% 50%;
-ms-transform-origin:50% 50%;
-o-transform-origin:50% 50%;
transform-origin:50% 50%;
2014-07-24 05:35:57 +02:00
-webkit-transform:translate3d(0,0,0);
-moz-transform:translate3d(0,0,0);
-ms-transform:translate3d(0,0,0);
-o-transform:translate3d(0,0,0);
transform:translate3d(0,0,0);
2014-07-24 05:35:57 +02:00
}
.block-1 {
2014-07-24 05:35:57 +02:00
opacity:0;
-webkit-transform:translate3d(0,0,0) scale(0,0);
-moz-transform:translate3d(0,0,0) scale(0,0);
-ms-transform:translate3d(0,0,0) scale(0,0);
-o-transform:translate3d(0,0,0) scale(0,0);
transform:translate3d(0,0,0) scale(0,0);
2014-07-24 05:35:57 +02:00
}
.block-2 {
2014-07-24 05:35:57 +02:00
opacity:0;
top:0;
left:0;
-webkit-transform:translate3d(0,0,0) scale(0,0);
-moz-transform:translate3d(0,0,0) scale(0,0);
-ms-transform:translate3d(0,0,0) scale(0,0);
-o-transform:translate3d(0,0,0) scale(0,0);
transform:translate3d(0,0,0) scale(0,0);
2014-07-24 05:35:57 +02:00
}
.block-3 {
2014-07-24 05:35:57 +02:00
opacity:0;
top:72px;
-webkit-transform:translate3d(0,0,0) scale(0,0);
-moz-transform:translate3d(0,0,0) scale(0,0);
-ms-transform:translate3d(0,0,0) scale(0,0);
-o-transform:translate3d(0,0,0) scale(0,0);
transform:translate3d(0,0,0) scale(0,0);
2014-07-24 05:35:57 +02:00
}
.block-4 {
2014-07-24 05:35:57 +02:00
-webkit-transform-origin:0 0;
-moz-transform-origin:0 0;
-ms-transform-origin:0 0;
-o-transform-origin:0 0;
transform-origin:0 0;
2014-07-24 07:28:16 +02:00
-webkit-transform:translate3d(72px,-2px,0) rotateY(90deg) skewY(-22deg) scaleX(1.25);
-moz-transform:translate3d(72px,-2px,0) rotateY(90deg) skewY(-22deg) scaleX(1.25);
-ms-transform:translate3d(72px,-2px,0) rotateY(90deg) skewY(-22deg) scaleX(1.25);
-o-transform:translate3d(72px,-2px,0) rotateY(90deg) skewY(-22deg) scaleX(1.25);
transform:translate3d(72px,-2px,0) rotateY(90deg) skewY(-22deg) scaleX(1.25);
2014-07-24 05:35:57 +02:00
}
.state-one.state-two .block-1 {
2014-07-24 05:35:57 +02:00
opacity:1;
-webkit-transform:translate3d(0,0,0) scale(1,1);
-moz-transform:translate3d(0,0,0) scale(1,1);
-ms-transform:translate3d(0,0,0) scale(1,1);
-o-transform:translate3d(0,0,0) scale(1,1);
transform:translate3d(0,0,0) scale(1,1);
2014-07-24 05:35:57 +02:00
}
.state-one .block-2 {
2014-07-24 05:35:57 +02:00
opacity:1;
-webkit-transform:translate3d(0,0,0) scale(1,1);
-moz-transform:translate3d(0,0,0) scale(1,1);
-ms-transform:translate3d(0,0,0) scale(1,1);
-o-transform:translate3d(0,0,0) scale(1,1);
transform:translate3d(0,0,0) scale(1,1);
2014-07-24 05:35:57 +02:00
}
.state-one.state-two.state-three .block-3 {
opacity:1;
2014-07-24 05:35:57 +02:00
-webkit-transform:translate3d(0,0,0) scale(1,1);
-moz-transform:translate3d(0,0,0) scale(1,1);
-ms-transform:translate3d(0,0,0) scale(1,1);
-o-transform:translate3d(0,0,0) scale(1,1);
transform:translate3d(0,0,0) scale(1,1);
2014-07-16 23:51:48 +02:00
}