changeset 2800:9b612ad41772

use bootstrap class container-fluid, not container restyled to be like container-fluid
author RogerHaase <haaserd@gmail.com>
date Wed, 01 Oct 2014 11:17:58 -0700
parents 47e970d1af3f
children dfadc2e8519c
files MoinMoin/themes/basic/static/css/theme.css MoinMoin/themes/basic/static/custom-less/theme.less MoinMoin/themes/basic/templates/layout.html
diffstat 3 files changed, 4 insertions(+), 40 deletions(-) [+]
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/css/theme.css	Wed Oct 01 08:21:41 2014 -0700
+++ b/MoinMoin/themes/basic/static/css/theme.css	Wed Oct 01 11:17:58 2014 -0700
@@ -6940,14 +6940,11 @@
   float: right;
   padding: 10px;
 }
-.container {
+.container-fluid {
   min-height: 100%;
   position: relative;
 }
 @media (max-width: 992px) {
-  .container {
-    width: auto;
-  }
   .moin-content {
     padding-bottom: 250px;
   }
@@ -6959,21 +6956,6 @@
     padding-left: 30px;
   }
 }
-@media (min-width: 768px) {
-  .container {
-    width: auto;
-  }
-}
-@media (min-width: 992px) {
-  .container {
-    width: auto;
-  }
-}
-@media (min-width: 1200px) {
-  .container {
-    width: auto;
-  }
-}
 #moin-ticketsearch-query {
   background-image: url('../../../../static/img/search.png');
   background-repeat: no-repeat;
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Wed Oct 01 08:21:41 2014 -0700
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Wed Oct 01 11:17:58 2014 -0700
@@ -10,7 +10,7 @@
 @import (less) "colorful.css";
 /* end of pygments colorful.css */
 
-/* start of basic custom css */
+/* start of basic theme custom css for moin2 */
 
 @grid-float-breakpoint: @screen-xs;
 @media screen and (min-width: @grid-float-breakpoint) {
@@ -667,15 +667,12 @@
     padding: 10px;
   }
 }
-.container {
+.container-fluid {
   min-height: 100%;
   position: relative;
 }
 // set min-width to prevent search box from floating off window to right
 @media (max-width: 992px) {
-  .container {
-    width: auto;
-  }
   .moin-content {
     padding-bottom: 250px;
   }
@@ -687,21 +684,6 @@
     padding-left: 30px;
   }
 }
-@media (min-width: 768px) {
-  .container {
-    width: auto;
-  }
-}
-@media (min-width: 992px) {
-  .container {
-    width: auto;
-  }
-}
-@media (min-width: 1200px) {
-  .container {
-    width: auto;
-  }
-}
 #moin-ticketsearch-query {
   background-image: url('../../../../static/img/search.png');
   background-repeat: no-repeat;
--- a/MoinMoin/themes/basic/templates/layout.html	Wed Oct 01 08:21:41 2014 -0700
+++ b/MoinMoin/themes/basic/templates/layout.html	Wed Oct 01 11:17:58 2014 -0700
@@ -67,7 +67,7 @@
 {% endblock %}
 
 {% block layout %}
-    <div class="container">
+    <div class="container-fluid">
         <div id="moin-main-wrapper" class="row">
 
             <div class="col-md-2 col-sm-3 col-xs-4 moin-sidebar">