-
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.
VL1 fini 👏 + avertissement sur la dispo du cadre
- Loading branch information
Showing
5 changed files
with
87 additions
and
54 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,15 +1,17 @@ | ||
|
||
import styled from 'styled-components' | ||
|
||
export const Card = styled.div` | ||
box-shadow: 0 1px 3px rgba(41, 117, 209, 0.12), 0 1px 2px rgba(41, 117, 209, 0.24); | ||
border: 4px solid var(--lighterColor); | ||
border-radius: 0.3rem; | ||
box-shadow: 0 1px 3px rgba(41, 117, 209, 0.12), | ||
0 1px 2px rgba(41, 117, 209, 0.24); | ||
border: 4px solid var(--lighterColor); | ||
border-radius: 0.3rem; | ||
padding: 1rem; | ||
:hover { | ||
box-shadow: 0px 2px 4px -1px rgba(41, 117, 209, 0.2), 0px 4px 5px 0px rgba(41, 117, 209, 0.14), 0px 1px 10px 0px rgba(41, 117, 209, 0.12); | ||
box-shadow: 0px 2px 4px -1px rgba(41, 117, 209, 0.2), | ||
0px 4px 5px 0px rgba(41, 117, 209, 0.14), | ||
0px 1px 10px 0px rgba(41, 117, 209, 0.12); | ||
} | ||
${(props) => (props.color ? `border-color: ${props.color}` : '')} | ||
` |
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