-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
undefined
- Loading branch information
1 parent
1366ee1
commit 6be90ee
Showing
22 changed files
with
629 additions
and
34 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,7 @@ | ||
@tailwind base; | ||
@tailwind components; | ||
@tailwind utilities; | ||
|
||
.slick-track, .slick-list { | ||
@apply w-full; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
import { cnb } from 'cnbuilder'; | ||
|
||
export const root = 'mx-auto w-full sm:w-[calc(100%_-12rem)] md:w-[calc(100%_-17rem)]'; | ||
|
||
export const slider = 'leading-none'; | ||
export const buttonWrapper = 'gap-16 mt-10 sm:mt-0'; | ||
export const buttonBase = 'relative sm:absolute sm:top-[-33cqw] lg:top-[-31cqw]'; | ||
export const nextButton = `${buttonBase} sm:-left-60 md:-left-80`; | ||
export const prevButton = `${buttonBase} sm:-right-60 md:-right-80`; | ||
export const counterExpandWrapper = 'sm:justify-between mt-9'; | ||
|
||
export const pagerWindow = 'rs-mt-0 relative hidden sm:block overflow-hidden'; | ||
export const pagerList = 'list-unstyled *:mb-0 *:leading-[0] gap-10 transition-transform'; | ||
export const thumbButton = (active: boolean, isPortrait: boolean) => cnb( | ||
'inline-block hocus-visible:opacity-100 hocus-visible:border-b-digital-red-light hocus-visible:-translate-y-9 transition-all border-b-[3px] pt-9 pb-6', | ||
active ? 'opacity-100 border-b-[3px] border-b-digital-red-light -translate-y-9' : 'opacity-70 border-b-transparent', | ||
isPortrait ? 'w-50 md:w-65' : 'w-80 md:w-100', | ||
); | ||
export const expandButton = (isLightText: boolean) => cnb( | ||
'group hidden sm:inline-block font-semibold leading-none gc-card hocus-visible:underline [transform:translate3d(0,0,0)];', | ||
isLightText ? 'text-digital-red-xlight hocus-visible:text-white' : 'text-digital-red-light hocus-visible:text-gc-black', | ||
); | ||
export const expandIcon = 'inline-block ml-02em group-hocus-visible:scale-110'; | ||
export const skipButton = 'hidden sm:block skiplink focus:!relative left-0 -top-30 break-words type-0 whitespace-normal'; | ||
export const caption = 'rs-mt-0 max-w-prose *:leading-snug *:gc-caption'; | ||
|
||
// Modal styles | ||
export const dialog = 'hidden sm:block relative z-[150]'; | ||
export const srOnly = 'sr-only'; | ||
export const dialogOverlay = 'fixed inset-0 bg-black-true/90 backdrop-blur-lg w-screen'; | ||
export const dialogWrapper = 'fixed inset-0 w-screen overflow-y-auto overscroll-contain overflow-x-hidden'; | ||
export const dialogPanel = 'relative cc flex flex-col w-screen inset-0 break-words justify-start text-white'; | ||
export const modalClose = 'absolute top-20 z-[200] right-0 block mr-0 ml-auto rs-mb-2 p-9 border-2 border-digital-red-xlight bg-black-true rounded-full hocus-visible:border-dashed hocus-visible:border-white transition-transform hocus-visible:rotate-90'; | ||
export const modalIcon = 'text-white size-26'; | ||
export const contentWrapper = 'relative w-full'; | ||
|
||
// Modal Slider elements | ||
export const modalSliderWrapper = 'relative mt-90 md:mt-100 mx-auto'; | ||
export const modalSlider = 'relative !flex items-center gap-20 md:gap-30 leading-none'; | ||
export const belowModalSlider = 'relative mt-9'; | ||
export const modalCounter = 'block'; | ||
export const modalCaption = 'rs-mt-0 max-w-prose mx-auto *:leading-snug *:gc-caption'; |
Oops, something went wrong.