]> source.dussan.org Git - nextcloud-server.git/commitdiff
upload arrow has full opacity, button is highlighted for new users and empty folders
authorJan-Christoph Borchardt <jan@unhosted.org>
Tue, 17 Apr 2012 12:29:02 +0000 (14:29 +0200)
committerJan-Christoph Borchardt <jan@unhosted.org>
Tue, 17 Apr 2012 12:29:02 +0000 (14:29 +0200)
files/css/files.css
files/templates/index.php

index fd573bba421e0a24107401b745cd0433132248e5..713adf7b5fd7dac5f8123e3f946bd539f0406719 100644 (file)
 .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; }
index 639bdeaead83fb1e575394e424060c8f56a5e1aa..b21cf0aeb0243935e64a678d697a58c83d780e5a 100644 (file)
@@ -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">