diff --git a/assets/components/atoms/picture/picture-news-thumb.twig b/assets/components/atoms/picture/picture-news-thumb.twig index 4bd7a500e..44f0843b7 100644 --- a/assets/components/atoms/picture/picture-news-thumb.twig +++ b/assets/components/atoms/picture/picture-news-thumb.twig @@ -1,3 +1,13 @@ +{% if light_image %} + + + + + + + ALT + +{% else %} @@ -6,3 +16,4 @@ ALT +{% endif %} diff --git a/assets/components/molecules/list-group/list-group-teasers.twig b/assets/components/molecules/list-group/list-group-teasers.twig index e51d6db6d..25a02cdc6 100644 --- a/assets/components/molecules/list-group/list-group-teasers.twig +++ b/assets/components/molecules/list-group/list-group-teasers.twig @@ -1,5 +1,5 @@
- {% for i in 1..4 %} + {% for i in 1..2 %}
@@ -18,6 +18,40 @@
{% endfor %} +
+ +
+

Physics: new e-books for the AIAA Education Series

+

+ + — Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si enim ad populum me vocas, eum. Quid enim me prohiberet + Epicureum esse, si probarem, quae ille diceret? +

+
+
+ +
+ +
+

Physics: new e-books for the AIAA Education Series

+

+ + — Lorem ipsum dolor sit amet, consectetur adipiscing elit. Si enim ad populum me vocas, eum. Quid enim me prohiberet + Epicureum esse, si probarem, quae ille diceret? +

+
+
+
diff --git a/assets/components/molecules/list-group/list-group.scss b/assets/components/molecules/list-group/list-group.scss index a4603d232..92c3b8065 100644 --- a/assets/components/molecules/list-group/list-group.scss +++ b/assets/components/molecules/list-group/list-group.scss @@ -192,3 +192,25 @@ } } + +.list-group-teaser-thumbnail .news-video-overlay { + display: flex; + justify-content: center; + align-items: center; + position: absolute; + top: 0px; + left: 0px; + width: 100%; + height: 100%; + background: transparent; + + &:before { + content: ""; + width: 2.25rem; + height: 2.25rem; + background: url(../images/icons/icon-teaser-video.svg); + background-size: 100%; + border-radius: 50%; + box-shadow: 0 0 1rem rgba(0,0,0,0.16); + } +} diff --git a/assets/images/icons/icon-teaser-video.svg b/assets/images/icons/icon-teaser-video.svg new file mode 100644 index 000000000..4c296789d --- /dev/null +++ b/assets/images/icons/icon-teaser-video.svg @@ -0,0 +1 @@ + diff --git a/assets/images/styleguide/news-thumbs/news_thumb-120x58.jpg b/assets/images/styleguide/news-thumbs/news_thumb-120x68.jpg similarity index 100% rename from assets/images/styleguide/news-thumbs/news_thumb-120x58.jpg rename to assets/images/styleguide/news-thumbs/news_thumb-120x68.jpg diff --git a/assets/images/styleguide/news-thumbs/news_thumb_02-1080x608.jpg b/assets/images/styleguide/news-thumbs/news_thumb_02-1080x608.jpg new file mode 100644 index 000000000..d3331fd39 Binary files /dev/null and b/assets/images/styleguide/news-thumbs/news_thumb_02-1080x608.jpg differ diff --git a/assets/images/styleguide/news-thumbs/news_thumb_02-120x68.jpg b/assets/images/styleguide/news-thumbs/news_thumb_02-120x68.jpg new file mode 100644 index 000000000..dcde69066 Binary files /dev/null and b/assets/images/styleguide/news-thumbs/news_thumb_02-120x68.jpg differ diff --git a/assets/images/styleguide/news-thumbs/news_thumb_02-160x90.jpg b/assets/images/styleguide/news-thumbs/news_thumb_02-160x90.jpg new file mode 100644 index 000000000..20ae6dea2 Binary files /dev/null and b/assets/images/styleguide/news-thumbs/news_thumb_02-160x90.jpg differ diff --git a/assets/images/styleguide/news-thumbs/news_thumb_02-190x107.jpg b/assets/images/styleguide/news-thumbs/news_thumb_02-190x107.jpg new file mode 100644 index 000000000..893f2544e Binary files /dev/null and b/assets/images/styleguide/news-thumbs/news_thumb_02-190x107.jpg differ diff --git a/assets/images/styleguide/news-thumbs/news_thumb_02-240x135.jpg b/assets/images/styleguide/news-thumbs/news_thumb_02-240x135.jpg new file mode 100644 index 000000000..c825ada9e Binary files /dev/null and b/assets/images/styleguide/news-thumbs/news_thumb_02-240x135.jpg differ diff --git a/assets/images/styleguide/news-thumbs/news_thumb_02-540x304.jpg b/assets/images/styleguide/news-thumbs/news_thumb_02-540x304.jpg new file mode 100644 index 000000000..a2c71adfb Binary files /dev/null and b/assets/images/styleguide/news-thumbs/news_thumb_02-540x304.jpg differ diff --git a/assets/images/styleguide/news-thumbs/news_thumb_02-80x45.jpg b/assets/images/styleguide/news-thumbs/news_thumb_02-80x45.jpg new file mode 100644 index 000000000..1f59d6f2c Binary files /dev/null and b/assets/images/styleguide/news-thumbs/news_thumb_02-80x45.jpg differ diff --git a/assets/images/styleguide/news-thumbs/news_thumb_02-95x53.jpg b/assets/images/styleguide/news-thumbs/news_thumb_02-95x53.jpg new file mode 100644 index 000000000..8771948fc Binary files /dev/null and b/assets/images/styleguide/news-thumbs/news_thumb_02-95x53.jpg differ