@import './_variables'; @mixin badge-light-variant($color) { color: darken($color, 20%); background-color: rgba($color, .1); border-color: $color; border-width: 0.5px; border-style: solid; } @mixin card-highlight($color) { background-color: $white; border-left: solid 6px $color; border-top: solid 1px rgba($color, .75); border-bottom: solid 1px rgba($color, .75); border-right: solid 1px rgba($color, .75); &:hover { background-color: $gray-100; } &.selected { border-top: solid 1px $color; border-bottom: solid 1px $color; border-right: solid 1px $color; background-color: rgba($color, .1); &:hover { background-color: rgba($color, .15); } } } // Use this mixin then set background-image to an svg @mixin form-control-icon { padding-right: $input-height-inner; background-repeat: no-repeat; background-position: right $input-height-inner-quarter center; background-size: $input-height-inner-half $input-height-inner-half; } @mixin one-to-one-container { display: block; position: relative; width: 100%; padding-top: 100%; height: 0; } @mixin one-to-one-inner { position: absolute; top: 0; left: 0; width: 100%; height: 100%; display: flex; } @mixin public_header($img-path, $background-position-y) { position: relative; padding-bottom: 2rem; padding-top: 2rem; background: rgba(20, 75, 101, 1); display: flex; flex-flow: column; justify-content: center; min-height: 25vh; &::before { position: absolute; width: 100%; height: 100%; top: 0; left: 0; bottom: 0; right: 0; opacity: .15; background: url($img-path); background-size: cover; background-position: 50% $background-position-y; content: ' '; } h1 { color: #fff; text-transform: uppercase; z-index: 2; font-size: 2em; margin-bottom: 0; font-weight: $font-weight-semibold; @media screen and (min-width: $breakpoint-lg) { font-size: 2.3em; } } h1 + h2 { margin-top: .5rem; color: #fff; font-size: 2em; } }