Alert: Spot Selects

No notes defined.

<div class="sds-alert alert alert-warning-30">
    <div class="sds-alert__content sds-staticStackMd">
        <p class="">Il reste seulement 2 places de libres. Que voulez-vous faire?</p>
        <div class="row row-xs align-items-stretch-immediate">
            <div class="col-12 col-md-6">
                <div class="sds-spotSelect sds-showCustomIndicatorHover ">
                    <input type="radio" id="events-alert-choice-1" class="sds-spotSelect__radioInput sr-only" value="" name="radio-name">
                    <div data-scope-wrapper="box" data-scope="flat" class="sds-spotSelect__body">
                        <div class="sds-spotSelect__content">

                            <span class="sds-radioDot  sds-spotSelect__checkItem" aria-hidden="true"></span>

                            <div class="sds-spotSelect__inner sds-stackMd">
                                <div class="sds-spotSelect__text">

                                    <p><label class="sds-spotSelect__checkItemLabel" for="events-alert-choice-1">Inscrire 2 personnes</label></p>

                                </div>
                            </div>

                        </div>

                    </div>

                </div>
            </div>
            <div class="col-12 col-md-6">
                <div class="sds-spotSelect sds-showCustomIndicatorHover ">
                    <input type="radio" id="events-alert-choice-2" class="sds-spotSelect__radioInput sr-only" value="" name="radio-name">
                    <div data-scope-wrapper="box" data-scope="flat" class="sds-spotSelect__body">
                        <div class="sds-spotSelect__content">

                            <span class="sds-radioDot  sds-spotSelect__checkItem" aria-hidden="true"></span>

                            <div class="sds-spotSelect__inner sds-stackMd">
                                <div class="sds-spotSelect__text">

                                    <p><label class="sds-spotSelect__checkItemLabel" for="events-alert-choice-2">Inscrire 4 personnes sur la liste d’attente</label></p>

                                </div>
                            </div>

                        </div>

                    </div>

                </div>
            </div>
        </div>
    </div>
</div>
<div class="{{ namespace }}alert alert{% if toast %} fade show{% endif %}{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">
	<div class="{{ namespace }}alert__content {{ namespace }}staticStackMd">
		<p class="{% if toast %}{{ namespace }}textHelper {% else %}{% endif %}">{{ text | safe }}</p>
		<div class="row row-xs align-items-stretch-immediate">
			<div class="col-12 col-md-6">
				{% render "@spot-select--no-title-no-img",{
					text: "Inscrire 2 personnes",
					spotSelectID: "events-alert-choice-1"
				},true %}
			</div>
			<div class="col-12 col-md-6">
				{% render "@spot-select--no-title-no-img",{
					text: "Inscrire 4 personnes sur la liste d’attente",
					spotSelectID: "events-alert-choice-2"
				},true %}
			</div>
		</div>
	</div>
</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}alertWrapper {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    	@include spacer-component-stack("md");
    	position: fixed;
    	left: 0;
    	right: 0;
    	bottom: $frame-content-bottom-bar-min-height-global;
    	z-index: z("popover");
    	padding: $snet-frame-main-horiz-padding-mobile-global;
    	max-width: map-deep-get($container-max-widths, "xl");
    	margin: auto;
    	display: flex;
    	flex-direction: column;
    	align-items: flex-end;
    
    	@include media-breakpoint-up(lg) {
    		padding-top: 0;
    		padding-bottom: 0;
    		padding-right: $snet-frame-main-horiz-padding-desktop-global;
    		bottom: $snet-frame-main-horiz-padding-desktop-global;
    	}
    
    	//@media screen and (min-width: map-get($tweakpoint-map, "tablet")) {
    	//
    	//}
    
    	/* 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 */
    
    	// alert__content
    	&__content {
    
    		// follows same logic as parent
    
    
    
    	}
    	
    	> * {
    		max-width: 100%;
    		width: 375px;
    	}
    
    
    	/* modifiers */
    
    	// alert -altStyle
    	&.-altStyle {
    
    		// follows same logic as base element
    
    	}
    
    	/* random parent element */
    	/* 
    	*
    	*   Syntax : .randomParentElt & {}
    	*
    	*/
    
    	.-hasBottomBar & {
    
    		bottom: $frame-content-bottom-bar-min-height-global;
    
    	}
    
    	/* Pseudo Classes */
    
    	&:hover {
    		@media (hover: hover) {
    
    		}
    	}
    
    	&:focus {
    	}
    
    	&:active {
    	}
    
    	&:focus,
    	&:active {
    	}
    
    }
  • URL: /components/raw/snet-alert/_alert-wrapper.scss
  • Filesystem Path: components/snet/molecules/alert/_alert-wrapper.scss
  • Size: 1.7 KB
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}alert {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    	display: flex;
    
    	/* 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 */
    
    	// alert__content
    	&__content {
    
    		// follows same logic as parent
    
    		margin-right: auto;
    		flex-grow: 1;
    
    	}
    
    	&__btnArea {
    
    		width: 100%;
    		margin-top: map-deep-get($token-spacer-stack-max-map, "sm");
    	}
    	
    	&__refuseBtn,
    	&__acceptBtn {
    
    		border: $border-width*2 solid transparent;
    
    	}
    
    	&__refuseBtn#{$self}__refuseBtn {
    
    		&:hover {
    
    			@media (hover: hover) {
    				background-color: rgba(map-deep-get($token-color-grayscale-map, "0"), 0.2) !important;
    			}
    
    		}
    
    	}
    
    
    	/* modifiers */
    
    	// alert -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-alert/_alert.scss
  • Filesystem Path: components/snet/molecules/alert/_alert.scss
  • Size: 1.3 KB