commerce/components/product/ProductSlider/ProductSlider.module.css
2021-06-01 16:45:12 -03:00

59 lines
958 B
CSS

.root {
@apply relative w-full h-full;
overflow-y: hidden;
}
.control {
@apply bg-violet absolute bottom-10 right-10 flex flex-row
border-accent-0 border text-accent-0 z-30 shadow-xl;
height: 48px;
}
.leftControl,
.rightControl {
@apply px-8 cursor-pointer;
transition: background-color 0.2s ease;
}
.leftControl:hover,
.rightControl:hover {
background-color: var(--violet-dark);
}
.leftControl:focus,
.rightControl:focus {
@apply outline-none;
}
.rightControl {
@apply border-l;
}
.leftControl {
margin-right: -1px;
}
.thumb {
@apply transition-transform transition-colors ease-linear duration-75 overflow-hidden
inline-block cursor-pointer;
width: 275px;
}
.thumb:focus,
.thumb.selected {
@apply bg-white;
}
.thumb:hover {
transform: scale(1.02);
background-color: rgba(255, 255, 255, 0.08);
}
.album {
@apply bg-violet-dark;
overflow-y: hidden;
overflow-x: auto;
white-space: nowrap;
height: 275px;
}