fix new button popup looking blurry
This commit is contained in:
parent
77c16b2933
commit
316a29f7ac
|
@ -12,16 +12,16 @@
|
||||||
#new.active { border-bottom-left-radius:0; border-bottom-right-radius:0; border-bottom:none; }
|
#new.active { border-bottom-left-radius:0; border-bottom-right-radius:0; border-bottom:none; }
|
||||||
#new>a { padding:.5em 1.2em .3em; }
|
#new>a { padding:.5em 1.2em .3em; }
|
||||||
#new>ul {
|
#new>ul {
|
||||||
display:none; position:fixed; min-width:7em; z-index:-1;
|
display:none; position:fixed; min-width:7em; z-index:10;
|
||||||
padding:.5em; margin-top:0.075em; margin-left:-.5em;
|
padding:.5em; padding-bottom:0; margin-top:.075em; margin-left:-.5em;
|
||||||
text-align:left;
|
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;
|
#new>ul>li { height:20px; margin:.3em; padding-left:2em; padding-bottom:0.1em;
|
||||||
background-repeat:no-repeat; cursor:pointer; }
|
background-repeat:no-repeat; cursor:pointer; }
|
||||||
#new>ul>li>p { cursor:pointer; }
|
#new>ul>li>p { cursor:pointer; }
|
||||||
#new>ul>li>input { padding:0.3em; margin:-0.3em; }
|
#new>ul>li>input { padding:0.3em; margin:-0.3em; }
|
||||||
#new .popup { border-top-left-radius:0; z-index:10; }
|
|
||||||
|
|
||||||
#upload {
|
#upload {
|
||||||
height:27px; padding:0; margin-left:0.2em; overflow:hidden;
|
height:27px; padding:0; margin-left:0.2em; overflow:hidden;
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
<div class="actions <?php if (isset($_['files']) and count($_['files'])==0):?>emptyfolder<?php endif; ?>">
|
<div class="actions <?php if (isset($_['files']) and count($_['files'])==0):?>emptyfolder<?php endif; ?>">
|
||||||
<div id="new" class="button">
|
<div id="new" class="button">
|
||||||
<a><?php echo $l->t('New');?></a>
|
<a><?php echo $l->t('New');?></a>
|
||||||
<ul class="popup popupTop">
|
<ul>
|
||||||
<li style="background-image:url('<?php echo OCP\mimetype_icon('text/plain') ?>')"
|
<li style="background-image:url('<?php echo OCP\mimetype_icon('text/plain') ?>')"
|
||||||
data-type='file'><p><?php echo $l->t('Text file');?></p></li>
|
data-type='file'><p><?php echo $l->t('Text file');?></p></li>
|
||||||
<li style="background-image:url('<?php echo OCP\mimetype_icon('dir') ?>')"
|
<li style="background-image:url('<?php echo OCP\mimetype_icon('dir') ?>')"
|
||||||
|
|
Loading…
Reference in New Issue