.collectionCarouselView-outer { height: 100%; position: relative; overflow: hidden; .collectionCarouselView-caption { height: 50; display: inline-block; width: 100%; } .collectionCarouselView-image { height: calc(100% - 50px); display: inline-block; width: 100%; user-select: none; } .message { justify-content: center; align-items: center; display: flex; height: 60%; z-index: -1; // margin: 15px; } } .collectionCarouselView-addFlashcards { justify-content: center; align-items: center; height: 100%; z-index: -1; pointer-events: none; } .collectionCarouselView-recentlyMissed { color: red; z-index: 999; position: relative; left: 10px; top: 10px; pointer-events: none; } .carouselView-back, .carouselView-fwd, .carouselView-remove, .carouselView-check, .carouselView-add { position: absolute; display: flex; width: 30; height: 30; align-items: center; border-radius: 5px; justify-content: center; color: rgba(255, 255, 255, 0.5); background: rgba(0, 0, 0, 0.1); &:hover { color: white; } } .carouselView-fwd { top: calc(50% - 15px); right: 0; transform-origin: right top; } .carouselView-back { top: calc(50% - 15px); left: 0; transform-origin: top left; } .carouselView-add { position: absolute; bottom: 0; left: 0; } .carouselView-remove { left: 52%; } .carouselView-check { right: 52%; } .carouselView-menu { position: absolute; flex-direction: column; align-items: center; display: flex; top: 0px; left: 0px; width: 30; transform-origin: top left; border-radius: 5px; color: rgba(255, 255, 255, 0.5); background: rgba(0, 0, 0, 0.1); .carouselView-practiceModes { width: 100%; display: flex; flex-direction: column; top: 0; position: relative; .carouselView-quiz { position: relative; display: flex; height: 20px; align-items: center; margin: auto; &:hover { color: white; } & > svg { height: 100%; width: 100%; } } .carouselView-practice { position: relative; display: flex; flex-direction: column; height: 20px; align-items: center; margin: auto; &:hover { color: white; } & > svg { height: 100%; width: 100%; } } } } .carouselView-back:hover, .carouselView-fwd:hover { background: lightgray; }