@import '../colors'; .temp-image { position: fixed; z-index: 1; left: 0; top: 0; width: 100vw; height: 100vh; transform: scale(0); transition: transform 0.1s; &.active { transform: scale(1); } img { width: 100%; height: 100%; object-fit: contain; } } .back-button { position: fixed; top: 10px; right: 10px; width: 40px; height: 40px; background: rgba($pink, 0.5); border: 0px; border-radius: 50%; display: flex; align-items: center; justify-content: center; z-index: 3; ion-icon { color: white; font-size: 20px; } } .container { position: relative; z-index: 0; } .glass-image { position: absolute; top: 0px; left: 0px; z-index: 1; transform-origin: 15% 50%; } #playback-video, #result-canvas, #three-container { display: block; } #result-canvas, #source-canvas, #source-image, #three-container { position: absolute; top: 0; left: 0; } #result-canvas { z-index: -1; } .left-eye, .right-eye { position: absolute; width: 4px; height: 4px; border-radius: 50%; } .left-eye { background-color: blue; } .right-eye { background-color: red; } .action-buttons { position: fixed; left: 0; bottom: 20px; display: flex; align-items: center; width: 100%; z-index: 1; button { width: 50px; height: 50px; background-color: white; color: $pink; border-radius: 50%; ion-icon { font-size: 25px; } &.camera-button { margin-left: calc(50% - 25px); transform: scale(1.5); } &.skin-button { transform: scale(1.2); margin-left: 40px; background-color: transparent; border: 2px solid $pink; &.active { background-color: $pink; color: white; } } } } .image-action-buttons { position: fixed; left: 0; bottom: 20px; width: 200px; margin-left: calc(50% - 100px); display: flex; align-items: center; justify-content: space-between; padding: 10px; background-color: rgba(black, 0.6); border-radius: 30px; z-index: 1; button { width: 50px; height: 50px; border-radius: 50%; border: 1px solid rgba($blue-grey, 0.6); background-color: transparent; display: flex; align-items: center; justify-content: center; &:nth-child(2) { transform: rotate(180deg); } img { width: 20px; } ion-icon { color: white; font-size: 20px; } } }