Document List

No notes defined.

<!-- Default -->
<ul class="sds-documentList list-unstyled sds-stackMd">
    <li>
        <a href="" class="sds-document sds-box sds-boxShadowInteraction">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
    <li>
        <a href="" class="sds-document sds-box sds-boxShadowInteraction">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
    <li>
        <a href="" class="sds-document sds-box sds-boxShadowInteraction">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
    <li>
        <a href="" class="sds-document sds-box sds-boxShadowInteraction">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
    <li>
        <a href="" class="sds-document sds-box sds-boxShadowInteraction">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
    <li>
        <a href="" class="sds-document sds-box sds-boxShadowInteraction">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
</ul>

<!-- Inverted -->
<ul class="sds-documentList list-unstyled -inverted">
    <li>
        <a href="" class="sds-document -inverted">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary -btnInverse">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
    <li>
        <a href="" class="sds-document -inverted">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary -btnInverse">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
    <li>
        <a href="" class="sds-document -inverted">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary -btnInverse">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
    <li>
        <a href="" class="sds-document -inverted">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary -btnInverse">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
    <li>
        <a href="" class="sds-document -inverted">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary -btnInverse">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
    <li>
        <a href="" class="sds-document -inverted">
            <h3 class="h4">Brochure &#39;Guide du Prêt au Logement&#39;</h3>
            <div class="sds-document__actionZone">
                <span class="sds-btn -iconBtn -btnSecondary -btnInverse">

                    <span class="sds-icon sds-icon-download"></span>

                </span>
            </div>
        </a>
    </li>
</ul>

<!-- Default -->
<ul class="{{ namespace }}documentList list-unstyled {{ namespace }}stackMd{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<li>
		{% render "@spk-document--row" %}
	</li>
	<li>
		{% render "@spk-document--row" %}
	</li>
	<li>
		{% render "@spk-document--row" %}
	</li>
	<li>
		{% render "@spk-document--row" %}
	</li>
	<li>
		{% render "@spk-document--row" %}
	</li>
	<li>
		{% render "@spk-document--row" %}
	</li>
</ul>

<!-- Inverted -->
<ul class="{{ namespace }}documentList list-unstyled{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<li>
		{% render "@spk-document--row-small" %}
	</li>
	<li>
		{% render "@spk-document--row-small" %}
	</li>
	<li>
		{% render "@spk-document--row-small" %}
	</li>
	<li>
		{% render "@spk-document--row-small" %}
	</li>
	<li>
		{% render "@spk-document--row-small" %}
	</li>
	<li>
		{% render "@spk-document--row-small" %}
	</li>
</ul>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}documentList {
    
    	/* 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 */
    
    
    
    	/* modifiers */
    
    	// documentList -inverted
    	&.-inverted {
    
    		// follows same logic as base element
    
    		// documentList > * + *
    		> * + * {
    
    			// follows same logic as parent
    
    			margin-top: map-deep-get($token-spacer-stack-max-map, "xs");
    
    		}
    
    
    		> * {
    
    			&:not(:first-of-type):not(:last-of-type) {
    
    				> * {
    
    					border-radius: 0;
    
    				}
    
    			}
    
    			&:first-of-type {
    				> * {
    					border-bottom-left-radius: 0;
    					border-bottom-right-radius: 0;
    				}
    			}
    
    			&:last-of-type {
    				> * {
    					border-top-left-radius: 0;
    					border-top-right-radius: 0;
    				}
    			}
    
    		}
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/spk-document-list/_document-list.scss
  • Filesystem Path: components/spuerkeess-site/organisms/document-list/_document-list.scss
  • Size: 1.3 KB