mirror of
https://github.com/grafana/grafana.git
synced 2025-01-08 15:13:30 -06:00
c928c546a3
Currently the footer is based on top margins which looks odd on big screen sizes. Also, the footer shows up on the top of the page on pages take a moment to load (while ng-view is rendering). - True sticky footer based on flexbox - Ensure footer stays at bottom while ng-view div does not exist yet
57 lines
844 B
SCSS
57 lines
844 B
SCSS
.page-dashboard .footer {
|
|
display: none;
|
|
}
|
|
|
|
.footer {
|
|
color: $footer-link-color;
|
|
padding: 1rem 0 1rem 0;
|
|
font-size: $font-size-sm;
|
|
position: relative;
|
|
width: 98%; /* was causing horiz scrollbars - need to examine */
|
|
|
|
a {
|
|
color: $footer-link-color;
|
|
|
|
&:hover {
|
|
color: $footer-link-hover;
|
|
}
|
|
}
|
|
|
|
ul {
|
|
list-style: none;
|
|
}
|
|
|
|
li {
|
|
display: inline-block;
|
|
padding-right: 2px;
|
|
&::after {
|
|
content: ' | ';
|
|
padding-left: 2px;
|
|
}
|
|
}
|
|
|
|
li:last-child {
|
|
&::after {
|
|
padding-left: 0;
|
|
content: '';
|
|
}
|
|
}
|
|
}
|
|
|
|
// Keeping footer inside the graphic on Login screen
|
|
.login-page {
|
|
.footer {
|
|
bottom: $spacer;
|
|
position: absolute;
|
|
padding: 1rem 0 1rem 0;
|
|
}
|
|
}
|
|
|
|
@include media-breakpoint-up(sm) {
|
|
.login-page {
|
|
.footer {
|
|
padding: 5rem 0 1rem 0;
|
|
}
|
|
}
|
|
}
|