mirror of
https://github.com/vercel/commerce.git
synced 2025-05-17 23:16:59 +00:00
132 lines
2.0 KiB
CSS
132 lines
2.0 KiB
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-50 shadow-xl;
|
|
height: 48px;
|
|
}
|
|
|
|
.control:hover {
|
|
}
|
|
|
|
.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;
|
|
}
|
|
|
|
/* .leftControl,
|
|
.rightControl {
|
|
@apply absolute top-1/2 -translate-x-1/2 z-20 w-16 h-16
|
|
flex items-center justify-center bg-hover-1;
|
|
}
|
|
|
|
.leftControl:hover,
|
|
.rightControl:hover {
|
|
@apply bg-hover-2;
|
|
}
|
|
|
|
.leftControl:focus,
|
|
.rightControl:focus {
|
|
@apply outline-none shadow-outline-normal;
|
|
}
|
|
|
|
.leftControl {
|
|
@apply bg-cover left-10;
|
|
background-image: url('public/cursor-left.png');
|
|
@screen md {
|
|
@apply left-6;
|
|
}
|
|
} */
|
|
|
|
/* .rightControl {
|
|
@apply bg-cover right-10;
|
|
background-image: url('public/cursor-right.png');
|
|
|
|
@screen md {
|
|
@apply right-6;
|
|
}
|
|
} */
|
|
|
|
/* .control {
|
|
@apply opacity-0 transition duration-150;
|
|
} */
|
|
|
|
/* .root:hover .control {
|
|
@apply opacity-100;
|
|
} */
|
|
|
|
.positionIndicatorsContainer {
|
|
@apply hidden;
|
|
|
|
@screen sm {
|
|
@apply block absolute bottom-6 left-1/2;
|
|
transform: translateX(-50%);
|
|
}
|
|
}
|
|
|
|
.positionIndicator {
|
|
@apply rounded-full p-2;
|
|
}
|
|
|
|
.dot {
|
|
@apply bg-hover-1 transition w-3 h-3 rounded-full;
|
|
}
|
|
|
|
.positionIndicator:hover .dot {
|
|
@apply bg-hover-2;
|
|
}
|
|
|
|
.positionIndicator:focus {
|
|
@apply outline-none;
|
|
}
|
|
|
|
.positionIndicator:focus .dot {
|
|
@apply shadow-outline-normal;
|
|
}
|
|
|
|
.positionIndicatorActive .dot {
|
|
@apply bg-white;
|
|
}
|
|
|
|
.positionIndicatorActive:hover .dot {
|
|
@apply bg-white;
|
|
}
|
|
|
|
.album {
|
|
@apply bg-violet-dark;
|
|
overflow: auto;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.album > * {
|
|
@apply cursor-pointer;
|
|
display: inline-block;
|
|
width: 300px;
|
|
}
|
|
|
|
.album > div:hover {
|
|
@apply bg-violet-light;
|
|
}
|