]> dev.renevier.net Git - syp.git/blobdiff - media/admin.css
real api and clearer separation between server and client
[syp.git] / media / admin.css
index 0822ece217923a1375df4568540d203d9d52a195..9cbbf7b833de210855c2c258b877d470f5f0ee32 100644 (file)
@@ -3,6 +3,16 @@
 
 @import url(common.css);
 
+
+/*
+ * misc
+ */
+
+#logout {
+    float: right;
+    margin: 0px 10px 0px 0px;
+}
+
 /*
  * map
  */
  * feature editor
  */
 #editor {
+    position: absolute;
+    width: 44%;
+    top: 2em;
+    left: 55%;
     display: none;
+    border: 1px solid black;
+    padding-bottom: 18px;
+}
+
+#editor_close {
     float: right;
-    clear: right;
-    margin-right: 12px;
+}
+
+#title, #description {
+    width: 90%;
 }
 
 #img {
     max-height: 400px;
     max-width: 400px;
+
 }
 html>/**/body #img { /* hide from ie7 */
     display: block;
     margin: 1em auto 0 auto;
 }
 
-#deletephoto_button {
-    margin-top: 12px;
+#validate_editor {
+    font-weight: bold;
+}
+
+#feature_delete {
+    margin-top: 2.5em;
+}
+#delete {
+    display: none;
+    font-weight: bold;
 }
 
 /*
  * global admin area
  */
 
-#global_admin {
+#admin {
     position: fixed;
-    top: 50%;
+    top: 53%;
     width: 50%;
 }
 
-#modify_howto,
-#dragdrop_howto {
-    visibility: hidden;
-}
-
-#features_connect_error {
-    display: none;
-}
-
 /*
  * password manager
  */
@@ -104,66 +125,15 @@ html>/**/body #img { /* hide from ie7 */
     background-color: white;
 }
 
-#user_pwd {
+#password {
     display: block;
     width: 100%;
 }
 
-#login_connect_error, 
-#login_password_error {
+#login_error {
     display: none;
 }
 
 /*
  * add feature
  */
-#newimage {
-    display: none;
-    float: right;
-    clear: right;
-    width: 45%;
-    border: 1px solid black;
-    padding: 15px 3px 8px 2px;
-}
-
-#newimage_error,
-#newimage_warn {
-    display: none;
-}
-
-#newimage_close {
-    float: right;
-    right: 8px;
-    margin: -14px -2px 0px 0px;
-}
-
-#newimage_preview {
-    display: none;
-    max-height: 400px;
-    max-width: 400px;
-
-    /* for IE */
-    _height: expression((this.offsetHeight>this.offsetWidth) ? 
-             Math.min(parseInt(this.offsetHeight), 400 ) : true);
-    _width: expression((this.offsetWidth>=this.offsetHeight) ? 
-            Math.min(parseInt(this.offsetWidth), 400 ) : true); 
-
-    margin-left: auto;
-    margin-right: auto;
-}
-
-/*
- * misc
- */
-
-#logout {
-    float: right;
-    margin: 0px 10px 0px 0px;
-}
-
-#features_success {
-    visibility: hidden;
-    clear: right;
-    text-align: center;
-    margin: 0px 0px 12px 50%;
-}