Separate edX / Open edX footer.
We need to use an Open edX footer by default (and that's what all non-edx.org instances should base their footer off) and only use the edX footer on edx.org. This commit uses `SITE_NAME` to determine which footer to use. Sites using theming or micro-sites with a `SITE_NAME` not ending in `edx.org` should not be affected.
This commit is contained in:
BIN
lms/static/images/edx-openedx-logo-tag-dark.png
Normal file
BIN
lms/static/images/edx-openedx-logo-tag-dark.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
lms/static/images/edx-openedx-logo-tag-light.png
Normal file
BIN
lms/static/images/edx-openedx-logo-tag-light.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.6 KiB |
BIN
lms/static/images/edx-openedx-logo-tag.png
Normal file
BIN
lms/static/images/edx-openedx-logo-tag.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 2.5 KiB |
BIN
lms/static/images/logo-placeholder.png
Normal file
BIN
lms/static/images/logo-placeholder.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 4.1 KiB |
@@ -84,63 +84,105 @@
|
||||
.references {
|
||||
margin: -10px 0 0 0;
|
||||
width: flex-grid(4,12);
|
||||
float: right;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.nav-social {
|
||||
margin: 0;
|
||||
text-align: right;
|
||||
.wrapper-logo {
|
||||
margin: ($baseline*.75) 0;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
a {
|
||||
display: inline-block;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
|
||||
&:hover, &:focus, &:active {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.copyright {
|
||||
margin: -2px 0 8px 0;
|
||||
font-size: em(11);
|
||||
color: tint($m-gray,50%);
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.nav-legal {
|
||||
@include clearfix();
|
||||
text-align: right;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
font-size: em(11);
|
||||
|
||||
a {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-legal-01 a {
|
||||
|
||||
&:after {
|
||||
margin-left: 5px;
|
||||
content: "-";
|
||||
}
|
||||
&:hover {
|
||||
border-bottom: 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.copyright {
|
||||
margin: -2px 0 8px 0;
|
||||
font-size: em(11);
|
||||
color: $gray-l2;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.nav-legal {
|
||||
@include clearfix();
|
||||
text-align: left;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
font-size: em(11);
|
||||
|
||||
a {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
|
||||
.nav-legal-01 a {
|
||||
|
||||
&:after {
|
||||
margin-left: 5px;
|
||||
content: "-";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.nav-social {
|
||||
margin: 0;
|
||||
text-align: right;
|
||||
|
||||
li {
|
||||
display: inline-block;
|
||||
|
||||
&:last-child {
|
||||
margin-right: 0;
|
||||
}
|
||||
|
||||
a {
|
||||
display: block;
|
||||
|
||||
&:hover, &:focus, &:active {
|
||||
border: none;
|
||||
}
|
||||
}
|
||||
|
||||
img {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// platform Open edX logo and link
|
||||
.powered-by {
|
||||
width: flex-grid(3,12);
|
||||
display: inline-block;
|
||||
vertical-align: bottom;
|
||||
text-align: right;
|
||||
|
||||
a {
|
||||
display: inline-block;
|
||||
|
||||
&:hover {
|
||||
border-bottom: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// edx theme overrides
|
||||
&.edx-footer {
|
||||
|
||||
footer {
|
||||
|
||||
.copyright {
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.nav-legal {
|
||||
text-align: right;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user