-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from VLK-STUDIO/feature/138
feat: #138
- Loading branch information
Showing
18 changed files
with
9,430 additions
and
118 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
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
61 changes: 33 additions & 28 deletions
61
docs/src/components/ClickableCard/ClickableCard.module.css
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,70 +1,75 @@ | ||
|
||
.container { | ||
z-index: 1; | ||
z-index: var(--z-indices-low); | ||
display: flex; | ||
height: var(--sizes-3xl); | ||
align-items: center; | ||
position: relative; | ||
padding: var(--space-s) var(--space-2xs); | ||
border-radius: var(--radius-m); | ||
justify-content: center; | ||
padding: var(--spacings-m); | ||
border: 4px solid var(--ifm-footer-background-color); | ||
transition: 0.3s ease; | ||
background-color: white; | ||
transition: var(--transitions-fast); | ||
} | ||
|
||
.text { | ||
font-weight: 700; | ||
font-size: 1.5rem; | ||
font-size: var(--font-sizes-xl); | ||
font-weight: var(--font-weights-bold); | ||
} | ||
|
||
.cta { | ||
transition: 0.3s ease; | ||
transition: var(--transitions-fast); | ||
} | ||
|
||
.badge { | ||
position: absolute; | ||
right: var(--space-2xs); | ||
top: var(--space-2xs); | ||
padding: 0 var(--space-3xs); | ||
border-radius: var(--radius-m); | ||
background-color: var(--ifm-color-primary); | ||
color: white; | ||
font-weight: 700; | ||
right: var(--spacings-2xs); | ||
top: var(--spacings-2xs); | ||
padding: 0 var(--spacings-3xs); | ||
border-radius: var(--radii-m); | ||
background-color: var(--colors-primary); | ||
color: var(--colors-inverted-text); | ||
font-weight: var(--font-weights-bold); | ||
} | ||
|
||
.icon { | ||
position: absolute; | ||
left: var(--space-2xs); | ||
top: var(--space-2xs); | ||
left: var(--spacings-2xs); | ||
top: var(--spacings-2xs); | ||
} | ||
|
||
.arrowRight { | ||
position: absolute; | ||
right: var(--space-2xs); | ||
bottom: var(--space-2xs); | ||
stroke: black; | ||
right: var(--spacings-2xs); | ||
bottom: var(--spacings-2xs); | ||
stroke: var(--colors-text); | ||
} | ||
|
||
.container:hover { | ||
transform: scale(1.1) rotate3d(80, 10, -10, 10deg); | ||
transform-style: preserve-3d; | ||
border-color: var(--ifm-color-secondary); | ||
box-shadow: 0px 10px 20px #E6E6E6; | ||
z-index: 10; | ||
border-color: var(--colors-secondary); | ||
box-shadow: var(--shadows-medium); | ||
z-index: var(--z-indices-high); | ||
} | ||
|
||
.container:hover .arrowRight { | ||
stroke: var(--ifm-color-secondary); | ||
right: calc(var(--space-2xs) / 2); | ||
stroke: var(--colors-secondary); | ||
right: var(--spacings-3xs); | ||
} | ||
|
||
.container:hover .badge { | ||
background-color: var(--ifm-color-secondary); | ||
background-color: var(--colors-secondary); | ||
} | ||
|
||
@media screen and (max-width: 576px) { | ||
.container { | ||
margin-top: 0; | ||
} | ||
|
||
.container:hover { | ||
transform: scale(1.02); | ||
} | ||
|
||
.text { | ||
font-size: 1.2rem; | ||
font-size: var(--font-sizes-l); | ||
} | ||
} |
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
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
Oops, something went wrong.