No notes defined.
<!-- Default -->
<div class="sds-quote">
<blockquote class="sds-quote__textContent">
<p class="sds-quote__text">Donc, avec mon client, il s’agit de bien analyser quelle partie de son capital il pourra investir sans qu’il se retrouve dans la situation de devoir y recourir aux moments d’imprévus.</p>
<cite class="sds-quote__author">Claude Folschette</cite>
</blockquote>
<a href="" class="sds-btn -btnSecondary">
<span class="sds-icon sds-icon-socialtwitter"></span>
<span class="sds-btn__text">Tweet</span>
</a>
</div>
<!-- Blue -->
<div class="sds-quote -isHighlighted">
<blockquote class="sds-quote__textContent">
<p class="sds-quote__text">Donc, avec mon client, il s’agit de bien analyser quelle partie de son capital il pourra investir sans qu’il se retrouve dans la situation de devoir y recourir aux moments d’imprévus.</p>
<cite class="sds-quote__author">Claude Folschette</cite>
</blockquote>
<a href="" class="sds-btn -btnSecondary">
<span class="sds-icon sds-icon-socialtwitter"></span>
<span class="sds-btn__text">Tweet</span>
</a>
</div>
<!-- No Quotes -->
<div class="sds-quote -noQuotes">
<blockquote class="sds-quote__textContent">
<p class="sds-quote__text">Donc, avec mon client, il s’agit de bien analyser quelle partie de son capital il pourra investir sans qu’il se retrouve dans la situation de devoir y recourir aux moments d’imprévus.</p>
<cite class="sds-quote__author">Claude Folschette</cite>
</blockquote>
<a href="" class="sds-btn -btnSecondary">
<span class="sds-icon sds-icon-socialtwitter"></span>
<span class="sds-btn__text">Tweet</span>
</a>
</div>
<!-- Small -->
<div class="sds-quote -small">
<blockquote class="sds-quote__textContent">
<p class="sds-quote__text">Donc, avec mon client, il s’agit de bien analyser quelle partie de son capital il pourra investir sans qu’il se retrouve dans la situation de devoir y recourir aux moments d’imprévus.</p>
<cite class="sds-quote__author">Claude Folschette</cite>
</blockquote>
<a href="" class="sds-btn -btnSecondary">
<span class="sds-icon sds-icon-socialtwitter"></span>
<span class="sds-btn__text">Tweet</span>
</a>
</div>
<div class="{{ namespace }}quote{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
<blockquote class="{{ namespace }}quote__textContent">
<p class="{{ namespace }}quote__text">{{ text }}</p>
<cite class="{{ namespace }}quote__author">{{ author }}</cite>
</blockquote>
{% if link %}
{% render "@btn-secondary--icon-left",{
eltType: "a",
icon: btnIcon,
text: btnText
},true %}
{% endif %}
</div>
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}quote {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* properties of current element + media queries */
@include spacer-component-stack("lg");
@include fluid-padding-left($min_width, $max_width, $h1-page-cover-font-size-min*1.35, $h1-page-cover-font-size*1.35, true);
position: relative;
/* Pseudo Elements */
&::before {
content: "“";
position: absolute;
top: -0.15em;
left: 0;
font-family: $headings-font-family;
font-style: italic;
font-weight: map-deep-get($token-font-weight-map, "semi-bold");
@include fluid-type($min_width, $max_width, $h1-page-cover-font-size-min*2, $h1-page-cover-font-size*2, true);
width: 0.75em;
@include custom-prop-fallback("background","comp-quote-marks-background-color");
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
line-height: 1;
}
&::after {
}
/*
Include elements that are linked to the current element but have to reside at the root level of the stylesheet
(e.g: keyframes)
*/
@at-root {
}
/* children - write selector in full in comments in order to facilitate search */
// quote__textContent
&__textContent {
// follows same logic as parent
margin-bottom: 0;
@include spacer-component-stack("lg");
}
// quote__text
&__text {
font-family: $sub-headings-font-family;
@include fluid-type($min_width, $max_width, $h1-page-cover-font-size-min, $h1-page-cover-font-size, true);
line-height: map-deep-get($token-font-line-height-map,"s");
@include custom-prop-fallback("color", "sys-color-text-primary-vivid", true, true)
}
// quote__author
&__author {
display: inline-block;
@include custom-prop-fallback("color", "sys-color-text-primary-muted");
font-style: normal;
font-weight: map-deep-get($token-font-weight-map, "semi-bold");
}
/* modifiers */
// quote -isHighlighted
&.-isHighlighted {
// follows same logic as base element
&::before {
@include custom-prop-fallback-override("comp-quote-marks-background-color", "comp-quote-highlight-marks-background-color");
}
}
&.-noQuotes {
padding-left: 0 !important;
&::before {
content: none;
}
}
header {}
&.-small {
@include fluid-padding-left($min_width, $max_width, $h1-font-size-min*1.25, $h1-font-size*1.25, true);
&::before {
@include fluid-type($min_width, $max_width, $h1-page-cover-font-size-min, $h1-page-cover-font-size, true);
}
#{$self}__text {
@include fluid-type($min_width, $max_width, $h1-font-size-min, $h1-font-size, true);
}
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}