diff options
author | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2012-12-13 19:04:27 +0100 |
---|---|---|
committer | Jan-Christoph Borchardt <hey@jancborchardt.net> | 2012-12-13 19:04:27 +0100 |
commit | 316a29f7ac09d71cfedc4bea5be892b56e27433f (patch) | |
tree | 1d0283e584a9d866629886c13535ae5cc16a5e68 /apps | |
parent | 77c16b293377d40668dd8aa7af1fe93757dc8d46 (diff) | |
download | nextcloud-server-316a29f7ac09d71cfedc4bea5be892b56e27433f.tar.gz nextcloud-server-316a29f7ac09d71cfedc4bea5be892b56e27433f.zip |
fix new button popup looking blurry
Diffstat (limited to 'apps')
-rw-r--r-- | apps/files/css/files.css | 8 | ||||
-rw-r--r-- | apps/files/templates/index.php | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/apps/files/css/files.css b/apps/files/css/files.css index afc72916e09..59aa4dbf0fb 100644 --- a/apps/files/css/files.css +++ b/apps/files/css/files.css @@ -12,16 +12,16 @@ #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; diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php index bd34c9a76d9..edf048c7e13 100644 --- a/apps/files/templates/index.php +++ b/apps/files/templates/index.php @@ -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') ?>')" |