-
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.
- Loading branch information
Showing
80 changed files
with
1,310 additions
and
1,098 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
<div class="content-main{% if alert %} warning {% else %} highlight {% endif %}"> | ||
<div class="content-body content-stack"> | ||
{% if link %} | ||
<p role="alert"> | ||
<a href="{{ link }}">{{ text }}</a> | ||
</p> | ||
{% else %} | ||
<p role="alert">{{ text }}</p> | ||
{% endif %} | ||
</div> | ||
</div> |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
<div class="box dwds-box">{{ excerpt }}</div> |
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 @@ | ||
.dwds-box { | ||
background-color: pink; | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
{% load static %} | ||
|
||
<div class="dwds-comment-section"> | ||
<img class="comment-icon" | ||
src="{% static '/images/dwds/icons/comment_icon.svg' %}" | ||
alt="Comment bubble icon."> | ||
{{ comment_count }} Comment{{ comment_count|pluralize }} | ||
</div> |
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,5 @@ | ||
.dwds-comment-section { | ||
.comment-icon { | ||
vertical-align: text-bottom; | ||
} | ||
} |
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,23 @@ | ||
{% load cards %} | ||
|
||
<div class="dwds-content-list {% if as_card_grid %}as-card-grid{% endif %} content-item"> | ||
<div class="content-main {% if highlight %}highlight{% endif %}"> | ||
<div class="content-body content-body-space-padding content-stack large"> | ||
<h2>{{ title }}</h2> | ||
{% if as_card_grid %} | ||
<div class="content-grid grid-cards"> | ||
{% for content_item in content_items %} | ||
<div class="dwds-content-item-card">{% page_to_engagement content_item %}</div> | ||
{% endfor %} | ||
</div> | ||
{% else %} | ||
{% for content_item in content_items %} | ||
{% page_to_engagement content_item %} | ||
{% endfor %} | ||
{% endif %} | ||
{% if link_url and link_text %} | ||
{% include "dwds/components/link_action.html" with link_url=link_url link_text=link_text right=True %} | ||
{% endif %} | ||
</div> | ||
</div> | ||
</div> |
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,32 @@ | ||
.dwds-content-list { | ||
> .content-main { | ||
--content-main-padding: 0; | ||
} | ||
|
||
.content-item { | ||
.content-custom-sidebar { | ||
--sidebar-gap: var(--s1); | ||
|
||
.content-main { | ||
--content-main-padding: 0; | ||
} | ||
|
||
.content-image { | ||
height: fit-content; | ||
border-radius: 6px; | ||
} | ||
} | ||
} | ||
} | ||
|
||
.dwds-content-list.as-card-grid { | ||
.content-item { | ||
.content-custom-sidebar { | ||
--sidebar-gap: 0; | ||
|
||
.content-main { | ||
--content-main-padding: var(--s0); | ||
} | ||
} | ||
} | ||
} |
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 @@ | ||
<div class="content-main {% if highlight %}highlight{% endif %}"> | ||
<div class="content-body content-stack"> | ||
{% include 'dwds/elements/navigational_link.html' with url=url text=title %} | ||
{% if description %}<p>{{ description }}</p>{% endif %} | ||
</div> | ||
</div> |
Oops, something went wrong.