Move search over to the right if size permits.
authorAnt Zucaro <azucaro@gmail.com>
Mon, 25 Mar 2013 00:03:57 +0000 (20:03 -0400)
committerAnt Zucaro <azucaro@gmail.com>
Mon, 25 Mar 2013 00:03:57 +0000 (20:03 -0400)
xonstat/static/css/app.css
xonstat/templates/nav.mako

index 5c68f3294cf3a5056a3950439b24a86608935613..01f3be4df6465a7a4ec77fb56d0c837a046a87e8 100644 (file)
@@ -39,3 +39,10 @@ body {
     color: #AAAAAA;
     width: 100px;
 }
+
+/* Desktop-specific stuff */
+@media (min-width: 768px) {
+    .navbar-form {
+        float: right;
+    }
+}
index bcfba35d07c1c09d2f1c0b358419cc9df34f2548..cb0082a7fcc5ec8821bca7f5bae681b622f53bff 100644 (file)
@@ -40,7 +40,7 @@
                 ><a href="${request.route_url('map_index')}" title="Map Index">Maps</a></li>
             </ul>
 
-            <form class="navbar-form pull-right" action="${request.route_url('search')}" method="get">
+            <form class="navbar-form pull-left" action="${request.route_url('search')}" method="get">
               <input type="hidden" name="fs" />
               <input type="search" class="input-small search" placeholder="search" name="sval"/>
               <select class="search" name="stype">