The -fullWidthOutOfBounds modifier extends the background past the S-NET frame inner.
<div class="sds-searchHeader">
<div class="sds-searchHeader__container">
<h1 class="sds-searchHeader__title h1">Aide</h1>
</div>
<div class="sds-searchHeader__search">
<div class="container-fluid">
<div class="row no-bottom-gutter justify-content-center">
<div class="col-12 col-md-8">
<div class="sds-input -search -hasIcon -bgWhite -large -noBorder">
<input id="" class="sds-input form-control" type="text" placeholder="Recherche" value="">
<div class="sds-input__searchActions">
<div class="sds-input__clearBtn">
<button type="button" class="sds-btn -iconBtn -btnSecondary -ghost -smaller">
<span class="sds-icon sds-icon-close"></span>
</button>
</div>
<div class="sds-input__searchBtn">
<button type="button" class="sds-btn -btnSecondary" disabled>
<span class="sds-btn__text">Rechercher</span>
</button>
</div>
</div>
<div class="sds-input__iconLeft">
<span class="sds-icon sds-icon-search"></span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="{{ namespace }}searchHeader{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
<div class="{{ namespace }}searchHeader__container">
<h1 class="{{ namespace }}searchHeader__title h1">{{ title }}</h1>
</div>
<div class="{{ namespace }}searchHeader__search">
<div class="container-fluid">
<div class="row no-bottom-gutter justify-content-center">
<div class="col-12 col-md-8">
{% render '@input--search-bg-white-large' %}
</div>
</div>
</div>
</div>
</div>
@use "sass:math";
/* variables specific to current element */
$header-padding: map-deep-get($token-spacer-unit-map, "64");
.#{$namespace}searchHeader {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* properties of current element + media queries */
/* Pseudo Elements */
&::before {
}
&::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 */
// searchHeader__container
&__container {
padding: $header-padding math.div($header-padding,2);
background-color: map-deep-get($token-color-brand-map, "secondary", "160");
}
&__title {
color: map-deep-get($token-color-grayscale-map, "0");
}
&__search {
transform: translateY(-50%);
}
/* modifiers */
// searchHeader -fullWidthOutOfBounds
&.-fullWidthOutOfBounds {
// follows same logic as base element
#{$self}__container {
position: relative;
@include media-breakpoint-up(xxl){
&::after {
content: "";
position: absolute;
z-index: z("negative");
top: 0;
bottom: 0;
left: 0;
width: calc(50vw + ((#{map-deep-get($token-breakpoints-map, xxl)} - #{$snet-frame-menu-open-width-global})*0.5) - #{math.div($snet-frame-menu-open-width-global,2)});
background-color: inherit;
}
}
}
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}