No notes defined.
<div class="sds-blogFilters">
<div class="sds-staticStackMd">
<ul class="list-unstyled sds-btnGroup -medium -wrap -hasVerticalSpacing">
<li>
<button type="button" class="sds-blogFilters__btn -secondary -isSelected">
Logement
</button>
</li>
<li>
<button type="button" class="sds-blogFilters__btn -secondary">
Placement
</button>
</li>
</ul>
<ul class="list-unstyled sds-btnGroup -medium -wrap -hasVerticalSpacing">
<li>
<button type="button" class="sds-blogFilters__btn -primary -isSelected">
Tuyaux
</button>
</li>
<li>
<button type="button" class="sds-blogFilters__btn -primary">
Vidéos
</button>
</li>
<li>
<button type="button" class="sds-blogFilters__btn -primary">
Simulateur
</button>
</li>
<li>
<button type="button" class="sds-blogFilters__btn -primary">
Liens
</button>
</li>
</ul>
</div>
</div>
<div class="{{ namespace }}blogFilters{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
<div class="{{ namespace }}staticStackMd">
<ul class="list-unstyled {{ namespace }}btnGroup -medium -wrap -hasVerticalSpacing">
<li>
<button type="button" class="{{ namespace }}blogFilters__btn -secondary -isSelected">
Logement
</button>
</li>
<li>
<button type="button" class="{{ namespace }}blogFilters__btn -secondary">
Placement
</button>
</li>
</ul>
<ul class="list-unstyled {{ namespace }}btnGroup -medium -wrap -hasVerticalSpacing">
<li>
<button type="button" class="{{ namespace }}blogFilters__btn -primary -isSelected">
Tuyaux
</button>
</li>
<li>
<button type="button" class="{{ namespace }}blogFilters__btn -primary">
Vidéos
</button>
</li>
<li>
<button type="button" class="{{ namespace }}blogFilters__btn -primary">
Simulateur
</button>
</li>
<li>
<button type="button" class="{{ namespace }}blogFilters__btn -primary">
Liens
</button>
</li>
</ul>
</div>
</div>
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}blogFilters {
/* 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 */
// blogFilters__childElement
&__btn {
// follows same logic as parent
@include custom-prop-fallback("background-color", "comp-button-secondary-background-color");
@include custom-prop-fallback("color", "comp-button-secondary-text-color");
font-size: $badge-font-size;
font-weight: $badge-font-weight;
border-radius: $badge-border-radius;
transition: $badge-transition;
padding: $badge-padding-y $badge-padding-x !important;
line-height: 1;
@include media-breakpoint-up("lg") {
border-radius: $btn-base-border-radius-global;
padding: $input-padding-x $input-padding-x*2 !important;
@include spacer-component-inline("sm");
font-weight: $btn-base-font-weight-global;
font-size: $btn-base-font-size-global;
display: inline-flex;
align-items: center;
justify-content: center;
text-align: center;
min-height: $btn-base-height-global;
outline-offset: -($border-width*2) !important;
line-height: inherit;
}
&.-isSelected {
outline: $border-width*2 solid !important;
outline-offset: $border-width*2;
}
&.-secondary {
&:hover,
&:focus-visible {
@media (hover: hover) {
@include custom-prop-fallback("background-color", "comp-button-secondary-hovered-background-color", true, true);
}
}
}
&.-primary {
@include custom-prop-fallback("background-color", "sys-color-background-secondary-10");
@include custom-prop-fallback("color", "sys-color-background-secondary-160");
&:hover,
&:focus-visible {
@media (hover: hover) {
@include custom-prop-fallback("background-color", "sys-color-background-secondary-20",true,true);
}
}
}
}
/* modifiers */
// blogFilters -altStyle
&.-altStyle {
// follows same logic as base element
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}