summaryrefslogtreecommitdiffstats
path: root/files/css
diff options
context:
space:
mode:
authorJan-Christoph Borchardt <jan@unhosted.org>2011-10-23 21:51:56 +0200
committerJan-Christoph Borchardt <jan@unhosted.org>2011-10-23 21:51:56 +0200
commit0c890a501cc7c24fb7eb5a4e4bff35dd2bb56b6d (patch)
tree2effb35a68041a2653e4053d693d66afaacbe47f /files/css
parentd46288b0abea28a4e0184f6720e990a05d5f19a9 (diff)
downloadnextcloud-server-0c890a501cc7c24fb7eb5a4e4bff35dd2bb56b6d.tar.gz
nextcloud-server-0c890a501cc7c24fb7eb5a4e4bff35dd2bb56b6d.zip
upgraded the new new button. Didn't and doesn't work in Firefox though
Diffstat (limited to 'files/css')
-rw-r--r--files/css/files.css13
1 files changed, 7 insertions, 6 deletions
diff --git a/files/css/files.css b/files/css/files.css
index c6f76215155..0f0a3a6c585 100644
--- a/files/css/files.css
+++ b/files/css/files.css
@@ -4,7 +4,7 @@
/* FILE MENU */
.actions { padding:.3em; float:left; }
-.actions input { margin:0; }
+.actions input, .actions button { margin:0; }
#file_menu { right:0; position:absolute; top:0; }
#file_menu a { display:block; float:left; background-image:none; text-decoration:none; }
.file_upload_form, #file_newfolder_form { display:inline; float: left; margin-left:0; }
@@ -12,11 +12,11 @@
.file_upload_wrapper, #file_newfolder_name { background-repeat:no-repeat; background-position:.5em .5em; padding-left:2em; }
.file_upload_wrapper { font-weight:bold; display:-moz-inline-box; /* fallback for older firefox versions*/ display:inline-block; padding-left:0; overflow:hidden; position:relative; margin:0;}
.file_upload_wrapper .file_upload_button_wrapper { position:absolute; top:0; left:0; width:100%; height:100%; cursor:pointer; z-index:1000; }
-#new { float:left; border-top-right-radius:0; border-bottom-right-radius:0; margin-top:-0.075em; margin-right:0; border-right:none }
+#new { float:left; border-top-right-radius:0; border-bottom-right-radius:0; margin:-.075em 0 0 1em; border-right:none; z-index:1010; }
#new.active { border-bottom-left-radius:0; border-bottom:none; }
#new>a{ padding-left:1em; padding-right:1em; }
-#new>ul { display:none; position:fixed; text-align:left; padding:0.5em; background:#f8f8f8; margin-top:0.4em; border:1px solid #ddd; min-width:7em; margin-left:-0.5em; }
-#new>ul>li { margin:0.3em; padding-left:1.3em; background-repeat:no-repeat; cursor:pointer; }
+#new>ul { display:none; position:fixed; text-align:left; padding:.5em; background:#f8f8f8; margin-top:.4em; border:1px solid #ddd; min-width:7em; margin-left:-.5em; z-index:-1; }
+#new>ul>li { margin:.3em; padding-left:2em; background-repeat:no-repeat; cursor:pointer; }
#new>ul>li>p { cursor:pointer; }
#file_newfolder_name { background-image:url('../../core/img/places/folder.svg'); font-weight:normal; width:7em; }
@@ -25,8 +25,9 @@
.file_upload_target { display:none; }
.file_upload_start { opacity:0; filter:alpha(opacity=0); z-index:1; position:absolute; left:0; top:0; width:100%; cursor:pointer;}
-input.file_upload_filename.active { border-bottom-right-radius:0 }
-input.file_upload_filename { z-index:100; cursor:pointer; border-top-left-radius:0; border-bottom-left-radius:0; }
+.file_upload_filename.active { border-bottom-right-radius:0 }
+.file_upload_filename { z-index:100; cursor:pointer; border-top-left-radius:0; border-bottom-left-radius:0; padding:.3em; }
+
.file_upload_form, .file_upload_wrapper, .file_upload_start, .file_upload_filename, #file_upload_submit { cursor:pointer; }