diff MoinMoin/themes/basic/static/custom-less/theme.less @ 2850:86b747edc4a7

basic theme support for devices with less than 480 pixels
author RogerHaase <haaserd@gmail.com>
date Thu, 13 Nov 2014 11:25:34 -0700
parents 22796e5b5361
children 175a55db6fae
line wrap: on
line diff
--- a/MoinMoin/themes/basic/static/custom-less/theme.less	Thu Nov 13 07:46:51 2014 -0700
+++ b/MoinMoin/themes/basic/static/custom-less/theme.less	Thu Nov 13 11:25:34 2014 -0700
@@ -16,12 +16,11 @@
 /* start of basic theme custom css for moin2 */
 
 @grid-float-breakpoint: @screen-xs;
-@media screen and (min-width: @grid-float-breakpoint) {
-  .moin-pull-right {
-    .pull-right;
-  }
+ul.moin-pull-right {
+  .pull-right;
 }
 
+
 h1, h2, h3, h4, h5, h6 {
   &:hover, &:focus {
     .moin-permalink {
@@ -206,6 +205,20 @@
   }
 }
 
+.moin-navbar-user > ul.nav > li,
+.moin-navbar-user > ul.nav > li  > a {
+  display: inline;
+}
+
+.moin-navbar-user > ul.nav > li  > a {
+  padding: 10px 10px;
+}
+
+.moin-navbar-user > ul.nav {
+  margin-top: 15px;
+  margin-bottom: 15px;
+}
+
 .moin-quicklink {
   position: relative;
   padding: 2px 10px 2px 10px;
@@ -247,10 +260,6 @@
   }
 }
 
-
-
-
-
 .comment {
   color: @text-color;
   background-color: lighten(@link-color, 40%);
@@ -637,12 +646,6 @@
   min-height: 100%;
   position: relative;
 }
-// set min-width to prevent search box from floating off window to right
-@media (max-width: 992px) {
-  .moin-content {
-    padding-bottom: 250px;
-  }
-}
 
 html{
   overflow-y: scroll;
@@ -713,7 +716,6 @@
   #moin-main-wrapper.showsidebar {
     left: 33%;
   }
-  /* TODO why does bootstrap display navbar-toggle only at width < 480 when <780 is wanted */
   .navbar-toggle {
     position: relative;
     float: left;
@@ -739,5 +741,8 @@
   .navbar-toggle .icon-bar + .icon-bar {
     margin-top: 4px;
   }
+  div.moin-navbar-user {
+    margin-right: 15px;
+  }
 
 }