vizchange-animation-story
Version:
beta testing story tool for vizchange.net
65 lines (53 loc) • 1.33 kB
CSS
body {
background-color: #b3ced6;
}
.plot {
left: var(--left-margin);
position: fixed;
height: 100vh;
max-height: var(--max-height);
width: 960px;
top: var(--margin-top-height);
object-fit: cover;
z-index: 3500;
}
.viz-lake-break {
position: relative;
width: 960px;
height: 540px;
top: 111px;
left: calc((var(--left-margin-not-zero) + 960px) * 0.2753);
transform-origin: top left;
transform: skew(-60deg,30deg) scale(.273);
transition: width 2s, height 2s, background-color 2s, transform 2s;
}
.viz-lake-thick {
position: relative;
width: 960px;
height: 540px;
top: 222px;
left: calc((var(--left-margin-not-zero) + 960px) * 0.08);
transform-origin: top left;
transform: skew(0, 30deg) scale(.273);
transition: width 2s, height 2s, background-color 2s, transform 2s;
}
.viz-lake-thick:hover {
transform: scale(.9) translate(-20%, -20%);
}
.viz-lake-thick:hover .highcharts-background {
opacity: .9;
}
.highcharts-background {
transition: opacity 1s;
opacity: 0.1;
}
.highcharts-container {
width: fit-content;
height: fit-content;
}
.highcharts-container * {
position:fixed;
}
.highcharts-exporting-group {
visibility: hidden;
}