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.
 
 

80 lines
1.7 KiB

.particle {
$side: 20px;
background: url('../res/seahorse.svg') no-repeat center center #aaa;
background-size: $side $side;
border-radius: $side / 2;
color: #fff;
height: $side;
line-height: $side;
margin: #{-$side / 2} 0 0 #{-$side / 2};
position: absolute;
text-align: center;
width: $side;
z-index: 1;
&.has-vision::after {
border: 50px solid;
border-color: lightgreen transparent transparent turquoise;
border-radius: 50px;
content: ' ';
height: 0;
left: -50px;
margin: #{$side / 2} 0 0 #{$side / 2};
opacity: 0.5;
position: absolute;
transform: rotate(45deg);
top: -50px;
width: 0;
}
}
.particle-movement-circle {
border: 2px dotted darkturquoise;
position: absolute;
transition: left 0.2s, top 0.2s, height 0.2s, width 0.2s;
z-index: 0;
&:after {
background: darkturquoise;
border-radius: 2px;
content:' ';
height: 4px;
left: 50%;
margin-left: -2px;
margin-top: -2px;
position: absolute;
top: 50%;
width: 4px;
}
}
//
// .anim3-vision-grid {
// height: 100px;
// // margin-top: 50px;
// // margin-left: 50px;
// position: absolute;
// transform-origin: left top;
// width: 100px;
// z-index: 99;
// }
//
// .anim3-dot {
// $s: 2px;
//
// background: red;
// // border-radius: 2px;
// height: $s;
// position: absolute;
// width: $s;
// z-index: 99;
//
// &.removed {
// // background: purple;
// background: green;
// }
//
// &.touching {
// outline: 2px solid yellow;
// }
// }