@import "global"; @mixin text-link($color: $color-primary, $hover-opacity: 0.70) { .icon { &:first-child { padding-right: 5px; } &:last-child:not(:only-child) { padding-left: 5px; } } &:not(.no-underline) { text-decoration: underline; .icon { text-decoration: none; } } &:hover { opacity: $hover-opacity; transition: opacity $transition-standard; text-decoration: underline; .icon { text-decoration: none; } } color: $color; cursor: pointer; } .icon-fixed-width { /* This borrowed is from a component of Font Awesome we're not using, maybe add it? */ width: (18em / 14); text-align: center; } /* section { margin-bottom: $spacing-vertical; &:last-child { margin-bottom: 0; } &:only-child { margin-bottom: $spacing-vertical; } } */ h2 { font-size: 1.75em; } h3 { font-size: 1.4em; } h4 { font-size: 1.2em; } h5 { font-size: 1.1em; } sup, sub { vertical-align: baseline; position: relative; } sup { top: -0.4em; } sub { top: 0.4em; } code { font: 0.8em Consolas, 'Lucida Console', 'Source Sans', monospace; background-color: #eee; } p { margin-bottom: 0.8em; &:last-child { margin-bottom: 0; } } .hidden { display: none; } .disabled { pointer-events: none; opacity: 0.7; } .truncated-text { display: inline-block; } .busy-indicator { background: url('../img/busy.gif') no-repeat center center; display: inline-block; margin: -1em 0; min-width: 16px; min-height: 8px; vertical-align: middle; padding: 0 30px; &:last-child { padding-right: 2px; } &:first-child { padding-left: 2px; } } .icon:only-child { position: relative; top: 0.16em; } .help { font-size: .85em; color: $color-help; } .meta { font-size: 0.9em; color: $color-meta-light; } .empty { color: $color-meta-light; font-style: italic; } .sort-section { display: block; margin-bottom: 5px; text-align: right; font-size: 0.85em; color: $color-help; }