Video Card

No notes defined.

<div class="sds-videoCard sds-box">
    <div class="sds-fakeVideoTrigger centeredBgi embed-responsive embed-responsive-16by9 sds-videoCard__header" 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="#accessConventionsVideoModal">

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

            </button>
        </div>
    </div>
    <div class="sds-videoCard__content">
        <div class="sds-videoCard__body">
            <div class="h2">Spuerkeess pour le Business</div>
            <p class="sds-textBodyLg">Activez un compte Business afin de profiter des fonctionnalités vous permettant de mieux gérer les comptes de votre société.</p>
            <div class="sds-videoCard__linkWrapper">
                <a href="" class="sds-videoCard__link">Plus d'informations</a>
            </div>
        </div>
        <div class="sds-videoCard__footer">
            <button type="button" class="sds-btn -btnPrimary">

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

            </button>
        </div>
    </div>
</div>
<div class="{{ namespace }}videoCard {{ namespace }}box{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	{% render "@snet-fake-video-trigger",{
		classes: [namespace + "videoCard__header"],
		fakeVideoTriggerPlayOptions: {
			"data-toggle": "modal",
			"data-target": "#accessConventionsVideoModal"
		}
	},true %}
	<div class="{{ namespace }}videoCard__content">
		<div class="{{ namespace }}videoCard__body">
			<div class="h2">Spuerkeess pour le Business</div>
			<p class="{{ namespace }}textBodyLg">Activez un compte Business afin de profiter des fonctionnalités vous permettant de mieux gérer les comptes de votre société.</p>
			<div class="{{ namespace }}videoCard__linkWrapper">
				<a href="" class="{{ namespace }}videoCard__link">Plus d'informations</a>
			</div>
		</div>
		<div class="{{ namespace }}videoCard__footer">
			{% render "@btn-primary",{
				text: "Activer",
				attrs: videoCardBtnOptions
			},true %}
		</div>
	</div>
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}videoCard {
    
    	/* 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 */
    
    
    	//videoCard__header
    	&__header {
    
    		border-bottom-left-radius: 0;
    		border-bottom-right-radius: 0;
    
    	}
    
    	// videoCard__play
    	&__play {
    
    		// follows same logic as parent
    
    		position: absolute;
    		z-index: z("low");
    		top: 50%;
    		left: 50%;
    		transform: translate(-50%,-50%);
    
    	}
    
    	// videoCard__content
    	&__content {
    
    		@include spacer-component-inset("xl");
    		text-align: center;
    
    	}
    
    	// videoCard__body
    	&__body {
    
    		@include spacer-component-stack("xs");
    
    	}
    
    	&__footer {
    
    		margin-top: map-deep-get($token-spacer-stack-max-map, "xl");
    		display: flex;
    		justify-content: center;
    
    	}
    
    	&__linkWrapper {
    
    		margin-top: map-deep-get($token-spacer-stack-max-map, "md");
    
    	}
    
    	&__link {
    
    		@include link-underline();
    		@extend .#{$namespace}link;
    
    	}
    
    
    	/* modifiers */
    
    	// videoCard -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-video-card/_video-card.scss
  • Filesystem Path: components/snet/molecules/video-card/_video-card.scss
  • Size: 1.6 KB