]> source.dussan.org Git - nextcloud-server.git/commitdiff
Add 'hascontrols' class for content with fixed topbar.
authorThomas Tanghus <thomas@tanghus.net>
Mon, 4 Feb 2013 17:30:49 +0000 (18:30 +0100)
committerThomas Tanghus <thomas@tanghus.net>
Mon, 4 Feb 2013 17:30:49 +0000 (18:30 +0100)
apps/files/css/files.css
apps/files/templates/index.php
core/css/styles.css
settings/templates/apps.php
settings/templates/users.php

index 0a12439c3598c5f110b70f1b1c8382c5a2b529fc..f37ac4c262ac9c9096184de71878cc3a7ce6ebbb 100644 (file)
@@ -3,7 +3,7 @@
  See the COPYING-README file. */
 
 /* FILE MENU */
-.actions { padding:.3em; float:left; height:2em; }
+.actions { padding:.3em; float:left; height:2em; width: 100%; }
 .actions input, .actions button, .actions .button { margin:0; float:left; }
 
 #new {
@@ -23,7 +23,7 @@
 #new>ul>li>p { cursor:pointer; }
 #new>ul>li>form>input { padding:0.3em; margin:-0.3em; }
 
-#trash { height:17px;  margin:0.3em 0.3em 0.3em 1em; z-index:1010; float: right; }
+#trash { height:17px; margin: 0 1em; z-index:1010; float: right; }
 
 #upload { 
        height:27px; padding:0; margin-left:0.2em; overflow:hidden;
index 9c12067ae950827e76ec177825c792c2110df0f6..0b4aa21eac32fbe75ece09dc781dbc0da528d846 100644 (file)
                                        <a href="#" class="svg" onclick="return false;"></a>
                                </form>
                        </div>
-               </div>
-               <?php if ($_['trash'] ): ?>
+                       <?php if ($_['trash'] ): ?>
                        <div id="trash" class="button">
                                <a><?php echo $l->t('Trash');?></a>
                        </div>
-               <?php endif; ?>
-               <div id="uploadprogresswrapper">
-                       <div id="uploadprogressbar"></div>
-                       <input type="button" class="stop" style="display:none"
-                                  value="<?php echo $l->t('Cancel upload');?>"
-                                  onclick="javascript:Files.cancelUploads();"
+                       <?php endif; ?>
+                       <div id="uploadprogresswrapper">
+                               <div id="uploadprogressbar"></div>
+                               <input type="button" class="stop" style="display:none"
+                                       value="<?php echo $l->t('Cancel upload');?>"
+                                       onclick="javascript:Files.cancelUploads();"
                                />
+                       </div>
                </div>
                <div id="file_action_panel"></div>
        <?php else:?>
@@ -59,7 +59,7 @@
        <div id="emptyfolder"><?php echo $l->t('Nothing in here. Upload something!')?></div>
 <?php endif; ?>
 
-<table>
+<table class="hascontrols">
        <thead>
                <tr>
                        <th id='headerName'>
index 80485fd063dc00b84229ef40624ed11a53064f86..02300ff4cd35482d00fdd5ee9ff429b9cc0eeb50 100644 (file)
@@ -119,10 +119,18 @@ input[type="submit"].enabled { background:#66f866; border:1px solid #5e5; -moz-b
 #select_all{ margin-top:.4em !important;}
 
 /* CONTENT ------------------------------------------------------------------ */
-#controls { padding:0 0.5em; width:100%; top:0; height:2.8em; margin:0; background:#f7f7f7; border-bottom:1px solid #eee; position:relative; -moz-box-sizing:border-box; box-sizing:border-box; z-index:50; -moz-box-shadow:0 -3px 7px #000; -webkit-box-shadow:0 -3px 7px #000; box-shadow:0 -3px 7px #000; }
+#controls {
+       position:fixed;
+       height:2.8em; width:100%;
+       padding:0 70px 0 0.5em; margin:0;
+       -moz-box-sizing:border-box; box-sizing:border-box;
+       -moz-box-shadow:0 -3px 7px #000; -webkit-box-shadow:0 -3px 7px #000; box-shadow:0 -3px 7px #000;
+       background:#f7f7f7; border-bottom:1px solid #eee;  z-index:50;
+}
 #controls .button { display:inline-block; }
 
 #content { position:relative; height:100%; width:100%; }
+#content .hascontrols { position: relative; top: 3em; }
 #content-wrapper {
        position:absolute; height:100%; width:100%; padding-top:3.5em; padding-left:64px;
        -moz-box-sizing:border-box; box-sizing:border-box;
index 3f0d2a9d1c6462941e48cbcbf5cc0e68093f7dc0..ed1232ac3227204c4719d9b9421581cd52cad6ed 100644 (file)
@@ -10,7 +10,7 @@
        <a class="button" target="_blank" href="http://owncloud.org/dev"><?php echo $l->t('Add your App');?></a>
        <a class="button" target="_blank" href="http://apps.owncloud.com"><?php echo $l->t('More Apps');?></a>
 </div>
-<ul id="leftcontent" class="applist">
+<ul id="leftcontent" class="applist hascontrols">
        <?php foreach($_['apps'] as $app):?>
        <li <?php if($app['active']) echo 'class="active"'?> data-id="<?php echo $app['id'] ?>" <?php if ( isset( $app['ocs_id'] ) ) { echo "data-id-ocs=\"{$app['ocs_id']}\""; } ?>
                data-type="<?php echo $app['internal'] ? 'internal' : 'external' ?>" data-installed="1">
index 4d7c29678ce1559cd23d10152e39cb871a005325..b3cab526947d58cd260ad13738143b5887e6a593 100644 (file)
@@ -73,7 +73,7 @@ $_['subadmingroups'] = array_flip($items);
        </div>
 </div>
 
-<table data-groups="<?php echo implode(', ', $allGroups);?>">
+<table class="hascontrols" data-groups="<?php echo implode(', ', $allGroups);?>">
        <thead>
                <tr>
                        <th id='headerName'><?php echo $l->t('Login Name')?></th>