2014-08-03 13:33:13 -06:00
|
|
|
// main: style.less
|
2016-04-01 14:22:12 -06:00
|
|
|
@import (reference) "variables.less";
|
|
|
|
@import (reference) "mixins.less";
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-08-03 13:33:13 -06:00
|
|
|
.modal {
|
2014-12-27 23:38:06 -07:00
|
|
|
position: fixed;
|
|
|
|
height: 100%;
|
|
|
|
width: 100%;
|
|
|
|
background-color: fade(@black, 70%);
|
|
|
|
z-index: 10;
|
|
|
|
opacity: 0;
|
|
|
|
display: none;
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
.innerModal {
|
|
|
|
margin: auto;
|
|
|
|
background-color: @white;
|
|
|
|
overflow: hidden;
|
|
|
|
-webkit-transform: translateY(-100%);
|
|
|
|
-moz-transform: translateY(-100%);
|
|
|
|
-ms-transform: translateY(-100%);
|
|
|
|
-o-transform: translateY(-100%);
|
|
|
|
transform: translateY(-100%);
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
.fa {
|
|
|
|
float: right;
|
|
|
|
color: @white;
|
|
|
|
background-color: firebrick;
|
|
|
|
padding: 5px 7px;
|
|
|
|
border-radius: 20px;
|
2016-07-30 14:45:17 -06:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
&:hover {
|
|
|
|
background-color: lighten(@black, 50%);
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2016-07-30 14:45:17 -06:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
&:active {
|
|
|
|
background-color: lighten(@black, 25%);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
&.modal-2text {
|
2014-08-03 13:33:13 -06:00
|
|
|
.innerModal {
|
2014-12-27 23:38:06 -07:00
|
|
|
width: @container-width;
|
|
|
|
margin-top: 50px;
|
|
|
|
height: 75%;
|
|
|
|
padding: 10px 25px;
|
|
|
|
background-color: gainsboro;
|
|
|
|
border-radius: 4px;
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
h2 {
|
|
|
|
margin: 0 0 7px;
|
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
div {
|
|
|
|
height: 70%;
|
|
|
|
overflow-y: scroll;
|
|
|
|
background-color: @white;
|
|
|
|
padding: 15px;
|
|
|
|
border-radius: 4px;
|
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
.large-cta {
|
|
|
|
margin-top: 25px;
|
|
|
|
}
|
2014-08-03 13:33:13 -06:00
|
|
|
}
|
2014-12-27 23:38:06 -07:00
|
|
|
}
|
2014-08-03 13:33:13 -06:00
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-08-03 13:33:13 -06:00
|
|
|
#modal-video {
|
2014-12-27 23:38:06 -07:00
|
|
|
.innerModal {
|
|
|
|
left: 10%;
|
|
|
|
margin-top: 30px;
|
|
|
|
width: 1000px;
|
|
|
|
background-color: lighten(@black, 25%);
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
iframe {
|
|
|
|
width: 600px;
|
|
|
|
height: 340px;
|
|
|
|
margin: 2% auto;
|
|
|
|
}
|
|
|
|
//container
|
|
|
|
> div {
|
|
|
|
text-align: center;
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
a {
|
|
|
|
.styleLinks(@white, darken(@white, 10%));
|
|
|
|
padding: 5px;
|
|
|
|
text-transform: uppercase;
|
2016-07-30 14:45:17 -06:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
&:hover {
|
|
|
|
background-color: fade(@white, 15%);
|
2014-08-03 13:33:13 -06:00
|
|
|
}
|
2016-07-30 14:45:17 -06:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
&:active {
|
|
|
|
background-color: fade(@white, 30%);
|
2014-08-03 13:33:13 -06:00
|
|
|
}
|
2014-12-27 23:38:06 -07:00
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
h3 {
|
|
|
|
color: @white;
|
|
|
|
font-size: 3em;
|
|
|
|
margin: 20px auto;
|
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
button {
|
|
|
|
margin-bottom: 50px;
|
|
|
|
}
|
2014-08-03 13:33:13 -06:00
|
|
|
}
|
2014-12-27 23:38:06 -07:00
|
|
|
}
|
2014-08-03 13:33:13 -06:00
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
.slideIn {
|
|
|
|
.animation(SlideIn, 0.5s);
|
|
|
|
}
|
2017-06-30 15:51:06 -06:00
|
|
|
|
2014-08-03 13:33:13 -06:00
|
|
|
@-webkit-keyframes SlideIn {
|
2014-12-27 23:38:06 -07:00
|
|
|
0% {
|
|
|
|
.transform(translateY(-100%));
|
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
100% {
|
|
|
|
.transform(translateY(0px));
|
|
|
|
}
|
2014-08-03 13:33:13 -06:00
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
.fadeIn {
|
|
|
|
display: block;
|
|
|
|
.animation(FadeIn, 0.5s);
|
|
|
|
}
|
2017-06-30 15:01:53 -06:00
|
|
|
|
2014-08-03 13:33:13 -06:00
|
|
|
@-webkit-keyframes FadeIn {
|
2014-12-27 23:38:06 -07:00
|
|
|
0% {
|
|
|
|
opacity: 0;
|
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
100% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2014-08-03 13:33:13 -06:00
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
.slideOut {
|
|
|
|
.animation(SlideOut, 0.5s);
|
|
|
|
}
|
2017-06-30 15:01:53 -06:00
|
|
|
|
2014-08-03 13:33:13 -06:00
|
|
|
@-webkit-keyframes SlideOut {
|
2014-12-27 23:38:06 -07:00
|
|
|
0% {
|
|
|
|
.transform(translateY(0%));
|
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
100% {
|
|
|
|
.transform(translateY(-100%));
|
|
|
|
}
|
2014-08-03 13:33:13 -06:00
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
.fadeOut {
|
|
|
|
.animation(FadeOut, 0.5s);
|
|
|
|
}
|
2017-06-30 15:01:53 -06:00
|
|
|
|
2014-08-03 13:33:13 -06:00
|
|
|
@-webkit-keyframes FadeOut {
|
2014-12-27 23:38:06 -07:00
|
|
|
0% {
|
|
|
|
opacity: 1;
|
|
|
|
}
|
2015-12-10 18:41:35 -07:00
|
|
|
|
2014-12-27 23:38:06 -07:00
|
|
|
100% {
|
|
|
|
opacity: 0;
|
|
|
|
display: none;
|
|
|
|
}
|
2015-06-25 06:06:05 -06:00
|
|
|
}
|