Browse Source

style boite de dialogue d'ajout d'un point sur view.html

julpec 8 years ago
parent
commit
04abdb59ea
2 changed files with 10 additions and 8 deletions
  1. 7 5
      panorama/static/panorama/css/celutz.css
  2. 3 3
      panorama/templates/panorama/view.html

+ 7 - 5
panorama/static/panorama/css/celutz.css

@@ -124,10 +124,11 @@ body {
 
 
 #insert {
 #insert {
     display:none;
     display:none;
-    background-color:#555;
-    border:2px black solid;
-    padding-left: 5px;
+    background-color:rgba(34,34,34,0.6);
+    border:0.1em #222 solid;
     position:absolute;
     position:absolute;
+    border-radius:0.4em;
+    padding: 6px 10px;
 }
 }
 
 
 label {
 label {
@@ -325,5 +326,6 @@ select {
     width:0px;
     width:0px;
     height:0px;
     height:0px;
 }
 }
-
-
+#sel_point option {
+    padding: 0px 5px;
+}

+ 3 - 3
panorama/templates/panorama/view.html

@@ -152,9 +152,9 @@ style="padding-left:0px"
         <option>{{ refpoint.name }}</option>
         <option>{{ refpoint.name }}</option>
         {% endfor %}
         {% endfor %}
       </select>
       </select>
-      <input type="button" id="do-insert" value={% trans "insert" %}/>
-      <input type="button" id="do-delete" value={% trans "delete" %}/>
-      <input type="button" id="do-cancel" value={% trans "cancel" %}/>
+      <input type="button" id="do-insert" class="btn btn-primary btn-sm" value={% trans "insert" %} />
+      <input type="button" id="do-delete" class="btn btn-danger btn-sm" value={% trans "delete" %} />
+      <input type="button" id="do-cancel" class="btn btn-warning btn-sm" value={% trans "cancel" %} />
     </p>
     </p>
     <p id="res"></p>
     <p id="res"></p>
     <div id="mapid"></div>
     <div id="mapid"></div>