$light-blue: #AEDDF8; $dark-blue: #5B9FDD; $light-background: #ececec; $slide-background: #d5dce2; $slide-hover: #98b7da; $slide-active: #5B9FDD; .presItem-container { cursor: grab; display: grid; grid-template-columns: 20px auto; font-family: Roboto; letter-spacing: normal; position: relative; pointer-events: all; width: 100%; height: 100%; font-weight: 400; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; align-items: center; .presItem-number { margin-top: 7px; font-size: 12px; font-weight: 700; text-align: center; justify-self: center; align-self: flex-start; position: relative; display: inline-block; overflow: hidden; } } .presItem-slide { position: relative; background-color: #d5dce2; border-radius: 5px; height: calc(100% - 7px); width: calc(100% - 5px); display: grid; grid-template-rows: 23px auto; grid-template-columns: max-content max-content max-content max-content auto; .presItem-name { z-index: 300; align-self: center; font-size: 13px; font-family: Roboto; font-weight: 500; position: relative; top: 1px; padding-left: 10px; padding-right: 10px; letter-spacing: normal; width: max-content; text-overflow: ellipsis; overflow: hidden; white-space: pre; } .presItem-time { align-self: center; position: relative; top: 2px; padding-right: 10px; font-size: 10; font-weight: 300; font-family: Roboto; z-index: 300; letter-spacing: normal; } .presItem-embedded { overflow: hidden; grid-column: 1/8; position: relative; display: flex; width: auto; justify-content: center; margin: auto; margin-bottom: 2px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; } .presItem-embeddedMask { width: 100%; height: 100%; position: absolute; border-radius: 3px; top: 0; left: 0; z-index: 1; overflow: hidden; } .presItem-slideButtons { display: flex; grid-column: 7; width: 60px; justify-self: right; justify-content: flex-end; .slideButton { cursor: pointer; position: relative; border-radius: 100%; z-index: 300; width: 15px; height: 15px; display: flex; font-size: 10px; justify-self: center; align-self: center; background-color: rgba(0, 0, 0, 0.5); color: white; justify-content: center; align-items: center; transition: 0.2s; margin-right: 3px; } .slideButton:hover { background-color: rgba(0, 0, 0, 1); transform: scale(1.15); } } } .presItem-slide.active { box-shadow: 0 0 0px 1.5px $dark-blue; } // .presItem-slide:hover { // background: $slide-hover; // }