MDL-55793 theme_noname: Use fixed width container
authorDamyon Wiese <damyon@moodle.com>
Thu, 8 Sep 2016 08:59:52 +0000 (16:59 +0800)
committerDan Poltawski <dan@moodle.com>
Fri, 23 Sep 2016 09:55:16 +0000 (10:55 +0100)
Part of MDL-55071

theme/noname/scss/moodle/modules.scss
theme/noname/templates/columns1.mustache
theme/noname/templates/columns2.mustache
theme/noname/templates/header.mustache
theme/noname/templates/maintenance.mustache
theme/noname/templates/secure.mustache

index 3ebe8c0..587cc03 100644 (file)
@@ -174,10 +174,6 @@ select {
 .langmenu form {
     margin: 0;
 }
-.container-fluid {
-    max-width: 1680px;
-    margin: 0 auto;
-}
 // contributed by Paul Hibbitts, see http://msdn.microsoft@mixin com/en-us/library/ie/jj583807(v=vs.85).aspx
 canvas {
     -ms-touch-action: auto;
index dc721b9..5f95144 100644 (file)
@@ -15,7 +15,7 @@
 
     {{>theme_noname/header}}
 
-    <div id="page" class="container-fluid">
+    <div id="page" class="container">
         {{{ output.full_header }}}
 
         <div id="page-content" class="row">
@@ -32,7 +32,7 @@
     </div>
 </div>
 <footer id="page-footer" class="p-y-1">
-    <div class="container-fluid">
+    <div class="container">
         <div id="course-footer">{{{ output.course_footer }}}</div>
 
         {{# output.page_doc_link }}
index 6c614c0..31541ed 100644 (file)
@@ -15,7 +15,7 @@
 
     {{>theme_noname/header}}
 
-    <div id="page" class="container-fluid">
+    <div id="page" class="container">
         {{{ output.full_header }}}
 
         <div id="page-content" class="row">
@@ -34,7 +34,7 @@
     </div>
 </div>
 <footer id="page-footer" class="p-y-1">
-    <div class="container-fluid">
+    <div class="container">
         <div id="course-footer">{{{ output.course_footer }}}</div>
 
         {{# output.page_doc_link }}
index 9169b30..da6b7fe 100644 (file)
@@ -19,7 +19,7 @@
 }}
 <header role="banner" class="navbar navbar-light bg-faded navbar-static-top moodle-has-zindex">
 
-    <div class="container-fluid">
+    <div class="container">
         <button class="navbar-toggler pull-xs-right hidden-sm-up" data-toggle="collapse" data-target="#bd-main-nav" aria-expanded="false" aria-controls="bd-main-nav" type="button">☰<span class="sr-only">{{#str}}expand{{/str}}</span></button>
 
         <a role="banner" href="{{{ config.wwwroot }}}" class="navbar-brand">
index af4f3f7..095a912 100644 (file)
@@ -13,7 +13,7 @@
 
     {{{ output.standard_top_of_body_html }}}
 
-    <div id="page" class="container-fluid">
+    <div id="page" class="container">
         {{{ output.page_heading }}}
 
         <div id="page-content" class="row">
@@ -28,7 +28,7 @@
 </div>
 
 <footer id="page-footer" class="p-y-1">
-    <div class="container-fluid">
+    <div class="container">
         {{{ output.standard_footer_html }}}
         {{{ output.standard_end_of_body_html }}}
     </div>
index fd69d9f..8ca01d6 100644 (file)
@@ -12,7 +12,7 @@
 {{{ output.standard_top_of_body_html }}}
 
 <header class="navbar navbar-light bg-faded navbar-static-top moodle-has-zindex">
-    <div class="container-fluid">
+    <div class="container">
         <div class="clearfix">
             <button class="navbar-toggler pull-xs-right hidden-sm-up" data-toggle="collapse" data-target="#bd-main-mav">☰<span class="sr-only">{{#str}}expand{{/str}}</span></button>
         </div>
@@ -41,7 +41,7 @@
     </div>
 </header>
 
-<div id="page" class="container-fluid">
+<div id="page" class="container">
     {{{ output.full_header }}}
 
     <div id="page-content" class="row">