Files
edx-platform/lms/static/sass/base/_layouts.scss
Daniel Naranjo a639846a26 Reemplace property min-width value
The min-width property accept only values <length> | <percentage> | inherit. to reset better set to 0.
Properties documentation: https://www.w3.org/TR/CSS2/visudet.html#min-max-widths

This error generates an invalid style, and, therefore, this value is set to 760px by: https://github.com/edx/edx-platform/blob/master/lms/static/sass/course/courseware/_courseware.scss#L50
2016-01-21 09:50:35 -05:00

101 lines
1.9 KiB
SCSS

// base layout styles to support early responsive lms
// may be discarded later once sass breakpoints are wired in
// overriding existing styles on the body element
// .view-incourse scopes these rules to be specific to student being in a course
body.view-in-course {
background-color: $body-bg;
// keep application of widths to window-wrap
.window-wrap {
min-width: 760px;
}
// courseware header
header.global,
header.global.slim {
width: auto;
.nav-wrapper {
min-width: auto;
padding-right: 2%;
padding-left: 2%;
}
}
// courseware tabs and staff preview bar
.wrapper-course-material,
.wrapper-preview-menu {
padding: 0;
}
.wrapper-course-material .course-material,
.wrapper-preview-menu .preview-menu {
width: auto;
padding: 15px 2%;
}
.wrapper-course-material .course-material .course-tabs {
padding: 0;
}
// content area wrapper
.container {
max-width: none;
min-width: initial;
width: auto;
padding: 0 2%;
}
// course info page
.info-wrapper {
max-width: 1180px;
margin: 0 auto;
}
// courseware and progress page
.course-wrapper,
.profile-wrapper,
.instructor-dashboard-wrapper-2,
.wiki-wrapper,
.teams-wrapper,
.static_tab_wrapper {
max-width: 1180px;
margin: 0 auto;
padding: 0;
}
.static_tab_wrapper {
padding: 2em 2.5em;
}
// post-container footer (creative commons)
.container-footer {
max-width: none;
min-width: 0;
width: auto;
}
.course-license {
max-width: 1180px;
margin: 0 auto;
padding-right: 2%;
padding-left: 2%;
}
// site footer
.wrapper-footer {
margin-top: ($baseline*2);
padding-right: 2%;
padding-left: 2%;
footer#footer-openedx { // shame selector to match existing
min-width: auto;
}
}
footer#footer-edx-v3 { // shame selector to match existing
margin-top: ($baseline*2);
}
}