Browse Source

Move minimap style to CSS

Baptiste Jonglez 8 years ago
parent
commit
0cef70334e
2 changed files with 12 additions and 6 deletions
  1. 11 0
      panorama/static/panorama/css/map.css
  2. 1 6
      panorama/templates/panorama/view.html

+ 11 - 0
panorama/static/panorama/css/map.css

@@ -202,3 +202,14 @@ input:focus {
     color:#FFF;
     background-color:rgba(100,0,0,0.5);
 }
+
+
+/* Minimap on the panorama view */
+#mapid {
+    position: absolute;
+    height: 300px;
+    width: 300px;
+    bottom: 0;
+    margin: 20px;
+    right: 0;
+}

+ 1 - 6
panorama/templates/panorama/view.html

@@ -121,11 +121,6 @@
     </p>
     <p id="res"></p>
 
-    <div id="mapid" style="height: 300px; width: 300px; bottom: 0;
-    height: 300px;
-    margin: 20px;
-    position: absolute;
-    right: 0;
-    width: 300px;"></div>
+    <div id="mapid"></div>
   </body>
 </html>