3 $footer-link-color: darken(theme-color("success"), 10%);
4 $footer-link-hover-color: darken($footer-link-color, 10%);
6 // apply this to a div inside the body tag
7 // prevents page shifting to left/right as scrollbar appears/disappears
8 // uses negative margin to force content to be drawn under the scrollbar
9 // (this is useful for modals since scrollbar disappears during a modal)
10 // note: intended to be used with div.container which adds padding for
11 // media sizes sm and above, don't do it for xs to avoid losing content
12 .scrollbar-fix-outer {
15 .scrollbar-fix-inner {
16 @include media-breakpoint-up(sm) {
17 margin-right: calc(100% - 100vw);
21 // place a container div around entire page, and then use this
22 // to make the background on navbar or footer appear full-width
24 margin-left: calc(-.5 * (100vw - 100%));
25 margin-right: calc(-.5 * (100vw - 100%));
26 padding-left: calc(.5 * (100vw - 100%));
27 padding-right: calc(.5 * (100vw - 100%));
30 // needed for svg icons inside buttons, card headers, etc
31 // creates an inline element with correct width but no height
32 // the svg is positioned within this to vertically centre on a capital letter
39 @each $icon-size, $icon-size-px in $icon-sizes {
40 .icon#{$icon-size}-outer {
41 display: inline-block;
45 vertical-align: baseline;
47 .icon#{$icon-size}-inner {
50 top: calc(-.5 * $icon-size-px - .35em); // .35em = approx half cap height
52 height: $icon-size-px;
58 // use this to display the pi symbol without horrible blocky look in Sans
60 font-family: $font-family-serif;
63 // apply this to table to get an icon with vertically centred text next to it
65 vertical-align: middle;
78 background-color: $gray-400;
80 color: $footer-link-color;
84 color: $footer-link-hover-color;
85 //background-color: $footer-link-hover-bg;