Text Link

Text Link Documentation

Original source: https://utsa-asc.github.io/college-dls/college-dls/reference/navigation-standard.html#standard-button-wrapper

Non-button styles for text-links were added outside of the initial implementation for completeness. More color variations may need to be developed here in the future.

<a href="#" class="view-all-link">I am a text link. <i class="fas fa-arrow-right" aria-hidden="true"></i></a>
  • Content:
    /* components/01-visual-styling/04-button/01-text-link/text-link.scss */
    /* BEGIN text-link.scss */
    
    
    .grey-bg .view-all-link, .view-all-link {
    	color: $blue;
    	font-size: 19px;
    }
    
    .blue-bg .view-all-link, .orange-a11y-bg .view-all-link {
        color: $white;
    }
    
    a.blue-bg h2 {
    	color: $white;
    }
    
    .view-all-link i,
    .view-all-link svg {
    	color: $orange-a11y;
    	padding-left: 3px;
    }
    
    .orange-a11y-bg .view-all-link i,
    .orange-a11y-bg .view-all-link svg {
    	color: $blue;
    }
    
    //TODO: move these to 02-button or remove (may be redundant)
    .action-plain-btn {
    	display: -webkit-box;
    	display: -ms-flexbox;
    	display: flex;
    	width: 100%;
    	position: relative;
    	font-size: 15px;
    	margin-bottom: 15px;
    	color: $white;
    	-webkit-box-pack: justify;
    	    -ms-flex-pack: justify;
    	        justify-content: space-between;
    	-webkit-box-align: center;
    	    -ms-flex-align: center;
    	        align-items: center;
    }
    .action-plain-btn i {
    	color: $orange-a11y;
    }
    /* END text-link.scss */
    
    /* Dark Mode - Text Link Styles */
    @include color-mode(dark) {
    	.grey-bg a.view-all-link:hover {
    		color:$white;
    	}
    }
    /* Dark Mode - Text Link END */
  • URL: /components/raw/text-link/text-link.scss
  • Filesystem Path: components/01-visual-styling/02-button/01-text-link/text-link.scss
  • Size: 1.1 KB
<a href="#" class="view-all-link" >{{ text }} <i class="fas fa-arrow-right" aria-hidden="true"></i></a>