horizon/openstack_dashboard/static/dashboard/scss/_layout.scss
Diana Whitten f61401f584 Horizon page-header Margin needs to be smaller
The Bootstrap page-header has a giant top margin, which we remove for
the 'default' theme. However, when you use a diffierent theme, it's
GIANT! We should make that style global instead of specific to
'default'.

Change-Id: Ia66277cd637415c41aa3721e40aa9ce4ac7e3cce
Closes-Bug: #1518133
2016-03-06 17:04:42 -07:00

34 lines
808 B
SCSS

// Make the sidebar span the entire page, instead of just the Viewport
// Display Table is not ideal, but it will allow dynamic resizing of
// the sidebar while growing its container to fill the entire window
html,
body:not(#splash) {
height: 100%;
}
// Theme Note:
// The following 1px is the default 1px for nav border in Bootstrap. If
// this value is customized, then this value must change to compensate
$navbar-border-size: 1px !default;
$navbar-true-height: $navbar-height + $navbar-border-size !default;
#main_content {
height: 100%;
display: table;
min-width: $main-content-min-width;
padding-top: $navbar-true-height;
}
#content_body,
#sidebar {
display: table-cell;
vertical-align: top;
}
#content_body {
width: 100%;
}
.page-header {
margin-top: $padding-base-horizontal;
}