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

40 lines
752 B
CSS
Raw Normal View History

2016-11-11 18:52:19 +00:00
@import 'common.scss';
#glow {
#ai, #user {
width: 100%;
height: 100%;
position: absolute;
top: 0px;
left: 0px;
transition: opacity 1.2s;
&.visible {
opacity: 0.3;
}
}
2017-05-05 02:59:33 +00:00
/*$glowReach : 60%;*/
$glowReach : 80%;
2016-11-11 18:52:19 +00:00
2017-05-05 02:59:33 +00:00
/*#ai {
2016-11-11 18:52:19 +00:00
opacity: 0;
background-image: radial-gradient(ellipse farthest-corner at 50% 0px, $orange 0%, black $glowReach);
}
#user {
opacity: 0;
background-image: radial-gradient(ellipse farthest-corner at 50% 0px, $blue 0%, black $glowReach);
2017-05-05 02:59:33 +00:00
}*/
.happy {
opacity: 0;
background-image: radial-gradient(ellipse farthest-corner at 50% 0px, $green 0%, black $glowReach);
}
.sad {
opacity: 0;
background-image: radial-gradient(ellipse farthest-corner at 50% 0px, $red 0%, black $glowReach);
2016-11-11 18:52:19 +00:00
}
}