No notes defined.
<nav class="sds-linkTabs">
<ul class="sds-linkTabs__inner nav nav-tabs">
<li class="nav-item">
<a class="nav-link active" href="">Active</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">Link</a>
</li>
<li class="nav-item">
<a class="nav-link" href="">Another link</a>
</li>
</ul>
</nav>
<nav class="{{ namespace }}linkTabs{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}"{% for attrKey, attr in attrs %} {{ attrKey }}="{{ attr }}"{% endfor %}>
<ul class="{{ namespace }}linkTabs__inner nav nav-tabs">
{% for key, item in tabs %}
{% if item %}
<li class="nav-item">
<a class="nav-link{% if item.active %} active{% endif %}" href="{{ item.href }}">{{ item.text | safe }}</a>
</li>
{% endif %}
{% endfor %}
</ul>
</nav>
/* variables specific to current element */
$element-specific-variables: "";
.#{$namespace}linkTabs {
/* 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 */
// linkTabs__childElement
&__childElement {
// follows same logic as parent
}
/* modifiers */
// linkTabs -altStyle
// linkTabs -insetYLg
&.-insetYLg {
// follows same logic as base element
padding-top: map-deep-get($token-spacer-inset-map, "lg");
padding-bottom: map-deep-get($token-spacer-inset-map, "lg");
}
/* random parent element */
/*
*
* Syntax : .randomParentElt & {}
*
*/
/* Pseudo Classes */
&:hover {
@media (hover: hover) {
}
}
&:focus {
}
&:active {
}
&:focus,
&:active {
}
}