diff --git a/cms/static/sass/elements/_footer.scss b/cms/static/sass/elements/_footer.scss index 31b95dec44..2cc6eff83b 100644 --- a/cms/static/sass/elements/_footer.scss +++ b/cms/static/sass/elements/_footer.scss @@ -16,10 +16,14 @@ margin: 0 auto; color: $gray-l1; + .footer-content-primary { + @include clearfix(); + } + .colophon { width: flex-grid(4, 12); - float: left; - margin-right: flex-gutter(2); + @include float(left); + @include margin-right(flex-gutter(2)); } a { @@ -32,15 +36,15 @@ .nav-peripheral { width: flex-grid(6, 12); - float: right; - text-align: right; + @include float(right); + @include text-align(right); .nav-item { display: inline-block; - margin-right: ($baseline/4); + @include margin-right($baseline/4); &:last-child { - margin-right: 0; + @include margin-right(0); } a { @@ -53,10 +57,47 @@ @extend %t-action3; display: inline-block; vertical-align: middle; - margin-right: ($baseline/4); + @include margin-right($baseline/4); } } } } + + .footer-content-secondary { + @include clearfix(); + margin-top: $baseline; + } + + .footer-about-copyright, .footer-about-openedx { + display: inline-block; + vertical-align: middle; + } + + // platform trademarks + .footer-about-copyright { + width: flex-grid(4, 12); + @include float(left); + @include margin-right(flex-gutter(2)); + } + + // platform Open edX logo and link + .footer-about-openedx { + @include float(right); + width: flex-grid(3,12); + @include text-align(right); + + a { + display: inline-block; + + img { + display: block; + width: ($baseline* 6); + } + + &:hover { + border-bottom: none; + } + } + } } } diff --git a/cms/templates/widgets/footer.html b/cms/templates/widgets/footer.html index cfaa16dbcf..ae75880557 100644 --- a/cms/templates/widgets/footer.html +++ b/cms/templates/widgets/footer.html @@ -3,33 +3,47 @@
+ + ## please leave this link and use one of the logos provided -