This repository has been archived by the owner on Sep 17, 2021. It is now read-only.
forked from govCMS/scaffold
-
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 branch 'v1.x' into 355-confirm-structure-of-content-display
- Loading branch information
Showing
13 changed files
with
50 additions
and
28 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
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
.health-band { | ||
|
||
h2 + .health-layout { | ||
@include AU-space(margin-top, 2.5unit); | ||
} | ||
} |
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
2 changes: 1 addition & 1 deletion
2
themes/health/source/sass/components/health/_page-modifications.scss
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,3 +1,3 @@ | ||
p.document-accessibility-form { | ||
margin-top: 3.5rem; | ||
@include AU-space(margin-top, 3.5unit); | ||
} |
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
7 changes: 7 additions & 0 deletions
7
themes/health/templates/paragraph/paragraph--para-h-layout-grid.html.twig
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,7 +1,14 @@ | ||
{% extends "@paragraphs/paragraph.html.twig" %} | ||
|
||
{% block paragraph %} | ||
|
||
{% set classes = [ | ||
'health-layout', | ||
'health-layout--grid' | ||
] %} | ||
|
||
<div{{ attributes }}> | ||
{{ content }} | ||
</div> | ||
|
||
{% endblock %} |
27 changes: 18 additions & 9 deletions
27
themes/health/templates/paragraph/paragraph--para-h-layout-three-column.html.twig
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,24 @@ | ||
{% extends "@paragraphs/paragraph.html.twig" %} | ||
|
||
{% block paragraph %} | ||
<div class="row"> | ||
<div class="col-xs-12 col-sm-4"> | ||
{{ content.field_h_content_components_col_1 }} | ||
</div> | ||
<div class="col-xs-12 col-sm-4 standard-gap--mobile-only"> | ||
{{ content.field_h_content_components }} | ||
</div> | ||
<div class="col-xs-12 col-sm-4 standard-gap--mobile-only"> | ||
{{ content.field_h_content_components_col_2 }} | ||
|
||
{% set classes = [ | ||
'health-layout', | ||
'health-layout--3col' | ||
] %} | ||
|
||
<div{{ attributes.addClass(classes) }}> | ||
<div class="row"> | ||
<div class="col-xs-12 col-sm-4"> | ||
{{ content.field_h_content_components_col_1 }} | ||
</div> | ||
<div class="col-xs-12 col-sm-4 standard-gap--mobile-only"> | ||
{{ content.field_h_content_components }} | ||
</div> | ||
<div class="col-xs-12 col-sm-4 standard-gap--mobile-only"> | ||
{{ content.field_h_content_components_col_2 }} | ||
</div> | ||
</div> | ||
</div> | ||
|
||
{% endblock %} |
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