Skip to content

Commit

Permalink
SAK-40208 Tightened up default page header spacing around page title (s…
Browse files Browse the repository at this point in the history
  • Loading branch information
fostersdesign authored and steveswinsburg committed Jun 25, 2018
1 parent d39d203 commit a21f595
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 1 deletion.
3 changes: 3 additions & 0 deletions library/src/morpheus-master/sass/_defaults.scss
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,9 @@ $hierarchy-size: 3.5em !default;
/* Golden Ratio width for 16px font http://www.pearsonified.com/typography/ */
$measure: 960px !default;

/* The standard spacing for items in Sakai */
$standard-spacing: 10px !default;

$banner-height: 52px !default;

/* Logo location */
Expand Down
16 changes: 15 additions & 1 deletion library/src/morpheus-master/sass/modules/tool/_base.scss
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,8 @@
}
}

.portletBody{
.portletBody
{
background: $tool-background-color;
padding: $default-font-size $default-font-size 40px $default-font-size;
@media #{$phone}{
Expand All @@ -183,6 +184,19 @@
> .modal {
position: fixed;
}
.page-header
{
margin: calc(#{$standard-spacing} + 5px) 0; // additional 5px for equallying the header text descenders
padding: 0 0 $standard-spacing 0;
border-bottom: 1px solid $tool-border-color;

h1, h2, h3
{
margin: $standard-spacing 0 0 0; // vertical margins will collapse into one
padding: 0;
line-height: 1;
}
}
}

.itemNav{
Expand Down

0 comments on commit a21f595

Please sign in to comment.