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.
68 lines
1.2 KiB
68 lines
1.2 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: url('../res/palette.svg');
|
|
// background-size: 167px 100px;
|
|
background: red;
|
|
position: absolute;
|
|
}
|
|
|
|
.hazard-dot {
|
|
background: yellow;
|
|
height: 2px;
|
|
margin: 1px 0 0 1px;
|
|
position: absolute;
|
|
width: 2px;
|
|
}
|
|
|
|
// .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;
|
|
// }
|
|
// }
|
|
|