_rnd17-styleguide.scss
, line 97
Teaser Block
Comes in 4 sizes and in a background-image and no-image versions (the latter not displayed here). Content is editable.
Markup: components/teaser-block/teaser-block.twig
<div class="cw-region">
<article class="{{ modifier_class }} clearfix">
<a class="teaser-block__link" href="#">
<div class="teaser-block__image">
<img src="kss-assets/images/original-teaser-1170-658.jpg" alt="test">
</div>
<div class="teaser-block__body bg--white">
<div class="cr-body">
<h4>Get ideas, tips and tools to help you fundraise</h4>
<div class="teaser-block__cta">
<span class="btn btn--black">Pre-order a Kit</span>
</div>
</div>
</div>
</a>
</article>
</div>
_rnd17-styleguide.scss
, line 161
Markup: components/news-teaser/news-teaser.twig
<article class="article-teaser">
<a href="#" class="article-teaser__link">
<div class="article-teaser__image">
<picture>
<img property="schema:image" class="media__image media__element b-lazy b-responsive b-loaded" src="kss-assets/images/16-9-img.jpg" alt="" typeof="foaf:Image">
</picture>
</div>
<div class="article-teaser__content-wrapper">
<div class="article-teaser__content">
<span class="article-teaser__date">28 October 2016</span>
<h2>News article</h2>
</div>
</div>
</a>
</article>
_rnd17-styleguide.scss
, line 257
Quote Block
Comes in 4 sizes.
Jo's Top Tip
Top-up your fundraising total with a classic, pay-to-play, 'guess the weight of the cake' competition.
Jo's Top Tip
Top-up your fundraising total with a classic, pay-to-play, 'guess the weight of the cake' competition.
Jo's Top Tip
Top-up your fundraising total with a classic, pay-to-play, 'guess the weight of the cake' competition.
Jo's Top Tip
Top-up your fundraising total with a classic, pay-to-play, 'guess the weight of the cake' competition.
Jo's Top Tip
Top-up your fundraising total with a classic, pay-to-play, 'guess the weight of the cake' competition.
Markup: components/quote-block/content-wall-quote.twig
<div class="cw-region">
<article class="{{ modifier_class }} clearfix">
<div class="cw-quote__outer-wrapper">
<div class="cw-quote__bg-image">
<img src="kss-assets/images/pattern.gif" alt="test" typeof="foaf:Image">
</div>
<div class="cw-quote__inner-wrapper">
<div class="cw-quote__image bg--purple">
<img src="kss-assets/images/silhouette.png" alt="test" typeof="foaf:Image">
</div>
<div class="cw-quote__body">
<h3 class="font--yellow">Jo's Top Tip</h3>
<h4 class="font--yellow">Top-up your fundraising total with a classic, pay-to-play, 'guess the weight of the cake' competition.</h4>
</div>
</div>
</div>
</article>
</div>
_rnd17-styleguide.scss
, line 238
Content Reference Block
Comes in 4 sizes.
Red Nose Day is coming soon to BBC One
Red Nose Day is coming soon to BBC One
Red Nose Day is coming soon to BBC One
Red Nose Day is coming soon to BBC One
Red Nose Day is coming soon to BBC One
Markup: components/content-block/content-block.twig
<div class="cw-region">
<article class="contextual-region block-content block-content--type-content-reference-block {{ modifier_class }} content-block clearfix">
<div class="content-block__image">
<div class="media media--blazy media--responsive media--image">
<picture>
<img property="schema:image" class="media__image media__element b-lazy b-responsive b-loaded" src="kss-assets/images/original-teaser-1170-658.jpg" alt="Red nose day" typeof="foaf:Image">
</picture>
</div>
</div>
<div class="content-block__content-wrapper">
<div class="content-block__content">
<span class="content-block__tag font--yellow font--font-black">News</span>
<h4>
Red Nose Day is coming soon to BBC One
</h4>
</div>
</div>
<a href="#" class="content-block__link" hreflang="en">Read more</a>
</article>
</div>
_rnd17-styleguide.scss
, line 140
Feature Articles block
Feature Articles by category block
Markup: components/feature-articles-block/feature-articles-block.twig
<section class="paragraph">
<h2>Max 3 items</h2>
<div class="feature-articles-block">
{% for i in 0..2 %}
{% include directory ~ '../news-teaser/news-teaser.twig' %}
{% endfor %}
</div>
<h2>Teasers always keep same 4 columns width</h2>
<div class="feature-articles-block">
{% for i in 0..1 %}
{% include directory ~ '../news-teaser/news-teaser.twig' %}
{% endfor %}
</div>
</section>
_rnd17-styleguide.scss
, line 269
Media Reference Block
Comes in 4 sizes.
Relive all the best bits of last Red Nose Day
20:20
Relive all the best bits of last Red Nose Day
20:20
Relive all the best bits of last Red Nose Day
20:20
Relive all the best bits of last Red Nose Day
20:20
Relive all the best bits of last Red Nose Day
20:20
Markup: components/media-block/media-block.twig
<div class="cw-region">
<article class="contextual-region block-content block-content--type-media-reference {{ modifier_class }} media-block clearfix">
<div class="media-block__image">
<div class="media media--blazy media--responsive media--image">
<picture>
<img class="media__image media__element b-lazy b-responsive b-loaded" src="kss-assets/images/original-teaser-1170-658.jpg" alt="Video background" typeof="foaf:Image">
</picture>
</div>
</div>
<div class="media-block__content-wrapper">
<div class="media-block__content">
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" id="play-icon" viewBox="0 0 40 40" xml:space="preserve">
<path d="M20,2c9.9,0,18,8.1,18,18s-8.1,18-18,18S2,29.9,2,20S10.1,2,20,2 M20,0C9,0,0,9,0,20s9,20,20,20
s20-9,20-20S31,0,20,0L20,0z"></path>
<path d="M15.8,14l10.3,6l-10.3,6V14 M13.8,10.6v18.8L30.1,20L13.8,10.6L13.8,10.6z"></path>
</svg>
<div class="cr-body">
<h4>Relive all the best bits of last Red Nose Day</h4>
<p class="font--yellow"><strong>20:20</strong></p>
</div>
</div>
</div>
<a class="media-block__link" data-rel="lightcase" href="https://www.youtube.com/embed/NW12S4-KB1I?autoplay=1">media block</a>
<div class="media-block__caption">
<div class="cr-body">
<p>Raymond used to work in a mine, with no time to go to school. Now, thanks to you, he’s getting an education. To help us change more lives, simply raise cash by having fun.</p>
<p><a class="btn btn--red" href="#">See how to join in</a></p>
</div>
</div>
</article>
</div>
_rnd17-styleguide.scss
, line 295
Card Block
Standard Card Block
When no card background colour is selected the card content will have no left and right padding. When a background colour is selected the card content will have padding all around (see cards grid below).
Follow in Dermont's footsteps
If Dermot's hip-swivelling heroics have inspired you, why not do your bit for Red Nose Day and put on your own dance event?
Markup: components/card-block/card.twig
<div class="card">
{{ title_suffix.contextual_links }}
{# {% if field_cr_card_image['#items'].value %} #}
<div class="card__image">
<img src="{{ field_cr_card_image }}" alt="">
</div>
{# {% endif %} #}
<div class="card__content-wrapper">
<div class="card__content">
{{ field_cr_card_body }}
</div>
</div>
</div>
_rnd17-styleguide.scss
, line 117
Cards title
Follow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitCards title
Follow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitCards title
Follow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitCards title
Follow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitCards title
Follow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitCards title
Follow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing KitFollow in Dermont's footsteps
Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.
Get your Dancing Kit
Markup: components/cards/cards.twig
<section class="cards {{modifier_class}}">
<h2 class="cards__title">Cards title</h2>
<div class="cards__wrapper">
{% for i in 0..8 %}
<div class="card bg--light-grey">
<div class="card__image">
<img src="kss-assets/images/1-1-img.jpg" alt="card image">
</div>
<div class="card__content-wrapper ">
<div class="card__content">
<h3>Follow in Dermont's footsteps</h3>
<p>Phosfluorescently recaptiualize covalent strategic theme areas rather than value-added methodologies.</p>
<a class="card__link link link--inline-redlink link--inline-red" href="#">Get your Dancing Kit</a>
</div>
</div>
</div>
{% endfor %}
</div>
</section>
_rnd17-styleguide.scss
, line 128
Copy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
ButtonCopy Right Copy Right Copy Right: 36
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
Button
Markup: components/single-msg/single-msg.twig
<section class="single-msg paragraph {{modifier_class}} bg--light-grey" >
<div class="single-msg__outer-wrapper">
<div class="single-msg__image">
<picture>
<source srcset="kss-assets/images/1-1-img.jpg" media="all and (min-width: 1024px)" type="image/jpeg"/>
<source srcset="kss-assets/images/1-1-img.jpg" media="all and (min-width: 740px)" type="image/jpeg"/>
<source srcset="kss-assets/images/1-1-img.jpg" media="(min-width: 0px)" type="image/jpeg"/>
<img src="kss-assets/images/1-1-img.jpg" alt="boring" typeof="foaf:Image" />
</picture>
</div>
<div class="single-msg__copy_wrapper bg--white">
<div class="single-msg__copy">
<div class="single-msg__title">
<h2>
Copy Right Copy Right Copy Right: 36
</h2>
</div>
<div class="single-msg__body">
<p>
Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio. Morbi vestibulum volutpat enim.Duis vel nibh at velit scelerisque suscipit. Vivamus euismod mauris. Quisque id odio.t :325
</p>
<a class="btn btn--black" href="#">Button</a>
</div>
</div>
</div>
</div>
</section>
_rnd17-styleguide.scss
, line 179
Background Single Message
This is Paragraph Background Single Message type with an image as background
Rich text bg title
Dynamically enhance fully researched metrics and e-business architectures. Synergistically productize impactful synergy rather than.
Markup: components/background-single-msg/background-single-msg.twig
<section class="paragraph background-single-msg paragraph--cr-rich-text-paragraph">
<div class="background-single-msg__image">
<picture>
<source srcset="kss-assets/images/promo-header-1170-450.jpg" media="all and (min-width: 1024px)" type="image/jpeg">
<source srcset="kss-assets/images/promo-header-740-450.jpg" media="all and (min-width: 740px)" type="image/jpeg">
<source srcset="kss-assets/images/promo-header-740-450.jpg" media="(min-width: 0px)" type="image/jpeg">
<img srcset="kss-assets/images/promo-header-1170-450.jpg" alt="Africa" typeof="foaf:Image">
</picture>
</div>
<div class="background-single-msg__inner-wrap">
<div data-quickedit-entity-id="paragraph/1" class="bg--white background-single-msg__body {{modifier_class}}">
<h2>Rich text bg title</h2>
<p>Dynamically enhance fully researched metrics and e-business architectures. Synergistically productize impactful synergy rather than.</p>
</div>
</div>
</section>
_rnd17-styleguide.scss
, line 101
Story
This is the Story row component (aka fundraising journey)
£####
RAISEDDaniel from Worcester ducked, dived and dodged his way to raising £160 by holding a retro fancy dress dodgeball tournament at his local sport centre.
Lives
CHANGEDThis is enough to buy a bicycle ambulance that can help pregnant women in rural Malawi to reach life-saving medical services.
Markup: components/story/_story.twig
<!--Background color class on section -->
<section class="story paragraph bg--red">
<div class="story__outer-wrapper ">
<!--Background color class on fundraiser, needs to be rendered both here.. -->
<div class="story__fundraiser-wrapper bg--blue">
<!-- Fundraiser image -->
<div class="story__fundraiser-image">
<picture>
<source srcset="kss-assets/images/story-300-330.jpg" media="all and (min-width: 1024px)" type="image/jpeg"/>
<source srcset="kss-assets/images/story-340-250.jpg" media="all and (min-width: 740px)" type="image/jpeg"/>
<source srcset="kss-assets/images/story-290-220.jpg" media="(min-width: 0px)" type="image/jpeg"/>
<img src="kss-assets/images/story-290-220.jpg" alt="story image left" typeof="foaf:Image" />
</picture>
</div>
<!-- Fundraiser copy -->
<div class="story__fundraiser-copy">
<div class="story__fundraiser-title">
<h3>£####</h3>
<span>RAISED</span>
</div>
<div class="story__fundraiser-body">
<p>Daniel from Worcester ducked, dived and dodged his way to raising £160 by holding a retro fancy dress dodgeball tournament at his local sport centre.</p>
</div>
</div>
</div>
<!--Background color class on fundraiser, needs to be rendered here as well -->
<div class="story__beneficiary-wrapper bg--blue">
<!-- Beneficiary copy -->
<div class="story__beneficiary-copy">
<div class="story__beneficiary-title">
<h3>Lives</h3>
<span>CHANGED</span>
</div>
<div class="story__beneficiary-body">
<p>This is enough to buy a bicycle ambulance that can help pregnant women in rural Malawi to reach life-saving medical services.</p>
</div>
</div>
<!-- Beneficiary image -->
<div class="story__beneficiary-image">
<picture>
<source srcset="kss-assets/images/story-300-330.jpg" media="all and (min-width: 1024px)" type="image/jpeg"/>
<source srcset="kss-assets/images/story-340-250.jpg" media="all and (min-width: 740px)" type="image/jpeg"/>
<source srcset="kss-assets/images/story-290-220.jpg" media="(min-width: 0px)" type="image/jpeg"/>
<img src="kss-assets/images/story-290-220.jpg" alt="story image left" typeof="foaf:Image" />
</picture>
</div>
</div>
</div>
</section>
_rnd17-styleguide.scss
, line 153
Partners Grid
This is the Partners Grid
Technology partners
-
PayPal -
Amazon Web Services -
Trillium -
Armakuni -
NCC Group -
Cisco -
BT MyDonate -
Worldpay
Markup: components/partners-grid/partners-grid.twig
<div class="view view-partners view-id-partners view-display-id-block_1 js-view-dom-id-7758a0e48e90dbaf2402acc9049443bff5572cab14c43ed56a1d0ea495cf197c clearfix partners-grid">
<div class="view-content clearfix">
<div class="item-list">
<h2>Technology partners</h2>
<ul>
<li>
<article role="article" about="/partners/paypal" class="node node--type-partner node--view-mode-teaser">
<span class="visually-hidden"><span class="field field--name-title field--type-string field--label-hidden">PayPal</span>
</span>
<div class="node__content">
<div class="partner__link">
<a href="http://www.paypal.com" title="find out more">
<img alt="PayPal" src="kss-assets/images/paypal-logo.png" width="670" height="377" typeof="foaf:Image">
<span>Find out more</span>
</a>
</div>
</div>
</article>
</li>
<li>
<article role="article" about="/partners/amazon-web-services" class="node node--type-partner node--view-mode-teaser">
<span class="visually-hidden"><span class="field field--name-title field--type-string field--label-hidden">Amazon Web Services</span>
</span>
<div class="node__content">
<div class="partner__link">
<a href="#" title="find out more">
<img alt="PayPal" src="kss-assets/images/paypal-logo.png" width="670" height="377" typeof="foaf:Image">
<span>Find out more</span>
</a>
</div>
</div>
</article>
</li>
<li>
<article role="article" about="/partners/trillium" class="node node--type-partner node--view-mode-teaser">
<span class="visually-hidden"><span class="field field--name-title field--type-string field--label-hidden">Trillium</span>
</span>
<div class="node__content">
<div class="partner__link">
<a href="#">
<img alt="PayPal" src="kss-assets/images/paypal-logo.png" width="670" height="377" typeof="foaf:Image">
<span>Find out more</span>
</a>
</div>
</div>
</article>
</li>
<li>
<article role="article" about="/partners/armakuni" class="node node--type-partner node--view-mode-teaser">
<span class="visually-hidden"><span class="field field--name-title field--type-string field--label-hidden">Armakuni</span>
</span>
<div class="node__content">
<div class="partner__link">
<a href="#">
<img alt="PayPal" src="kss-assets/images/paypal-logo.png" width="670" height="377" typeof="foaf:Image">
<span>Find out more</span>
</a>
</div>
</div>
</article>
</li>
<li>
<article role="article" about="/partners/ncc-group" class="node node--type-partner node--view-mode-teaser">
<span class="visually-hidden"><span class="field field--name-title field--type-string field--label-hidden">NCC Group</span>
</span>
<div class="node__content">
<div class="partner__link">
<a href="#">
<img alt="PayPal" src="kss-assets/images/paypal-logo.png" width="670" height="377" typeof="foaf:Image">
<span>Find out more</span>
</a>
</div>
</div>
</article>
</li>
<li>
<article role="article" about="/partners/cisco" class="node node--type-partner node--view-mode-teaser">
<span class="visually-hidden"><span class="field field--name-title field--type-string field--label-hidden">Cisco</span>
</span>
<div class="node__content">
<div class="partner__link">
<a href="#">
<img alt="PayPal" src="kss-assets/images/paypal-logo.png" width="670" height="377" typeof="foaf:Image">
<span>Find out more</span>
</a>
</div>
</div>
</article>
</li>
<li>
<article role="article" about="/partners/bt-mydonate" class="node node--type-partner node--view-mode-teaser">
<span class="visually-hidden"><span class="field field--name-title field--type-string field--label-hidden">BT MyDonate</span>
</span>
<div class="node__content">
<div class="partner__link">
<a href="#">
<img alt="PayPal" src="kss-assets/images/paypal-logo.png" width="670" height="377" typeof="foaf:Image">
<span>Find out more</span>
</a>
</div>
</div>
</article>
</li>
<li>
<article role="article" about="/partners/worldpay" class="node node--type-partner node--view-mode-teaser">
<span class="visually-hidden"><span class="field field--name-title field--type-string field--label-hidden">Worldpay</span>
</span>
<div class="node__content">
<div class="partner__link">
<a href="#">
<img alt="PayPal" src="kss-assets/images/paypal-logo.png" width="670" height="377" typeof="foaf:Image">
<span>Find out more</span>
</a>
</div>
</div>
</article>
</li>
</ul>
</div>
</div>
</div>
_rnd17-styleguide.scss
, line 206
Partners row
This is the Partners Row
Our wonderful partners
Markup: components/partners-row/partners-row.twig
<div class="partners-row paragraph">
<div class="partners-row-wrapper">
<div class="partners-row__body">
<h2>Our wonderful partners</h2>
<p><a class="link link--inline-black" href="#" title="See all our partners">See all our partners</a> <a class="link link--inline-black" href="#" target="_blank">Download partners shopping list</a></p>
</div>
<div class="partners-row__logos-list">
<ul>
<li><img alt="Sainsbury's" src="kss-assets/images/sainsburys_logo.png" width="210" height="118" typeof="foaf:Image"></li>
<li><img alt="Sainsbury's" src="kss-assets/images/sainsburys_logo.png" width="210" height="118" typeof="foaf:Image"></li>
<li><img alt="Sainsbury's" src="kss-assets/images/sainsburys_logo.png" width="210" height="118" typeof="foaf:Image"></li>
<li><img alt="Sainsbury's" src="kss-assets/images/sainsburys_logo.png" width="210" height="118" typeof="foaf:Image"></li>
<li><img alt="Sainsbury's" src="kss-assets/images/sainsburys_logo.png" width="210" height="118" typeof="foaf:Image"></li>
</ul>
</div>
</div>
</div>
</div>
_rnd17-styleguide.scss
, line 198
Markup: components/pagination/pagination.twig
<nav class="pager" role="navigation" aria-labelledby="pagination-heading">
<h4 id="pagination-heading" class="visuallyhidden">Pagination</h4>
<ul class="pager__items">
<li class="pager__item is-active">
<a href="#">
<span class="visuallyhidden">
Current Page
</span>1</a>
</li>
<li class="pager__item">
<a href="#">
<span class="visuallyhidden">
Page
</span>2</a>
</li>
<li class="pager__item">
<a href="" title="Current page">
<span class="visuallyhidden">
Page
</span>3</a>
</li>
<li class="pager__item pager__item--next">
<a href="#" title="Go to next page" rel="next">
<span class="visuallyhidden">Next page</span>
<span aria-hidden="true">››</span>
</a>
</li>
</ul>
</nav>
_rnd17-styleguide.scss
, line 263
Markup: components/header/base_header.twig
<header role="banner">
<div class="header__top-wrapper">
</div>
<div class="header__inner-wrapper">
{% include directory ~ '../navigation/main-nav.twig' %}
{% include directory ~ '../meta-icons/meta-icons.twig' %}
</div>
</header>
_rnd17-styleguide.scss
, line 283
Markup: components/search/search.twig
<div class="views-exposed-form contextual-region block search-block show" data-drupal-selector="views-exposed-form-search-page-1" id="block-exposedformsearchpage-1">
<div data-contextual-id="block:block=exposedformsearchpage_1:langcode=en|entity.view.edit_form:view=search:location=exposed_filter&name=search&display_id=page_1&langcode=en" class="contextual" role="form">
<button class="trigger focusable visually-hidden" type="button" aria-pressed="false">Open configuration options</button>
<ul class="contextual-links" hidden="">
<li class="block-configure"><a href="/web/admin/structure/block/manage/exposedformsearchpage_1?destination=test/esu">Configure block</a></li>
<li class="entityviewedit-form"><a href="/web/admin/structure/views/view/search/edit/page_1?destination=test/esu">Edit view</a></li>
</ul>
</div>
<div class="search-block__wrapper">
<div class="search-block__form">
<form action="/web/search" method="get" id="views-exposed-form-search-page-1" accept-charset="UTF-8" data-drupal-form-fields="edit-text">
<div class="js-form-item form-item js-form-type-textfield form-type-textfield js-form-item-text form-item-text">
<label for="edit-text">Search</label>
<input data-drupal-selector="edit-text" type="text" id="edit-text" name="text" value="" size="30" maxlength="128" class="form-text">
</div>
<div data-drupal-selector="edit-actions" class="form-actions js-form-wrapper form-wrapper" id="edit-actions"><input data-drupal-selector="edit-submit-search" type="submit" id="edit-submit-search" value="Apply" class="button js-form-submit form-submit"></div>
</form>
</div>
</div>
<a role="button" class="close-button" href="#">
<svg class="icon">
<use xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="#close-cross"></use>
</svg>
</a>
</div>
_rnd17-styleguide.scss
, line 251
Card banner
Uses card block.
Markup: components/banners/card-banner.twig
<div class="card-banner {{ bg_colour }}">
{{ title_suffix.contextual_links }}
<div class="card-banner__inner-wrapper">
{# {% if field_cr_card_image['#items'].value %} #}
<div class="card-banner__image">
{{ field_cr_card_image }}
</div>
{# {% endif %} #}
<div class="card-banner__content">
{{ field_cr_card_body }}
</div>
</div>
</div>
_rnd17-styleguide.scss
, line 109
Progress bar
This is Progress bar
Markup: components/progress-bar/progress-bar.twig
<div class="progress-bar">
<a class="progress-bar__back-link">back</a>
<ul class="progress-bar__steps-3">
<li class="progress-bar--done">
<a class="progress-bar__step-link" href="#">
<span class="progress-bar__step">1/3 :</span>
<span class="progress-bar__title">Login Details</span>
</a>
</li>
<li class="progress-bar--active">
<a class="progress-bar__step-link" href="#">
<span class="progress-bar__step">2/3 :</span>
<span class="progress-bar__title">Contact Details</span>
</a>
</li>
<li class="progress-bar--todo">
<a class="progress-bar__step-link" href="#">
<span class="progress-bar__step">3/3 :</span>
<span class="progress-bar__title">Complete Your Giving Page</span>
</a>
</li>
</ul>
</div>
_rnd17-styleguide.scss
, line 222
Progress indicator
This is Progress indicator
Markup: components/progress-indicator/progress-indicator.twig
<div>
<ul class="progress-indicator__steps-3 progress-indicator">
<li class="progress-indicator--done">
<span class="progress-indicator__step-link">
<span class="progress-indicator__step progress-indicator__circle"></span>
<span class="progress-bar__title">
Email
</span>
</span>
</li>
<li class="progress-indicator--active">
<span class="progress-indicator__step-link">
<span class="progress-indicator__step progress-indicator__circle"></span>
<span class="progress-bar__title">
Account
</span>
</span>
</li>
<li class="progress-indicator--todo">
<span class="progress-indicator__step-link">
<span class="progress-indicator__step progress-indicator__circle"></span>
<span class="progress-bar__title">
Giving Page
</span>
</span>
</li>
</ul>
</div>
_rnd17-styleguide.scss
, line 230
Set a fundraising target
Be ambitious.You can do it
Thanks to you, at least three children living and working on the streets of Liberia could go to school for an entire year.
Markup: components/fundraising-target/fundraising-target.twig
<div class="userFrTarget">
<div class="amount">
<h6>Set a fundraising target</h6>
<p class="form__subcopy">Be ambitious.You can do it</p>
<div>
<span class="pounds-typography">£</span>
<input type="text" autocomplete="on" class="form__input extra" id="userFrTarget" name="userFrTarget" value="150" maxlength="6">
</div>
</div>
<div class="copy">
<div class="digit digit-1">
<span>3</span>
</div>
<div class="digit-copy">
<div>
<p>
Thanks to you, at least <strong>three</strong> children living and
working on the streets of Liberia could go to school for an entire year.
</p>
</div>
</div>
</div>
</div>
_rnd17-styleguide.scss
, line 277
Name, email and billing address: we need it to create a receipt for your payment nd send it to you.
Phone number: we collect it in case there is an issue with donation
Establishment information: we use this information to understand better which institutions raise money for us.
Markup: components/just-in-time-block/just-in-time-block.twig
<div class="form__row form__row--just-in-time-block">
<div class="form__fieldset">
<a href="#show" aria-expanded="true" class="link toggle-link show-link" aria-label="click to open" id="show">What you can expect to receive from us</a>
<a href="#hide" class="link toggle-link close-link" aria-label="click to close" aria-expanded="false" id="hide">What you can expect to receive from us</a>
<div class="just-in-time--content">
<p><strong>Name, email and billing address:</strong> we need it to create a receipt for your payment nd send it to you.</p>
<p><strong>Phone number:</strong> we collect it in case there is an issue with donation</p>
<p><strong>Establishment information:</strong> we use this information to understand better which institutions raise money for us.</p>
</div>
</div>
</div>
_rnd17-styleguide.scss
, line 289
Postcode lookup
This is postcode lookup
Markup: components/postcode-lookup/postcode-lookup.twig
<div class="form__row--address-lookup">
<div class="form__field--wrapper form__text form__field--postcode">
<div class="search-box form__field--wrapper">
<label class="form__field form__field--postcode form__text required" id="postcode-label" for="comicrelief_payinbundle_payment_postcode">Postcode</label>
<div class="form__field--postcode">
<input
type="text"
id="comicrelief_payinbundle_payment_postcode"
name="comicrelief_payinbundle_payment[postcode]"
required="required"
placeholder="SE1 7TP"
class="form__field form__field--text"
/>
<div class="form__btn">
<input
type="button"
id="postcode_button"
name="btnPostcodeSearch"
class="btnPostcodeSearch btn form__btn--postcode"
value="FIND ADDRESS"
/>
</div>
</div>
</div>
<a role="button" href="" class="form__btn--address-detail link">Or enter your address manually</a>
</div>
<div class="form__field--wrapper form__text form__field--postcode">
<div class="search-box form__field--wrapper">
<label class="form__field form__field--postcode form__text required" id="postcode-label" for="comicrelief_payinbundle_payment_postcode">Postcode</label>
<div class="form__field--postcode">
<input
type="text"
id="comicrelief_payinbundle_payment_postcode"
name="comicrelief_payinbundle_payment[postcode]"
required="required"
placeholder="SE1 7TP"
class="form__field form__field--text form__field--error-outline"
/>
<div class="form__btn">
<input
type="button"
id="postcode_button"
name="btnPostcodeSearch"
class="btnPostcodeSearch btn form__btn--postcode"
value="FIND ADDRESS"
/>
</div>
</div>
<div id="postcode-error" class="error-container js-error has-error" aria-live="assertive" role="status">
<span class="help-block form-error">Please enter a valid postcode</span>
</div>
</div>
<a role="button" href="" class="form__btn--address-detail link">Or enter your address manually</a>
</div>
</div>
_rnd17-styleguide.scss
, line 214