Fake Video Trigger

Button can be used as a modal trigger to call modal with video embed. For a usage example, please refer to the referenced by section in the info tab and see "@snet-decouvir-espace-professionnel".
<div class="sds-fakeVideoTrigger centeredBgi embed-responsive embed-responsive-16by9" style="background-image:url(https://design.spuerkeess.lu/media/illustrations/svg750x560/hero/sdsillu-passiveincome.svg);">
    <div class="sds-fakeVideoTrigger__inner embed-responsive-item">
        <button type="button" class="sds-btn -iconBtn -btnSecondary -btnInverse -btnBig stretched-link" data-toggle="modal" data-target="#exampleModal">

            <span class="sds-icon sds-icon-play-l"></span>

        </button>
    </div>
</div>
<div class="{{ namespace }}fakeVideoTrigger centeredBgi embed-responsive embed-responsive-16by9{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}" style="background-image:url({{ ("https://design.spuerkeess.lu/media" + illustrationsSDSPath + svg750xPath + "/hero/sdsillu-passiveincome.svg") }});">
	<div class="{{ namespace }}fakeVideoTrigger__inner embed-responsive-item">
		{% render "@icon-btn-secondary-inverse--big",{
			classes: ["stretched-link"],
			icon: "icon-play-l",
			attrs: fakeVideoTriggerPlayOptions
		},true %}
	</div>
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}fakeVideoTrigger {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    	position: relative;
    	border-radius: map-deep-get($token-radius-map, "16");
    
    	/* Pseudo Elements */
    
    	&::before {
    	}
    
    	&::after {
    
    		content: "";
    		position: absolute;
    		z-index: z("zero");
    		top: 0;
    		left: 0;
    		width: 100%;
    		height: 100%;
    		background-color: rgba(map-deep-get($token-color-brand-map, "secondary","100"), 0.64);
    
    	}
    
    	/*
    	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 */
    
    	// fakeVideoTrigger__inner
    	&__inner {
    
    		// follows same logic as parent
    
    		z-index: z("low");
    		display: flex;
    		align-items: center;
    		justify-content: center;
    
    	}
    
    	/* modifiers */
    
    	// fakeVideoTrigger -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-fake-video-trigger/_fake-video-trigger.scss
  • Filesystem Path: components/snet/molecules/fake-video-trigger/_fake-video-trigger.scss
  • Size: 1.3 KB