Filters Bar: Default

No notes defined.

<div class="sds-filtersBar">
    <div class="row justify-content-between">
        <div class="sds-filtersBar__col col">
            <div class="dropdown">
                <button type="button" class="sds-btn -btnSecondary dropdown-toggle" data-toggle="dropdown" data-display="static">

                    <span class="sds-btn__text">Trier par Non lus</span>

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

                </button>
                <div aria-labelledby="" class="sds-actionMenu dropdown-menu dropdown-menu-left">

                    <div class="dropdown-item">
                        <div class="sds-radio custom-control custom-radio">
                            <input value="radio-value" type="radio" name="radio-name" class="sr-only custom-control-input " id="action-menu-radio-0-base" checked><span class="sds-radioDot  sds-radio__shape" aria-hidden="true"></span>
                            <label class="custom-control-label" for="action-menu-radio-0-base">
                                Non Lus
                            </label>

                        </div>
                    </div>

                    <div class="dropdown-item">
                        <div class="sds-radio custom-control custom-radio">
                            <input value="radio-value" type="radio" name="radio-name" class="sr-only custom-control-input " id="action-menu-radio-1-base"><span class="sds-radioDot  sds-radio__shape" aria-hidden="true"></span>
                            <label class="custom-control-label" for="action-menu-radio-1-base">
                                Lus
                            </label>

                        </div>
                    </div>

                </div>
            </div>
        </div>
        <div class="col-auto">
            <button type="button" class="sds-btn -btnSecondary">

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

                <span class="sds-btn__text">Rechercher</span>

            </button>
        </div>
    </div>
</div>
<div class="{{ namespace }}filtersBar{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="row justify-content-between">
		<div class="{{ namespace }}filtersBar__col col">
			<div class="dropdown">
				{% render "@btn-secondary--icon-right",{
					icon: "icon-chevrondown",
					classes: ["dropdown-toggle"],
					text: "Trier par Non lus",
					attrs: {
						"data-toggle": "dropdown",
						"data-display": "static"
					}
				},true %}
				{% render "@snet-action-menu--radios",filterBarNewscenterDropdownOptions,true  %}
			</div>
		</div>
		<div class="col-auto">
			{% render "@btn-secondary--icon-left",{
				icon: "icon-search",
				text: "Rechercher"
			},true %}
		</div>
	</div>
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}filtersBar {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    	margin-bottom: map-deep-get($token-spacer-stack-max-map, "lg");
    
    	/* 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 */
    
    	// filtersBar__col
    	&__col {
    
    		// follows same logic as parent
    
    		display: flex;
    		align-items: center;
    		@include spacer-component-inline("md");
    
    	}
    
    	// filtersBar__alignEnd
    	&__alignEnd {
    
    		// follows same logic as parent
    
    		margin-left: auto;
    
    	}
    
    
    	/* modifiers */
    
    	// filtersBar -altStyle
    	&.-altStyle {
    
    		// follows same logic as base element
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/snet-filters-bar/_filters-bar.scss
  • Filesystem Path: components/snet/organisms/filters-bar/_filters-bar.scss
  • Size: 1.2 KB