Files
edx-platform/lms/static/sass/shared/_footer.scss

158 lines
2.9 KiB
SCSS

.wrapper-footer {
@include box-shadow(0 -1px 5px 0 rgba(0,0,0, 0.1));
border-top: 1px solid tint($m-gray,50%);
padding: 25px ($baseline/2) ($baseline*1.5) ($baseline/2);
background: $white;
footer {
@include clearfix();
max-width: grid-width(12);
min-width: 760px;
width: flex-grid(12);
margin: 0 auto;
p, ol, ul {
font-family: $sans-serif;
}
a {
@include transition(color 0.15s ease-in-out, border 0.15s ease-in-out);
&:link, &:visited, &:hover, &:active {
border-bottom: none;
color: $m-blue;
text-decoration: none !important;
font-family: $sans-serif;
}
&:hover, &:active {
border-bottom: 1px dotted $m-blue-s1;
color: $m-blue-s1;
}
}
// colophon
.colophon {
margin-right: flex-gutter();
width: flex-grid(8,12);
float: left;
.nav-colophon {
@include clearfix();
margin: ($baseline/4) 0 ($baseline*1.5) 0;
li {
float: left;
margin-right: ($baseline*0.75);
a {
color: tint($black, 20%);
&:hover, &:active {
color: $m-blue-s1;
}
}
&:last-child {
margin-right: 0;
}
}
}
.colophon-about {
@include clearfix();
img {
width: 68px;
height: 34px;
margin-right: 0;
float: left;
}
p {
float: left;
width: flex-grid(6,8);
margin-left: $baseline;
padding-left: $baseline;
font-size: em(13);
background: transparent url(/static/images/bg-footer-divider.jpg) 0 0 no-repeat;
}
}
}
// references
.references {
margin: -10px 0 0 0;
width: flex-grid(4,12);
float: right;
.nav-social {
margin: 0;
text-align: right;
li {
display: inline-block;
&:last-child {
margin-right: 0;
}
a {
display: block;
&:hover, &: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: "-";
}
}
}
}
}
}
// marketing site design syncing
.view-register, .view-login {
.wrapper-footer footer {
width: 960px;
.colophon-about img {
margin-top: ($baseline*1.5);
}
}
}