Speechbubble Cover

No notes defined.

<div class="sds-speechbubbleCover">
    <div class="sds-speechbubbleCover__inner">
        <img src="../../media/spuerkeess-site/components/mia/mia-cover-mobile.png" alt="" class="sds-speechbubbleCover__mobile img-fluid">
        <img src="../../media/spuerkeess-site/components/mia/mia-cover.png" alt="" class="img-fluid">
    </div>
    <div class="sds-speechbubbleCover__bubble">
        <div class="sds-speechbubble" data-popper-placement="bottom">
            <div class="sds-stackLg">
                <div class="sds-stackXs">
                    <div class="h3 sds-colorInherit">Bonjour, je suis MIA</div>
                    <p>Ton assistant financier personnel, entièrement gratuit, qui t'aide à classer tes recettes et dépenses de manière simple et intelligente.</p>
                </div>
                <button type="button" class="sds-btn -btnSecondary -btnInverse">

                    <span class="sds-btn__text">Découvrir</span>

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

                </button>
            </div>
            <div class="sds-speechbubble__arrow" aria-hidden="true" data-toggle-visibility-at="lg"></div>
        </div>
    </div>
</div>
<div class="{{ namespace }}speechbubbleCover{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}speechbubbleCover__inner">
		<img src="{{ (mediaPath + "/spuerkeess-site/components/mia/mia-cover-mobile.png") | path }}" alt="" class="{{ namespace }}speechbubbleCover__mobile img-fluid">
		<img src="{{ (mediaPath + "/spuerkeess-site/components/mia/mia-cover.png") | path }}" alt="" class="img-fluid">
	</div>
	<div class="{{ namespace }}speechbubbleCover__bubble">
		{% render "@spk-speechbubble" %}
	</div>
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}speechbubbleCover {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    	position: relative;
    
    	/* 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 */
    
    	&__inner {
    
    		position: relative;
    
    	}
    
    	// speechbubbleCover__bubble
    	&__bubble {
    
    		// follows same logic as parent
    
    		padding-right: (map-deep-get($token-spacer-grid-map, "gutter")*0.5);
    
    		@include media-breakpoint-up("lg") {
    
    			position: absolute;
    			width: 50%;
    			top: 50%;
    			right: 0;
    			transform: translateY(-50%);
    
    		}
    
    	}
    
    	[data-toggle-visibility-at="lg"] {
    
    		@include media-breakpoint-up("lg") {
    
    			display: none;
    
    		}
    
    	}
    	
    	&__mobile {
    
    		position: absolute;
    		bottom: 5%;
    		left: 7%;
    		max-height: 100%;
    		width: auto !important;
    
    		@include media-breakpoint-up("lg") {
    
    			bottom: 25px;
    			left: 70px;
    
    		}	
    			
    	}		
    
    
    	/* modifiers */
    
    	// speechbubbleCover -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/spk-speechbubble-cover/_speechbubble-cover.scss
  • Filesystem Path: components/spuerkeess-site/organisms/speechbubble-cover/_speechbubble-cover.scss
  • Size: 1.5 KB