-
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.
Merge pull request #1 from ConductionNL/feature/update-cards
feature/update-cards
- Loading branch information
Showing
39 changed files
with
2,353 additions
and
1,199 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
Large diffs are not rendered by default.
Oops, something went wrong.
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,3 @@ | ||
import ResultPage from "./resultPage"; | ||
|
||
export default ResultPage; |
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,9 @@ | ||
import * as React from "react"; | ||
import _ from "lodash"; | ||
import { PageProps } from "gatsby"; | ||
import { ResultTemplate } from "../../templates/resultTemplate/ResultTemplate"; | ||
|
||
const ResultPage: React.FC<PageProps> = (props: PageProps) => { | ||
return <ResultTemplate id={props.params.id} />; | ||
}; | ||
export default ResultPage; |
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
88 changes: 88 additions & 0 deletions
88
pwa/src/templates/resultTemplate/ResultTemplate.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 |
---|---|---|
@@ -0,0 +1,88 @@ | ||
.container { | ||
margin-block-start: var(--utrecht-space-block-lg) !important; | ||
} | ||
|
||
.container > *:not(:last-child) { | ||
margin-block-end: var(--utrecht-space-block-2xl); | ||
} | ||
|
||
.cardContainer, | ||
.cardContainer:hover { | ||
gap: 14px; | ||
display: flex; | ||
flex-direction: column; | ||
} | ||
|
||
.cardContainer:hover { | ||
cursor: default; | ||
} | ||
|
||
.cardContainer:hover .cardHeader { | ||
border-bottom-color: var(--conduction-card-header-hover-border-bottom-color); | ||
} | ||
|
||
.success { | ||
--conduction-card-wrapper-background-color: var( | ||
--utrecht-alert-ok-background-color | ||
); | ||
} | ||
.succes:hover { | ||
--conduction-card-wrapper-hover-background-color: var( | ||
--utrecht-alert-ok-background-color | ||
); | ||
} | ||
|
||
.fail { | ||
--conduction-card-wrapper-background-color: var( | ||
--utrecht-alert-error-background-color | ||
); | ||
} | ||
.fail:hover { | ||
--conduction-card-wrapper-hover-background-color: var( | ||
--utrecht-alert-error-background-color | ||
); | ||
} | ||
|
||
.titleSuccess, | ||
.titleFail { | ||
white-space: nowrap; | ||
} | ||
|
||
.titleSuccess > * { | ||
--conduction-card-header-title-color: var(--utrecht-alert-ok-color); | ||
} | ||
|
||
.titleFail > * { | ||
--conduction-card-header-title-color: var(--utrecht-alert-error-color); | ||
} | ||
|
||
.icon { | ||
margin-inline-end: 10px; | ||
} | ||
|
||
.descriptionSuccess { | ||
color: var(--utrecht-alert-ok-color) !important; | ||
} | ||
|
||
.descriptionFail { | ||
color: var(--utrecht-alert-error-color) !important; | ||
} | ||
|
||
.code { | ||
color: #e2386d; | ||
background-color: #f6f6f6; | ||
padding: 5px; | ||
border: 2px solid #dedede; | ||
border-radius: 5px; | ||
} | ||
|
||
@media only screen and (min-width: 992px) { | ||
/* Desktop */ | ||
.container { | ||
margin-block-start: var(--utrecht-space-block-3xl); | ||
} | ||
|
||
.container > *:not(:last-child) { | ||
margin-block-end: var(--utrecht-space-block-lg); | ||
} | ||
} |
Oops, something went wrong.