-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into dependabot/npm_and_yarn/follow-redirects-a…
…nd-follow-redirects-1.15.6
- Loading branch information
Showing
20 changed files
with
398 additions
and
20 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
File renamed without changes.
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
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,10 @@ | ||
import RightArrow from "/static/assets/icons/arrow-right-long.svg"; | ||
import styles from "./SimpleCardGrid.module.scss"; | ||
import React from "react"; | ||
|
||
interface FooterArrowProps { | ||
index?: number; | ||
} | ||
export default function SimpleCardFooterArrow({ index }: FooterArrowProps) { | ||
return <RightArrow className={styles.simpleCardFooterArrow} key={`simpleCardFooterArrow-${index}`} />; | ||
} |
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,99 @@ | ||
.simpleCardGrid { | ||
display: grid; | ||
grid-gap: 32px; | ||
grid-template-columns: 1fr 1fr; | ||
grid-template-rows: 2fr; | ||
} | ||
|
||
.simpleCard { | ||
min-width: 360px; | ||
padding: 12px 16px; | ||
height: 100%; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
gap: 10px; | ||
border: 1px solid var(--simpleCardBorder); | ||
border-radius: 12px; | ||
color: var(--ifm-font-color-base); | ||
box-shadow: -10px 10px var(--simpleCardSecondary); | ||
word-wrap: break-word; | ||
} | ||
|
||
.simpleCardDescription { | ||
font-size: 14px; | ||
font-weight: 400; | ||
line-height: 20px; | ||
color: var(--simpleCardSubtle); | ||
} | ||
|
||
.simpleCardHeader { | ||
display: flex; | ||
justify-content: flex-start; | ||
align-items: center; | ||
gap: 12px; | ||
font-size: 20px; | ||
font-weight: 500; | ||
line-height: 24px; | ||
} | ||
|
||
.simpleCardFooter { | ||
display: flex; | ||
justify-content: flex-end; | ||
align-items: center; | ||
} | ||
|
||
.simpleCardFooterBtn { | ||
display: flex; | ||
align-items: center; | ||
gap: 10px; | ||
background-color: var(--simpleCardSecondary); | ||
border-radius: 4px; | ||
color: var(--ifm-font-color-base); | ||
font-size: 14px; | ||
font-weight: var(--ifm-button-font-weight); | ||
padding: 10px 16px; | ||
border: none; | ||
outline: none; | ||
height: 32px; | ||
width: 136px; | ||
cursor: pointer; | ||
} | ||
|
||
.simpleCardFooterArrow { | ||
height: 1em; | ||
fill: var(--ifm-font-color-base); | ||
} | ||
|
||
.simpleCardIndex { | ||
width: 32px; | ||
height: 32px; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
background-color: var(--simpleCardPrimary); | ||
color: var(--ifm-background-color); | ||
border-radius: 4px; | ||
} | ||
|
||
.simpleCard:hover { | ||
box-shadow: -10px 10px var(--simpleCardSecondaryHover); | ||
} | ||
|
||
.simpleCard:hover .simpleCardFooter button { | ||
background-color: var(--simpleCardSecondaryHover); | ||
} | ||
|
||
.simpleCard:hover .simpleCardIndex { | ||
background-color: var(--simpleCardPrimaryHover); | ||
} | ||
|
||
@media (max-width: 1120px) { | ||
.simpleCardGrid { | ||
grid-template-columns: 1fr; | ||
} | ||
|
||
.simpleCard { | ||
min-width: 280px; | ||
} | ||
} |
Oops, something went wrong.