diff options
author | Jan-Christoph Borchardt <jan@unhosted.org> | 2012-04-17 14:29:02 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <jan@unhosted.org> | 2012-04-17 14:29:02 +0200 |
commit | d8761d7edd8277fd5aeec145bf80e7d3c7968084 (patch) | |
tree | 644642ab0a1040aebc441c38bc2daf6247b45559 /files | |
parent | 66018b89b26313f168669bb1dd5c8b701964782a (diff) | |
download | nextcloud-server-d8761d7edd8277fd5aeec145bf80e7d3c7968084.tar.gz nextcloud-server-d8761d7edd8277fd5aeec145bf80e7d3c7968084.zip |
upload arrow has full opacity, button is highlighted for new users and empty folders
Diffstat (limited to 'files')
-rw-r--r-- | files/css/files.css | 3 | ||||
-rw-r--r-- | files/templates/index.php | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/files/css/files.css b/files/css/files.css index fd573bba421..713adf7b5fd 100644 --- a/files/css/files.css +++ b/files/css/files.css @@ -28,13 +28,14 @@ .file_upload_start { -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=0)"; filter:alpha(opacity=0); opacity:0; z-index:1; position:absolute; left:0; top:0; width:100%; cursor:pointer;} .file_upload_filename.active { border-bottom-right-radius:0 } .file_upload_filename { position: relative; z-index:100; padding-left: 0.8em; padding-right: 0.8em; cursor:pointer; border-top-left-radius:0; border-bottom-left-radius:0; } -.file_upload_filename img { position: absolute; top: 0.4em; left: 0.4em; } +.file_upload_filename img { position: absolute; top: 0.4em; left: 0.4em; -ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter:alpha(opacity=100); opacity:1; } .file_upload_form, .file_upload_wrapper, .file_upload_start, .file_upload_filename, #file_upload_submit { cursor:pointer; } /* FILE TABLE */ #emptyfolder { position:absolute; margin:10em 0 0 10em; font-size:1.5em; font-weight:bold; color:#888; text-shadow:#fff 0 1px 0; } +.emptyfolder #new, .emptyfolder .file_upload_filename { background:#66f866; border:1px solid #5e5; -moz-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #cfc inset; } table { position:relative; top:37px; width:100%; } tbody tr { background-color:#fff; height:2.5em; } tbody tr:hover, tbody tr:active, tbody tr.selected { background-color:#f8f8f8; } diff --git a/files/templates/index.php b/files/templates/index.php index 639bdeaead8..b21cf0aeb02 100644 --- a/files/templates/index.php +++ b/files/templates/index.php @@ -2,7 +2,7 @@ <div id="controls"> <?php echo($_['breadcrumb']); ?> <?php if (!isset($_['readonly']) || !$_['readonly']):?> - <div class="actions"> + <div class="actions <?php if (isset($_['files']) and ! $_['readonly'] and count($_['files'])==0):?>emptyfolder<?php endif; ?>"> <div id='new' class='button'> <a><?php echo $l->t('New');?></a> <ul class="popup popupTop"> |