aiexperiments-ai-duet/static/style/splash.css

414 lines
7.2 KiB
CSS
Raw Normal View History

2016-11-11 18:52:19 +00:00
@import 'common.scss';
2017-02-13 22:30:17 +00:00
$topMargin: 35px;
2016-11-11 18:52:19 +00:00
#splash {
position: absolute;
height: 100%;
width: 100%;
top: 0px;
left: 0px;
z-index: 100;
2017-01-13 21:47:58 +00:00
font-family: $font-family;
2016-11-11 18:52:19 +00:00
font-weight: bold;
color: white;
transition: opacity 0.2s;
&.disappear {
opacity: 0;
pointer-events: none;
}
#learnMore {
margin-top: $topMargin;
font-size: 18px;
display: block;
// @mixin yellowLink;
}
#titleContainer {
position: absolute;
top: 50%;
left: 50%;
width: 80%;
transform: translate(-50%, -50%);
text-align: center;
min-width: 300px;
#title {
line-height: 60px;
2017-02-13 22:30:17 +00:00
font-size: 55px;
2016-11-11 18:52:19 +00:00
letter-spacing: 1px;
2017-02-13 22:30:17 +00:00
font-weight: 300;
2016-11-11 18:52:19 +00:00
}
2018-09-28 17:35:52 +00:00
#germanSubTitle, #germanHowItWorks {
2016-11-11 18:52:19 +00:00
margin-top: $topMargin;
letter-spacing: 0.8px;
line-height: 30px;
2017-02-13 22:30:17 +00:00
font-size: 15px;
width: 100%;
2016-11-11 18:52:19 +00:00
margin-left: auto;
margin-right: auto;
text-align: center;
2017-02-13 22:30:17 +00:00
font-weight: 300;
2016-11-11 18:52:19 +00:00
}
2018-09-28 17:35:52 +00:00
#subTitle {
2018-08-06 21:43:00 +00:00
margin-top: 0px;
letter-spacing: 0.8px;
line-height: 30px;
font-size: 15px;
width: 100%;
margin-left: auto;
margin-right: auto;
text-align: center;
font-weight: 300;
2018-09-28 17:35:52 +00:00
font-style: italic;
2018-08-06 21:43:00 +00:00
}
2016-11-11 18:52:19 +00:00
2018-09-28 17:35:52 +00:00
#germanHowItWorks {
2017-02-13 22:30:17 +00:00
$size : 20px;
$margin: 30px;
2017-01-13 21:47:58 +00:00
2017-02-13 22:30:17 +00:00
color: $orange;
2018-09-28 17:35:52 +00:00
width: 100&;
2017-02-13 22:30:17 +00:00
display: inline-block;
2018-09-28 17:35:52 +00:00
text-align: center;
/*margin-left: $margin;*/
2018-08-06 21:43:00 +00:00
}
2017-02-13 22:30:17 +00:00
2018-09-28 17:35:52 +00:00
#howItWorks {
2018-08-06 21:43:00 +00:00
$size : 20px;
$margin: 0px;
2017-02-13 22:30:17 +00:00
2018-08-06 21:43:00 +00:00
color: $orange;
2018-09-28 17:35:52 +00:00
width: 100%;
2018-08-06 21:43:00 +00:00
display: inline-block;
2018-09-28 17:35:52 +00:00
/*margin-left: $margin;*/
2018-08-06 21:43:00 +00:00
letter-spacing: 0.8px;
line-height: 30px;
font-size: 15px;
2018-09-28 17:35:52 +00:00
/*margin-right: auto;*/
text-align: center;
2018-08-06 21:43:00 +00:00
font-weight: 300;
2018-09-28 17:35:52 +00:00
font-style: italic;
2017-01-13 21:47:58 +00:00
}
#aboutPageLink {
$size : 20px;
$margin: 30px;
margin-top: $topMargin;
color: $orange;
width: auto;
display: inline-block;
margin-left: $margin;
/*&:before {*/
/*position: absolute;*/
/*width: $size;*/
/*height: $size;*/
/*margin-left: -$margin;*/
/*margin-top: $size / 4;*/
/*content : '';*/
/*background-image: url(../images/yellow_play_triangle.svg);*/
/*}*/
cursor: pointer;
transition: transform 0.1s;
&:hover {
transform: scale(1.1);
}
}
2018-08-08 17:16:29 +00:00
$loaderWidth: 398px;
$loaderHeight: 118px;
2016-11-11 18:52:19 +00:00
#loader {
position: relative;
margin-top: $topMargin;
background-color: black;
border: 2px solid $orange;
width: $loaderWidth;
height: $loaderHeight;
margin-left: auto;
margin-right: auto;
text-transform: uppercase;
#loaderText {
position: absolute;
width: 100%;
height: 100%;
color: black;
background-color: $orange;
}
#fill {
position: absolute;
height: 100%;
2018-08-06 21:43:00 +00:00
width: 100%;
2016-11-11 18:52:19 +00:00
overflow: hidden;
background-color: black;
#fillText {
width: $loaderWidth;
height: 100%;
color: $orange;
$imgWidth: 40px;
$margin : 52px;
* {
position: absolute;
top: 0px;
}
#play {
2018-08-06 21:43:00 +00:00
margin-left: 150px;
2016-11-11 18:52:19 +00:00
right: $margin;
2018-08-06 21:43:00 +00:00
position: relative;
/*display: inline-block;*/
}
#germanPlay {
margin-left: 120px;
right: $margin;
position: absolute;
padding-top: 30px;
/*display: inline-block;*/
2016-11-11 18:52:19 +00:00
}
#piano {
2018-08-08 17:16:29 +00:00
width: 100%;
2016-11-11 18:52:19 +00:00
height: 100%;
2018-08-08 17:16:29 +00:00
background-image : url(../images/keyboard_icon_CMedit.svg);
2016-11-11 18:52:19 +00:00
background-position: center center;
background-repeat: no-repeat;
}
2018-08-08 17:16:29 +00:00
2016-11-11 18:52:19 +00:00
}
}
#loaderText, #fillText {
line-height: $loaderHeight;
font-size: 22px;
text-align: center;
font-weight: normal;
}
2018-08-08 17:16:29 +00:00
&.loaded {
margin-top: $topMargin;
border: none;
width: 400px;
height: 120px;
background-color: transparent;
#loaderText {
background-color: transparent;
}
#fillText {
background-color: transparent;
}
#fill {
background-color: transparent;
}
}
2016-11-11 18:52:19 +00:00
}
}
#buildWith {
margin-top: $topMargin;
}
2017-02-14 19:43:52 +00:00
$badgeWidth : 120px;
2017-01-13 21:47:58 +00:00
$badgeHeight: 60px;
2016-11-11 18:52:19 +00:00
$badgeMargin : 20px;
$badegOpacity: 0.7;
2017-02-14 19:43:52 +00:00
$smallScreen : 575px;
2017-02-13 22:30:17 +00:00
$smallBadgeWidth : 90px;
2017-01-13 21:47:58 +00:00
$smallBadgeHeight: 40px;
2017-02-13 22:30:17 +00:00
$smallBadgeMargin: 8px;
2017-01-13 21:47:58 +00:00
#badges {
2016-11-11 18:52:19 +00:00
position: absolute;
2017-01-13 21:47:58 +00:00
display: inline-block;
2016-11-11 18:52:19 +00:00
bottom: $badgeMargin;
left: $badgeMargin;
2017-01-13 21:47:58 +00:00
@media (max-width: $smallScreen) {
// bottom: $badgeMargin * 0.5;
2017-02-13 22:30:17 +00:00
bottom: 40px;
$badgesWidth : $smallBadgeWidth * 3 + $smallBadgeMargin * 3 + 2px;
width: $badgesWidth;
left: 50%;
margin-left: -$badgesWidth/2;
// left: $smallBadgeMargin * 2;
// left: 50%;
// transform: translate(-50%, 0);
2017-01-13 21:47:58 +00:00
}
.badge {
display: inline-block;
position: relative;
margin-right: $badgeMargin;
width: $badgeWidth;
height: $badgeHeight;
background-repeat: no-repeat;
background-size: 100% 100%;
opacity: $badegOpacity;
2017-02-13 22:30:17 +00:00
overflow: hidden;
2017-01-13 21:47:58 +00:00
@media (max-width: $smallScreen) {
width: $smallBadgeWidth;
2017-02-13 22:30:17 +00:00
height: $smallBadgeHeight;
font-size: 10px!important;
margin-right: $smallBadgeMargin;
opacity: 1;
2017-01-13 21:47:58 +00:00
}
}
2016-11-11 18:52:19 +00:00
2017-01-13 21:47:58 +00:00
#aiExperiments {
background-image: url(../images/badgeAI_master.svg);
/*&:hover {*/
/*opacity: 1;*/
/*&:active {*/
/*opacity: 0.3;*/
/*}*/
/*}*/
2016-11-11 18:52:19 +00:00
}
2017-01-13 21:47:58 +00:00
#googleFriends {
cursor: initial;
background-image: url(../images/badgeFriends_master.svg);
2017-02-13 22:30:17 +00:00
margin-right: 0px;
}
#magentaLink {
font-weight: bold;
2017-02-14 19:43:52 +00:00
font-size: 12px;
2017-02-13 22:30:17 +00:00
margin-left: 0px;
margin-right: 0px;
2017-02-14 19:43:52 +00:00
color: white;
2017-02-13 22:30:17 +00:00
/*&:hover {*/
/*opacity: 1;*/
/*}*/
2017-02-13 22:30:17 +00:00
@media (max-width: $smallScreen) {
2017-02-14 19:43:52 +00:00
font-size: 7px;
2017-02-13 22:30:17 +00:00
}
div {
display: inline-block;
position: relative;
}
$imgSize : $badgeHeight;
$smallImg : $smallBadgeHeight;
#img {
background-image: url(../images/magenta_bw_logo.png);
background-size: 90% 90%;
background-position: left center;
background-repeat: no-repeat;
width: $imgSize;
height: $imgSize;
float: left;
@media (max-width: $smallScreen) {
width: $smallImg;
height: $smallImg;
}
}
#text {
2017-02-14 19:43:52 +00:00
margin-top: 14px;
2017-02-13 22:30:17 +00:00
float: right;
height: 100%;
width: $badgeWidth - $imgSize;
@media (max-width: $smallScreen) {
margin-top: 7px;
width: $smallBadgeWidth - $smallImg;
}
2017-02-14 19:43:52 +00:00
span {
2017-02-13 22:30:17 +00:00
color: $orange;
text-decoration: underline;
/*cursor: pointer;*/
/*&:hover:active {*/
/*color: white;*/
/*}*/
2017-02-13 22:30:17 +00:00
}
}
2017-01-13 21:47:58 +00:00
}
2016-11-11 18:52:19 +00:00
2017-02-13 22:30:17 +00:00
.badgeBreak{
2017-01-13 21:47:58 +00:00
display: inline-block;
position: relative;
margin-right: $badgeMargin;
$breakScale : 0.95;
$breakHeight: $badgeHeight * $breakScale;
height: $breakHeight;
background-color: white;
opacity: $badegOpacity / 2;
width: 1px;
@media (max-width: $smallScreen) {
$smallBreakHeight: $smallBadgeHeight * $breakScale;
height: $smallBreakHeight;
2017-02-13 22:30:17 +00:00
margin-right: $smallBadgeMargin;
2017-01-13 21:47:58 +00:00
}
}
2016-11-11 18:52:19 +00:00
}
2017-01-13 21:47:58 +00:00
2016-11-11 18:52:19 +00:00
#privacyAndTerms {
position: absolute;
bottom: $badgeMargin;
right: $badgeMargin;
width: auto;
font-weight: normal;
2017-02-13 22:30:17 +00:00
@media (max-width: $smallScreen) {
bottom: $smallBadgeMargin;
left: 50%;
right: initial;
transform: translate(-50%, 0);
* {
font-size: 8px!important;
}
}
2016-11-11 18:52:19 +00:00
* {
height: 14px;
line-height: 14px;
2017-01-13 21:47:58 +00:00
font-size: 10px;
2016-11-11 18:52:19 +00:00
color: white;
display: inline;
opacity: $badegOpacity;
margin: 2px;
}
a {
text-decoration: none;
/*cursor: pointer;*/
2016-11-11 18:52:19 +00:00
/*&:hover {*/
/*opacity: 1;*/
2016-11-11 18:52:19 +00:00
/*&:active {*/
/*opacity: 0.3;*/
/*}*/
/*}*/
2016-11-11 18:52:19 +00:00
}
}
}