No notes defined.

<ul class="list--icon-bullets">
    <li>
        <i class="icon" aria-hidden="true">
            <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>
        </i>
        <a href="">Get directions</a>
    </li>
    <li>
        <i class="icon" aria-hidden="true">
            <svg width="10" height="14" viewBox="0 0 10 14" fill="none" xmlns="http://www.w3.org/2000/svg">
                <path d="M8.5 0H1.5C1.23478 0 0.98043 0.105357 0.792893 0.292893C0.605357 0.48043 0.5 0.734784 0.5 1V13C0.5 13.2652 0.605357 13.5196 0.792893 13.7071C0.98043 13.8946 1.23478 14 1.5 14H8.5C8.76522 14 9.01957 13.8946 9.20711 13.7071C9.39464 13.5196 9.5 13.2652 9.5 13V1C9.5 0.734784 9.39464 0.48043 9.20711 0.292893C9.01957 0.105357 8.76522 0 8.5 0ZM5.5 13H4.5V12H5.5V13ZM1.5 11V1H8.5V11H1.5Z" fill="black" />
            </svg>
        </i>
        <span>1 (734) 764-3309</span>
    </li>
</ul>
<ul class="list--icon-bullets">
	<li>
		<i class="icon" aria-hidden="true">
			<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>
		</i>
		<a href="">Get directions</a>
	</li>
	<li>
		<i class="icon" aria-hidden="true">
			<svg width="10" height="14" viewBox="0 0 10 14" fill="none" xmlns="http://www.w3.org/2000/svg">
				<path
						d="M8.5 0H1.5C1.23478 0 0.98043 0.105357 0.792893 0.292893C0.605357 0.48043 0.5 0.734784 0.5 1V13C0.5 13.2652 0.605357 13.5196 0.792893 13.7071C0.98043 13.8946 1.23478 14 1.5 14H8.5C8.76522 14 9.01957 13.8946 9.20711 13.7071C9.39464 13.5196 9.5 13.2652 9.5 13V1C9.5 0.734784 9.39464 0.48043 9.20711 0.292893C9.01957 0.105357 8.76522 0 8.5 0ZM5.5 13H4.5V12H5.5V13ZM1.5 11V1H8.5V11H1.5Z"
						fill="black"/>
			</svg>
		</i>
		<span>1 (734) 764-3309</span>
	</li>
</ul>
  • Content:
    .list--spaced {
    	> li {
    		margin-bottom: 1rem;
    	}
    }
    
    .list--unstyled {
    	list-style: none;
    	padding-inline-start: 0;
    }
    
    .list--inline {
    	list-style: none;
    	padding-inline-start: 0;
    
    	> li {
    		display: inline-block;
    		margin-right: $spacing-md;
    	}
    }
    
    .list--tags {
    	list-style: none;
    	padding-inline-start: 0;
    
    	> li {
    		display: inline-block;
    	}
    }
    
    .list--inline-icons {
    	list-style: none;
    	padding-inline-start: 0;
    
    	> li {
    		display: inline-block;
    		margin-right: $spacing-2xs;
    	}
    
    	a {
    		display: block;
    	}
    }
    
    .list--piped {
    	list-style: none;
    	padding-inline-start: 0;
    
    	> li {
    		display: inline-block;
    
    		&::before {
    			content: '|';
    			padding-inline-end: $spacing-xs;
    		}
    
    		&:first-child {
    			&::before {
    				display: none;
    			}
    		}
    	}
    }
    
    .list--item-border {
    	list-style: none;
    	padding: 0;
    
    	> li {
    		padding: 0 0 $spacing-sm;
    		border-bottom: 1px solid transparent;
    		border-image: linear-gradient(90deg,
    			rgba($grey--lightest, 1) 80%,
    			rgba($grey--lightest, 0) 100%,
    		) 1; // NB: the '1' here is not a typo, it is critical for border-slice!
    
    		.tag {
    			margin-bottom: 0;
    		}
    	}
    }
    
    .list--icon-bullets {
    	list-style: none;
    	padding: 0;
    
    	li {
    		display: flex;
    		align-content: flex-start;
    		justify-content: flex-start;
    
    		> * {
    			flex: 1 1 auto;
    		}
    	}
    
    	.icon {
    		flex: 0 0 1em;
    		height: 1em;
    		margin: 0.1em 0.5em 0.1em 0;
    	}
    
    	a {
    		color: var(--text-color, $text-color);
    	}
    }
    
    .list--icon-bullets--big {
    	> li {
    		margin-bottom: $spacing-md;
    	}
    
    	.icon {
    		font-size: 1.5em;
    		margin-top: -0.1em;
    	}
    }
    
    .list--arrow-bullets {
    	padding-inline-start: 0;
    	max-width: calc(#{$line-length-max-rem} - 1.5em); // subtract base ul left hand padding to match p width
    	margin-bottom: $spacing-3xl;
    	@include line-height('normal');
    
    	> li {
    		list-style-type: none;
    		padding-left: 1.5em;
    		margin-bottom: $spacing-sm;
    
    		&::before {
    			content: '';
    			display: block;
    			float: left;
    			margin: 0.3em 0.5em 0 -1.5em;
    			width: 1em;
    			height: 1em;
    			background: no-repeat left center / 90% 90% url('#{$assets-directory}/img/rarr-secondary.svg');
    		}
    
    		a {
    			&:only-child {
    				display: block;
    				text-decoration: none;
    				color: var(--text-color, #{$text-color});
    
    				&:hover,
    				&:focus-visible {
    					text-decoration: underline;
    				}
    			}
    		}
    	}
    }
    
    .list--columns,
    .list--columns-wide {
    	max-width: none;
    	column-gap: $grid-gutter;
    
    	@media (min-width: 10em) {
    		columns: 15em;
    	}
    
    	@media (min-width: 35em) {
    		columns: 18em;
    	}
    
    	@media (min-width: 40em) {
    		columns: 20em;
    	}
    
    	> li {
    		display: inline-table; // counteracts overflowing columns
    		margin: 0;
    		break-inside: avoid-column;
    		box-sizing: border-box;
    		width: 100%;
    	}
    
    	&.list--item-border {
    		> li {
    			padding-top: $spacing-xs;
    			padding-bottom: $spacing-xs;
    		}
    	}
    }
    
    .list--columns-wide {
    	@media (min-width: 10em) {
    		columns: 18em;
    	}
    
    	@media (min-width: 35em) {
    		columns: 20em;
    	}
    
    	@media (min-width: 60em) {
    		columns: 28em;
    	}
    }
    
  • URL: /components/raw/list/_lists.scss
  • Filesystem Path: web/themes/custom/um-ssw/components/list/_lists.scss
  • Size: 2.9 KB