Clean up horizon.scss - _layout.scss

A major part of the css reorg is a better organization of the css
styles themselves. horizon.scss should be a global import level file.

Move remaining layout styles to _layout.scss.  Also, fix minor
bug with min size.

Change-Id: I6dd847e65a2cbf7f8dc9e415bed4a6958e3b787e
Partially-Implements: blueprint horizon-theme-css-reorg
This commit is contained in:
Diana Whitten 2015-12-22 09:50:54 -07:00 committed by Joshua Hesketh
parent 871505c130
commit 3e79b81955
2 changed files with 13 additions and 11 deletions

View File

@ -15,6 +15,7 @@ $navbar-true-height: $navbar-height + $navbar-border-size !default;
height: 100%; /* fallback if needed --> its scrolls, but it works */
height: calc(100% - #{$navbar-true-height});
display: table;
min-width: $main-content-min-width;
}
#content_body,
@ -28,3 +29,15 @@ $navbar-true-height: $navbar-height + $navbar-border-size !default;
padding-left: $content-body-padding;
padding-right: $content-body-padding;
}
.page-header {
margin: 0 0 5px 0;
padding: 10px 0 5px 0;
border-bottom: 0;
height: auto;
width: 100%;
h1 {
margin: 0;
}
}

View File

@ -74,17 +74,6 @@ a:focus {
text-decoration: underline;
}
.page-header {
margin: 0 0 5px 0;
padding: 10px 0 5px 0;
border-bottom: 0;
height: auto;
width: 100%;
h1 {
margin: 0;
}
}
h2 {
color: $headings-color;
font-size: 30px;