]> source.dussan.org Git - nextcloud-server.git/commitdiff
fix new button popup looking blurry
authorJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 13 Dec 2012 18:04:27 +0000 (19:04 +0100)
committerJan-Christoph Borchardt <hey@jancborchardt.net>
Thu, 13 Dec 2012 18:04:27 +0000 (19:04 +0100)
apps/files/css/files.css
apps/files/templates/index.php

index afc72916e0951612a88eb1621210d19d280803aa..59aa4dbf0fb24430e43190fba294e239933248c4 100644 (file)
 #new.active { border-bottom-left-radius:0; border-bottom-right-radius:0; border-bottom:none; }
 #new>a { padding:.5em 1.2em .3em; }
 #new>ul {
-       display:none; position:fixed; min-width:7em; z-index:-1;
-       padding:.5em; margin-top:0.075em; margin-left:-.5em; 
+       display:none; position:fixed; min-width:7em; z-index:10;
+       padding:.5em; padding-bottom:0; margin-top:.075em; margin-left:-.5em;
        text-align:left;
-       background:#f8f8f8; border:1px solid #ddd;
+       background:#f8f8f8; border:1px solid #ddd; border-radius:10px; border-top-left-radius:0;
+       box-shadow:0 2px 7px rgba(170,170,170,.4);
 }
 #new>ul>li { height:20px; margin:.3em; padding-left:2em; padding-bottom:0.1em;
                background-repeat:no-repeat; cursor:pointer; }
 #new>ul>li>p { cursor:pointer; }
 #new>ul>li>input { padding:0.3em; margin:-0.3em; }
-#new .popup { border-top-left-radius:0; z-index:10; }
 
 #upload { 
        height:27px; padding:0; margin-left:0.2em; overflow:hidden;
index bd34c9a76d98519a659459ba80e3dc62e16c11ba..edf048c7e130401e03389bfc0bcad9a59028e450 100644 (file)
@@ -5,7 +5,7 @@
                <div class="actions <?php if (isset($_['files']) and count($_['files'])==0):?>emptyfolder<?php endif; ?>">
                        <div id="new" class="button">
                                <a><?php echo $l->t('New');?></a>
-                               <ul class="popup popupTop">
+                               <ul>
                                        <li style="background-image:url('<?php echo OCP\mimetype_icon('text/plain') ?>')"
                                                data-type='file'><p><?php echo $l->t('Text file');?></p></li>
                                        <li style="background-image:url('<?php echo OCP\mimetype_icon('dir') ?>')"