No notes defined.

<svg width="10" height="15" viewBox="0 0 10 15" fill="none" xmlns="http://www.w3.org/2000/svg">
    <path d="M9.775 5.4C9.775 4.75652 9.65505 4.11935 9.42199 3.52485C9.18894 2.93036 8.84734 2.39018 8.41671 1.93518C7.98608 1.48017 7.47484 1.11924 6.91219 0.87299C6.34955 0.626742 5.7465 0.5 5.1375 0.5C4.52849 0.5 3.92545 0.626742 3.36281 0.87299C2.80016 1.11924 2.28892 1.48017 1.85829 1.93518C1.42766 2.39018 1.08606 2.93036 0.853009 3.52485C0.619952 4.11935 0.5 4.75652 0.5 5.4C0.5 6.3709 0.770963 7.2739 1.23206 8.0355H1.22676L5.1375 14.5L9.04824 8.0355H9.0436C9.52118 7.24911 9.77503 6.33437 9.775 5.4ZM5.1375 7.5C4.61038 7.5 4.10485 7.27875 3.73212 6.88492C3.3594 6.4911 3.15 5.95695 3.15 5.4C3.15 4.84305 3.3594 4.3089 3.73212 3.91508C4.10485 3.52125 4.61038 3.3 5.1375 3.3C5.66462 3.3 6.17015 3.52125 6.54287 3.91508C6.9156 4.3089 7.125 4.84305 7.125 5.4C7.125 5.95695 6.9156 6.4911 6.54287 6.88492C6.17015 7.27875 5.66462 7.5 5.1375 7.5Z" fill="black" />
</svg>
<svg width="10" height="15" viewBox="0 0 10 15" fill="none" xmlns="http://www.w3.org/2000/svg">
	<path
			d="M9.775 5.4C9.775 4.75652 9.65505 4.11935 9.42199 3.52485C9.18894 2.93036 8.84734 2.39018 8.41671 1.93518C7.98608 1.48017 7.47484 1.11924 6.91219 0.87299C6.34955 0.626742 5.7465 0.5 5.1375 0.5C4.52849 0.5 3.92545 0.626742 3.36281 0.87299C2.80016 1.11924 2.28892 1.48017 1.85829 1.93518C1.42766 2.39018 1.08606 2.93036 0.853009 3.52485C0.619952 4.11935 0.5 4.75652 0.5 5.4C0.5 6.3709 0.770963 7.2739 1.23206 8.0355H1.22676L5.1375 14.5L9.04824 8.0355H9.0436C9.52118 7.24911 9.77503 6.33437 9.775 5.4ZM5.1375 7.5C4.61038 7.5 4.10485 7.27875 3.73212 6.88492C3.3594 6.4911 3.15 5.95695 3.15 5.4C3.15 4.84305 3.3594 4.3089 3.73212 3.91508C4.10485 3.52125 4.61038 3.3 5.1375 3.3C5.66462 3.3 6.17015 3.52125 6.54287 3.91508C6.9156 4.3089 7.125 4.84305 7.125 5.4C7.125 5.95695 6.9156 6.4911 6.54287 6.88492C6.17015 7.27875 5.66462 7.5 5.1375 7.5Z"
			fill="{{ fill ?: 'black' }}"/>
</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