Predefined Appointment

No notes defined.

<!-- Default -->
<div class="sds-predefinedAppointment sds-box sds-boxShadowInteraction">

    <div class="sds-predefinedAppointment__img">
        <img class="img-fluid" src="https://design.spuerkeess.lu/media/brand-icons/svg48x/feature/sdsbrandicon-calendar.svg" alt="">
    </div>

    <div class="sds-predefinedAppointment__text">

        <div class="sds-predefinedAppointment__inner">
            <h3 class="sds-predefinedAppointment__title">{title}</h3>
            <p class="sds-predefinedAppointment__description">{description}</p>
        </div>

        <button type="button" class="sds-btn -btnPrimary stretched-link">

            <span class="sds-btn__text">Prendre rendez-vous</span>

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

        </button>

    </div>

</div>

<!--  -->
<div class="sds-predefinedAppointment sds-box sds-boxShadowInteraction">

    <div class="sds-predefinedAppointment__img">
        <img class="img-fluid" src="https://design.spuerkeess.lu/media/brand-icons/svg48x/feature/sdsbrandicon-calendar.svg" alt="">
    </div>

    <div class="sds-predefinedAppointment__text">

        <div class="sds-predefinedAppointment__inner">
            <h3 class="sds-predefinedAppointment__title">{title}</h3>
            <p class="sds-predefinedAppointment__description">{description}</p>
        </div>

        <button type="button" class="sds-btn -btnPrimary stretched-link">

            <span class="sds-btn__text">Prendre rendez-vous</span>

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

        </button>

    </div>

</div>

<div class="{{ namespace }}predefinedAppointment {{ namespace }}box {{ namespace }}boxShadowInteraction{% for mod in modifiers %} {{ mod }}{% endfor %}{% for mod in classes %} {{ mod }}{% endfor %}">

	<div class="{{ namespace }}predefinedAppointment__img">
		<img class="img-fluid" src="https://design.spuerkeess.lu/media/brand-icons/svg48x/feature/sdsbrandicon-calendar.svg" alt="">
	</div>

	<div class="{{ namespace }}predefinedAppointment__text">

		<div class="{{ namespace }}predefinedAppointment__inner">
			<h3 class="{{ namespace }}predefinedAppointment__title">{title}</h3>
			<p class="{{ namespace }}predefinedAppointment__description">{description}</p>
		</div>

		{% render "@btn-primary--icon-right",{
			classes: ["stretched-link"],
			icon: "icon-arrownext",
			text: "Prendre rendez-vous"
		}, true %}

	</div>

</div>
  • Content:
    /* variables specific to current element */
    
    $element-specific-variables: "";
    
    .#{$namespace}predefinedAppointment {
    
    	/* Save root element context for easy access if nesting is needed */
    
    	$self: &;
    
    	/* properties of current element  + media queries */
    
    
    	/* Pseudo Elements */
    
    	position: relative;
    	border-radius: map-deep-get($token-radius-map, "16");
    	display: flex;
    	flex-wrap: wrap;
    	align-items: stretch;
    	padding: map-deep-get($token-spacer-inset-map, "md");
    	gap: map-deep-get($token-spacer-inset-map, "md");
    
    	@include media-breakpoint-up("lg") {
    
    		padding: map-deep-get($token-spacer-inset-map, "lg");
    		gap: map-deep-get($token-spacer-inset-map, "lg");
    
    	}
    
    	&::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 */
    
    	// predefinedAppointment__img
    	&__img {
    
    		&, IMG {
    
    			width: map-deep-get($token-sizes-unit-map, "48");
    			@include media-breakpoint-up("lg") {
    				width: map-deep-get($token-sizes-unit-map, "64");
    			}
    
    		}
    	}
    
    	&__text {
    
    		display: flex;
    		flex-wrap: wrap;
    		align-items: center;
    		flex: 1 0 450px;
    		max-width: 100%;
    		gap: map-deep-get($token-spacer-inset-map, "lg");
    
    	}
    
    	&__inner {
    		display: flex;
    		flex-direction: column;
    		flex: 1 0 450px;
    		max-width: 100%;
    	}
    
    	h3 {
    		margin: 0;
    	}
    
    	&__description {
    
    		line-height: map-deep-get($token-font-line-height-map, "xxl");
    		margin: 0;
    
    	}
    
    
    	/* modifiers */
    
    	// predefinedAppointment -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-predefined-appointment/_predefined-appointment.scss
  • Filesystem Path: components/spuerkeess-site/organisms/predefined-appointment/_predefined-appointment.scss
  • Size: 1.9 KB