-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Amsterdam/design-system int…
…o task/simplify-highlight-story
- Loading branch information
Showing
69 changed files
with
1,117 additions
and
437 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
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,9 @@ | ||
# Grid cell | ||
|
||
Beslaat een aantal kolommen in een [Page Grid](?path=/docs/react_layout-page-grid--docs). | ||
|
||
## Gebruik | ||
|
||
Gebruik het `GridCell` component om een grid in cellen te verdelen. | ||
Op de cel kun je aangeven hoeveel kolommen van het grid het element beslaat. | ||
In elke cel plaats je vervolgens een component of element. |
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,46 @@ | ||
/** | ||
* @license EUPL-1.2+ | ||
* Copyright (c) 2023 Gemeente Amsterdam | ||
*/ | ||
|
||
@import "../../utils/breakpoint"; | ||
|
||
.amsterdam-page-grid > .amsterdam-grid-cell--full-width { | ||
grid-column: 1 / -1; | ||
} | ||
|
||
// The order of the following declaration blocks ensures the intended specificity. | ||
|
||
@for $i from 1 through 12 { | ||
.amsterdam-page-grid > .amsterdam-grid-cell--span-#{$i} { | ||
grid-column-end: span $i; | ||
} | ||
|
||
.amsterdam-page-grid > .amsterdam-grid-cell--start-#{$i} { | ||
grid-column-start: $i; | ||
} | ||
} | ||
|
||
@media screen and (min-width: $amsterdam-breakpoint-medium) { | ||
@for $i from 1 through 12 { | ||
.amsterdam-page-grid > .amsterdam-grid-cell--span-#{$i}-medium { | ||
grid-column-end: span $i; | ||
} | ||
|
||
.amsterdam-page-grid > .amsterdam-grid-cell--start-#{$i}-medium { | ||
grid-column-start: $i; | ||
} | ||
} | ||
} | ||
|
||
@media screen and (min-width: $amsterdam-breakpoint-wide) { | ||
@for $i from 1 through 12 { | ||
.amsterdam-page-grid > .amsterdam-grid-cell--span-#{$i}-wide { | ||
grid-column-end: span $i; | ||
} | ||
|
||
.amsterdam-page-grid > .amsterdam-grid-cell--start-#{$i}-wide { | ||
grid-column-start: $i; | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Oops, something went wrong.