_layouts.scss 1.91 KB
Newer Older
1 2 3 4 5
// 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
6
body.view-in-course {
7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
  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,
58 59
  .profile-wrapper,
  .instructor-dashboard-wrapper-2,
60
  .wiki-wrapper,
61 62
  .teams-wrapper,
  .static_tab_wrapper {
63
    max-width: 1180px;
64
    margin: 0 auto;
65 66 67
    padding: 0;
  }

68 69 70 71
  .static_tab_wrapper {
    padding: 2em 2.5em;
  }

72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87
  // post-container footer (creative commons)
  .container-footer {
    max-width: none;
    min-width: none;
    width: auto;
  }

  .course-license {
    max-width: 1180px;
    margin: 0 auto;
    padding-right: 2%;
    padding-left: 2%;
  }

  // site footer
  .wrapper-footer {
88
    margin-top: ($baseline*2);
89 90 91
    padding-right: 2%;
    padding-left: 2%;

92
    footer#footer-openedx { // shame selector to match existing
93 94 95
      min-width: auto;
    }
  }
96 97 98 99

  footer#footer-edx-v3 { // shame selector to match existing
    margin-top: ($baseline*2);
  }
100
}