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.
76 lines
1.6 KiB
76 lines
1.6 KiB
.anim3-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;
|
|
|
|
&::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;
|
|
}
|
|
}
|
|
|
|
.anim3-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: yellow;
|
|
}
|
|
}
|
|
|