mirror of
https://github.com/vercel/commerce.git
synced 2025-05-15 05:56:59 +00:00
Glider styles
This commit is contained in:
parent
3109433405
commit
1ecd47a0f7
@ -2,6 +2,36 @@
|
||||
@tailwind components;
|
||||
@tailwind utilities;
|
||||
|
||||
/* GLIDER SLIDER */
|
||||
.glider {
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
.glider::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.glider-dots {
|
||||
@apply !mt-8 flex !space-x-[2px];
|
||||
}
|
||||
|
||||
.glider-dot {
|
||||
@apply !m-0 !h-4 !w-12 !rounded-none !bg-transparent after:block after:h-[3px] after:w-12 after:bg-ui-border after:content-[''] 2xl:!w-16 2xl:after:w-16;
|
||||
}
|
||||
|
||||
.glider-dot.active {
|
||||
@apply after:!bg-high-contrast;
|
||||
}
|
||||
|
||||
.glider-prev {
|
||||
@apply !-top-10 !left-auto !right-12 text-high-contrast !transition-transform !duration-100 hover:scale-110 hover:!text-high-contrast lg:!-top-12 lg:!right-16 2xl:!right-[100px];
|
||||
}
|
||||
|
||||
.glider-next {
|
||||
@apply !-top-10 !right-4 text-high-contrast !transition-transform !duration-100 hover:scale-110 hover:!text-high-contrast lg:!-top-12 lg:!right-8 2xl:!right-16;
|
||||
}
|
||||
|
||||
@layer base {
|
||||
:root {
|
||||
--background: 0 0% 100%;
|
||||
@ -34,9 +64,7 @@
|
||||
|
||||
--radius: 0.5rem;
|
||||
}
|
||||
}
|
||||
|
||||
@layer base {
|
||||
* {
|
||||
@apply border-border;
|
||||
}
|
||||
@ -93,34 +121,4 @@
|
||||
.dynamic-content .dynamic-content > :last-child {
|
||||
@apply my-0 md:my-0 lg:my-0;
|
||||
}
|
||||
|
||||
/* GLIDER SLIDER */
|
||||
.glider {
|
||||
scrollbar-width: none;
|
||||
-ms-overflow-style: none;
|
||||
}
|
||||
|
||||
.glider::-webkit-scrollbar {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.glider-dots {
|
||||
@apply !mt-8 flex !space-x-[2px];
|
||||
}
|
||||
|
||||
.glider-dot {
|
||||
@apply !m-0 !h-4 !w-12 !rounded-none !bg-transparent after:block after:h-[3px] after:w-12 after:bg-ui-border after:content-[''] 2xl:!w-16 2xl:after:w-16;
|
||||
}
|
||||
|
||||
.glider-dot.active {
|
||||
@apply after:!bg-high-contrast;
|
||||
}
|
||||
|
||||
.glider-prev {
|
||||
@apply !-top-10 !left-auto !right-12 text-high-contrast !transition-transform !duration-100 hover:scale-110 hover:!text-high-contrast lg:!-top-12 lg:!right-16 2xl:!right-[100px];
|
||||
}
|
||||
|
||||
.glider-next {
|
||||
@apply !-top-10 !right-4 text-high-contrast !transition-transform !duration-100 hover:scale-110 hover:!text-high-contrast lg:!-top-12 lg:!right-8 2xl:!right-16;
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user