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.
79 lines
1.4 KiB
79 lines
1.4 KiB
.outerContainer {
|
|
height: 500px;
|
|
margin: 10px 0;
|
|
overflow: hidden;
|
|
position: relative;
|
|
width: 100%;
|
|
}
|
|
|
|
.controlsContainer {
|
|
background: #e7e7e7;
|
|
border-bottom: 5px solid #aaa;
|
|
display: flex;
|
|
height: 50px;
|
|
left: 0;
|
|
position: absolute;
|
|
right: 0;
|
|
top: 0;
|
|
z-index: 1;
|
|
}
|
|
|
|
.animationContainer {
|
|
background: rgba(102, 51, 153, 0.05);
|
|
// background: #f0f0f0;
|
|
height: 450px;
|
|
margin-top: 50px;
|
|
position: relative;
|
|
width: 100%;
|
|
z-index: 0;
|
|
}
|
|
|
|
.hazard {
|
|
// background: #f9f8f0;
|
|
position: absolute;
|
|
|
|
&::after {
|
|
content: '\26A0';
|
|
font-size: 40px;
|
|
height: 40px;
|
|
line-height: 40px;
|
|
margin-left: -20px;
|
|
margin-top: -20px;
|
|
left: 50%;
|
|
opacity: 0.3;
|
|
position: absolute;
|
|
top: 50%;
|
|
width: 40px;
|
|
}
|
|
}
|
|
|
|
.hazard-dot {
|
|
background: red;
|
|
height: 1px;
|
|
position: absolute;
|
|
width: 1px;
|
|
}
|
|
|
|
// .highlight {
|
|
// $h: 30px;
|
|
// animation: pulse 0.5s 1;
|
|
// border-radius: $h / 2;
|
|
// position: absolute;
|
|
// }
|
|
//
|
|
// @keyframes pulse {
|
|
// $h: 30px;
|
|
//
|
|
// from {
|
|
// border: 4px solid lightgreen;
|
|
// height: $h;
|
|
// margin: (-1 * $h / 2) 0 0 (-1 * $h / 2);
|
|
// width: $h;
|
|
// }
|
|
//
|
|
// to {
|
|
// height: 0px;
|
|
// margin: 0;
|
|
// width: 0px;
|
|
// }
|
|
// }
|
|
|