@use "../abstracts/variables.scss" as *; @use "../abstracts/mixins.scss" as *; // Main Container .realTime-viz { background-color: var(--background-color); border-radius: 20px; box-shadow: $box-shadow-medium; width: 100%; height: 100%; position: absolute; top: 0; left: 0; transform: scale(1); // Panels .panel { position: absolute; background: white; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); transition: all 0.3s ease; border-radius: 6px; overflow: hidden; .panel-content { position: relative; height: 100%; padding: 10px; overflow: auto; display: flex; flex-direction: column; gap: 10px; background-color: var(--background-color); &::-webkit-scrollbar { display: none; } .chart-container { width: 229px; height: 200px; max-height: 100%; border: 1px dotted #a9a9a9; border-radius: 8px; box-shadow: 0px 2px 6px 0px rgba(60, 60, 67, 0.1); padding: 6px 0; background-color: white; } .close-btn { position: absolute; top: 5px; right: 5px; background: none; border: none; cursor: pointer; color: var(--primary-color); } } } // Panels for each side .left-panel, .right-panel { .chart-container { padding: 10px; width: 100% !important; height: 250px !important; } } .top-panel, .bottom-panel { .chart-container { padding: 10px; width: 300px !important; height: 100% !important; } } // Zone Wrapper .zoon-wrapper { display: flex; background-color: var(--background-color); position: absolute; bottom: 10px; left: 50%; transform: translate(-50%, 0); gap: 6px; padding: 4px; border-radius: 8px; max-width: 80%; overflow: auto; max-width: calc(100% - 450px); z-index: 11000000000; &::-webkit-scrollbar { display: none; } .zone { width: auto; background-color: var(--background-color); border-radius: 6px; padding: 4px 8px; white-space: nowrap; font-size: $small; } .active { background-color: var(--accent-color); color: var(--background-color); } } .zoon-wrapper.bottom { bottom: 310px; } .content-container { display: flex; height: 100vh; transition: all 0.3s ease; } .main-container { position: relative; flex: 1; height: 600px; background-color: rgb(235, 235, 235); margin: 0 30px; transition: height 0.3s ease, margin 0.3s ease; } } .playActiveFalse { position: absolute; top: 50%; left: calc(270px + 45px); transform-origin: left; transform: translate(0, -50%) scaleX(0.6) scaleY(0.65); width: calc((100vw * 1.65) - (320px + 270px + 70px) / 0.6); z-index: 100; .scene-container{ width: 100%; height: 100%; canvas{ width: calc((100vw * 1.65) - (320px + 270px + 70px) / 0.6) !important; height: 100% !important; } } &.top { transform: scale(1.5); } &.right { transform: scale(1.5); } &.bottom { transform: scale(1.5); } &.left { transform: scale(1.5); } .zoon-wrapper { transform:translate(-50%, 0) scale(1.5); } } // Side Buttons .side-button-container { position: absolute; display: flex; background-color: var(--background-color); padding: 5px; border-radius: 8px; transition: transform 0.3s ease; .extra-Bs { display: flex; align-items: center; gap: 12px; .icon { display: flex; align-items: center; justify-content: center; width: 18px; height: 18px; border-radius: 4px; } .active { background-color: var(--accent-color); } &:hover { cursor: pointer; } } .side-button { cursor: pointer; transition: background-color 0.3s ease; width: 18px; height: 18px; display: flex; justify-content: center; background-color: var(--accent-color); border: none; color: var(--background-color); border-radius: 4px; } &.top { top: -35px; left: 50%; transform: translateX(-50%); flex-direction: row; gap: 6px; transform: scale(1.5); } &.right { right: -35px; top: 50%; transform: translateY(-50%); flex-direction: column; gap: 6px; transform: scale(1.5); } &.bottom { bottom: -35px; left: 50%; transform: translateX(-50%); flex-direction: row; gap: 6px; transform: scale(1.5); } &.left { left: -35px; top: 50%; transform: translateY(-50%); flex-direction: column; gap: 6px; transform: scale(1.5); } } .right.side-button-container, .left.side-button-container { .extra-Bs { flex-direction: column; } } .top-panel, .bottom-panel { .panel-content { display: flex; flex-direction: row !important; } }