No notes defined.
<!-- Default -->
<button type="button" class="sds-btnTile sds-stackSm">
<span class="sds-iconCircle -secondary10 sds-btnTile__icon" aria-hidden="true">
<span class="sds-icon sds-icon-checkin"></span>
</span>
<p class="sds-textBold sds-textHelperSmall">Entrée oubliée</p>
</button>
<!-- Success 100 -->
<button type="button" class="sds-btnTile sds-stackSm -success100">
<span class="sds-iconCircle -secondary10 sds-btnTile__icon" aria-hidden="true">
<span class="sds-icon sds-icon-checkin"></span>
</span>
<p class="sds-textBold sds-textHelperSmall">Entrée oubliée</p>
</button>
<!-- Primary 100 -->
<button type="button" class="sds-btnTile sds-stackSm -primary100">
<span class="sds-iconCircle -secondary10 sds-btnTile__icon" aria-hidden="true">
<span class="sds-icon sds-icon-checkin"></span>
</span>
<p class="sds-textBold sds-textHelperSmall">Entrée oubliée</p>
</button>
<{{ eltType }}{%- if eltType === "button" %} type="button"{% elseif eltType === "a" %} href="{{ href }}"{% endif %} class="{{ namespace }}btnTile {{ namespace }}stackSm{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}"{% for attrKey, attr in attrs %} {{ attrKey }}="{{ attr }}"{% endfor %}>
{% render '@icon-circle-regular--secondary-10',{
icon : icon,
classes: [namespace + "btnTile__icon"]
}, true %}
<p class="{{ namespace }}textBold {{ namespace }}textHelperSmall">{{ text }}</p>
</{{ eltType }}>
.#{$namespace}btnTile {
/* Save root element context for easy access if nesting is needed */
$self: &;
/* variables specific to current element */
$element-specific-variables: "";
/* properties of current element + media queries */
min-width: 110px;
text-align: center;
@include spacer-component-inset("sm");
border-radius: map-deep-get($token-radius-map, "16");
@include custom-prop-fallback("color","sys-color-text-primary-vivid");
/* 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 */
/* modifiers */
// btnTile -success100
&.-success100 {
#{$self}__icon {
@include custom-prop-fallback("color", "sys-color-text-status-success-vivid");
}
}
// btnTile -primary100
&.-primary100 {
#{$self}__icon {
@include custom-prop-fallback("color", "sys-color-text-status-danger-vivid");
}
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover,
&:focus {
@media (hover: hover) {
@include custom-prop-fallback("background-color", "comp-button-secondary-background-color");
}
}
&:active {
}
&:focus,
&:active {
}
}