You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

52 lines
954 B

$particleS: 20px;
$visionS: 100px;
.particle-container {
position: absolute;
z-index: 1;
}
.particle-body {
background-color: #555;
background-size: $particleS $particleS;
border-radius: 0 ($particleS / 2) ($particleS / 2) ($particleS / 2);
height: $particleS;
margin: #{-$particleS / 2} 0 0 #{-$particleS / 2};
position: relative;
width: $particleS;
z-index: 2;
}
.particle-movement-circle {
border: 3px dotted darkturquoise;
position: absolute;
z-index: 0;
}
.particle-vision {
// background: #f0f0f0;
height: $visionS;
left: -$visionS / 2;
position: absolute;
top: -$visionS / 2;
width: $visionS;
z-index: 1;
}
.particle-vision-dot {
$s: 2px;
background: red;
height: $s;
position: absolute;
width: $s;
&.removed {
// background: purple;
background: green;
}
&.touching {
outline: 2px solid yellow;
}
}