No notes defined.

<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M13.7435 7.95625C14.0853 7.56563 14.0853 6.93125 13.7435 6.54063L10.2435 2.54063C9.90166 2.15 9.34658 2.15 9.00478 2.54063C8.66299 2.93125 8.66299 3.56563 9.00478 3.95625L11.0118 6.25H5.25049C4.7665 6.25 4.37549 6.69687 4.37549 7.25C4.37549 7.80313 4.7665 8.25 5.25049 8.25H11.0118L9.00478 10.5437C8.66299 10.9344 8.66299 11.5688 9.00478 11.9594C9.34658 12.35 9.90166 12.35 10.2435 11.9594L13.7435 7.95938V7.95625ZM4.37549 2.25C4.85947 2.25 5.25049 1.80313 5.25049 1.25C5.25049 0.696875 4.85947 0.25 4.37549 0.25H2.62549C1.17627 0.25 0.000488281 1.59375 0.000488281 3.25V11.25C0.000488281 12.9062 1.17627 14.25 2.62549 14.25H4.37549C4.85947 14.25 5.25049 13.8031 5.25049 13.25C5.25049 12.6969 4.85947 12.25 4.37549 12.25H2.62549C2.1415 12.25 1.75049 11.8031 1.75049 11.25V3.25C1.75049 2.69687 2.1415 2.25 2.62549 2.25H4.37549Z" fill="black" />
</svg>
<svg width="14" height="15" viewBox="0 0 14 15" fill="none" xmlns="http://www.w3.org/2000/svg">
	<path
			d="M13.7435 7.95625C14.0853 7.56563 14.0853 6.93125 13.7435 6.54063L10.2435 2.54063C9.90166 2.15 9.34658 2.15 9.00478 2.54063C8.66299 2.93125 8.66299 3.56563 9.00478 3.95625L11.0118 6.25H5.25049C4.7665 6.25 4.37549 6.69687 4.37549 7.25C4.37549 7.80313 4.7665 8.25 5.25049 8.25H11.0118L9.00478 10.5437C8.66299 10.9344 8.66299 11.5688 9.00478 11.9594C9.34658 12.35 9.90166 12.35 10.2435 11.9594L13.7435 7.95938V7.95625ZM4.37549 2.25C4.85947 2.25 5.25049 1.80313 5.25049 1.25C5.25049 0.696875 4.85947 0.25 4.37549 0.25H2.62549C1.17627 0.25 0.000488281 1.59375 0.000488281 3.25V11.25C0.000488281 12.9062 1.17627 14.25 2.62549 14.25H4.37549C4.85947 14.25 5.25049 13.8031 5.25049 13.25C5.25049 12.6969 4.85947 12.25 4.37549 12.25H2.62549C2.1415 12.25 1.75049 11.8031 1.75049 11.25V3.25C1.75049 2.69687 2.1415 2.25 2.62549 2.25H4.37549Z"
			fill="{{ fill ?: '#999' }}"/>
</svg>
  • Content:
    // add icons to this array with their filename and type,
    // the loop at the bottom of the file will create classes for them
    
    $icons: (
    	//'facebook': 'svg',
    	//'instagram': 'svg',
    	//'twitter': 'svg',
    	//'linkedin': 'svg',
    	//'youtube': 'svg',
    	//'external-primary': 'svg',
    	//'phone': 'svg',
    	//'mail': 'svg',
    	//'pin': 'svg',
    );
    
    .icon {
    	position: relative;
    	display: inline-block;
    	width: 1em;
    	height: 1em;
    	text-align: center;
    	background-size: contain;
    	background-position: center center;
    	background-repeat: no-repeat;
    	vertical-align: baseline;
    	top: 0.1em;
    
    	svg,
    	img {
    		display: block;
    		width: 100%;
    		max-height: 100%;
    		vertical-align: middle;
    	}
    
    	svg {
    		height: 100%;
    		//fill: #000;
    	}
    
    	&:before {
    		font-size: 1em;
    		display: inline-block;
    	}
    
    	@each $name, $extension in $icons {
    		&--#{$name} {
    			background-image: url('../img/icon-#{$name}.#{$extension}');
    		}
    	}
    
    	// Layout
    
    	&--margin-before {
    		margin-inline-start: 0.35em;
    	}
    
    	&--margin-after {
    		margin-inline-end: 0.35em;
    	}
    
    	// Themes
    
    	&--primary {
    		svg, path {
    			fill: $primary !important;
    		}
    	}
    
    	&--secondary {
    		svg, path {
    			fill: $secondary !important;
    		}
    	}
    
    	&--tertiary {
    		svg, path {
    			fill: $tertiary !important;
    		}
    	}
    
    	// Variant generator
    	// (see loop at top)
    
    	//@each $name, $extension in $icons {
    	//	&--#{$name} {
    	//		background-image: url('../img/icon-#{$name}.#{$extension}');
    	//	}
    	//}
    
    	// Special
    
    	@at-root {
    		a, button {
    			&:where(:has(.svgHeart)) {
    				path {
    					fill: rgba(white, 0);
    					stroke-width: 2;
    					stroke: $grey;
    					transition: all 100ms;
    				}
    
    				&:hover, &:focus {
    					path {
    						fill: rgba($pink, 0.5);
    						stroke-width: 0;
    					}
    				}
    
    				&:active {
    					path {
    						fill: $pink;
    						stroke-width: 0;
    					}
    				}
    			}
    
    			&:where(:has(.svgHeart--filled)) {
    				path {
    					transition: all 100ms;
    				}
    
    				&:hover, &:focus {
    					path {
    						fill: rgba($pink, 0.5);
    						stroke-width: 0;
    					}
    				}
    
    				&:active {
    					path {
    						fill: rgba(white, 0);
    						stroke-width: 2;
    					}
    				}
    			}
    		}
    	}
    }
    
  • URL: /components/raw/icon/_icons.scss
  • Filesystem Path: web/themes/custom/um-ssw/components/icon/_icons.scss
  • Size: 2.1 KB