40 lines
752 B
CSS
40 lines
752 B
CSS
@import 'common.scss';
|
|
|
|
#glow {
|
|
|
|
#ai, #user {
|
|
width: 100%;
|
|
height: 100%;
|
|
position: absolute;
|
|
top: 0px;
|
|
left: 0px;
|
|
transition: opacity 1.2s;
|
|
|
|
&.visible {
|
|
opacity: 0.3;
|
|
}
|
|
}
|
|
|
|
/*$glowReach : 60%;*/
|
|
$glowReach : 80%;
|
|
|
|
/*#ai {
|
|
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);
|
|
}*/
|
|
|
|
.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);
|
|
}
|
|
} |