mirror of
https://github.com/vercel/commerce.git
synced 2025-07-22 20:26:49 +00:00
Design Updates
This commit is contained in:
@@ -3,9 +3,43 @@
|
||||
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 absolute top-1/2 -translate-x-1/2 z-20 w-16 h-16 flex items-center justify-center bg-hover-1 rounded-full;
|
||||
@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,
|
||||
@@ -13,36 +47,35 @@
|
||||
@apply bg-hover-2;
|
||||
}
|
||||
|
||||
.leftControl:hover,
|
||||
.rightControl:hover {
|
||||
.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 {
|
||||
/* .rightControl {
|
||||
@apply bg-cover right-10;
|
||||
background-image: url('public/cursor-right.png');
|
||||
|
||||
@screen md {
|
||||
@apply right-6;
|
||||
}
|
||||
}
|
||||
} */
|
||||
|
||||
.control {
|
||||
/* .control {
|
||||
@apply opacity-0 transition duration-150;
|
||||
}
|
||||
} */
|
||||
|
||||
.root:hover .control {
|
||||
/* .root:hover .control {
|
||||
@apply opacity-100;
|
||||
}
|
||||
} */
|
||||
|
||||
.positionIndicatorsContainer {
|
||||
@apply hidden;
|
||||
|
Reference in New Issue
Block a user