]> source.dussan.org Git - nextcloud-server.git/commitdiff
various style fixes
authorJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Mon, 8 Aug 2011 12:13:11 +0000 (14:13 +0200)
committerJan-Christoph Borchardt <JanCBorchardt@fsfe.org>
Mon, 8 Aug 2011 12:13:11 +0000 (14:13 +0200)
admin/js/users.js
admin/templates/users.php
core/css/styles.css
files/css/files.css
help/css/help.css
help/templates/index.php
settings/css/settings.css

index 994ce6f6cbd4942147609c163d5b9556600210b6..5a99362726c578a6b87443cc977046052094b5ee 100644 (file)
@@ -57,7 +57,7 @@ $(document).ready(function(){
                // Add user to table
                var newrow = '<tr x-uid="'+username+'"><td x-use="username"><div x-use="usernamediv">'+username+'</div></td>';
                newrow = newrow+'<td x-use="usergroups"><div x-use="usergroupsdiv">'+groups+'</td>';
-               newrow = newrow+'<td><a class="removeuserbutton" href="">remove</a></td></tr>';
+               newrow = newrow+'<td><input type="submit" class="removeuserbutton" value="Remove" /></td></tr>';
                $("#usertable").append( newrow  );
 
                // Clear forms
@@ -71,7 +71,7 @@ $(document).ready(function(){
 
        function groupCreated( groupname ){
                var newrow = '<tr x-gid="'+groupname+'"><td>' + groupname + '</td>';
-               newrow = newrow + '<td><a class="removegroupbutton" href="">remove</a></td></tr>';
+               newrow = newrow + '<td><input type="submit" class="removeuserbutton" value="Remove" /></td></tr>';
                $("#grouptable").append( newrow  );
 
                // Delete form content
index c16270edbf46dd0d65694bd74a2e6a53bb32ce56..fbb0fe79f3908eebd06254bf6aaef5267cf89ff3 100644 (file)
@@ -56,7 +56,7 @@
                                        <td><?php echo $group["name"] ?></td>
                                        <td>
                                                <?php if( $group["name"] != "admin" ): ?>
-                                                       <input type="submit" class="removegroupbutton" value="<?php echo $l->t( 'remove' ); ?>" />
+                                                       <input type="submit" class="removegroupbutton" value="<?php echo $l->t( 'Remove' ); ?>" />
                                                <?php else: ?>
                                                        &nbsp;
                                                <?php endif; ?>
index a0e67b4bde9350b47eb011a3ee7d4bb8ef2a6463..0f05850e26556daa9ecec75599ee02731f5c8258 100644 (file)
@@ -24,15 +24,15 @@ input[type="checkbox"] { width:auto; }
 #remember_login { margin:.8em .2em 0 1em; }
 form.searchbox input[type="search"] { position:fixed; font-size:1.2em; top:.3em; right:7em; padding:.2em .5em .2em 1.5em; background:#f8f8f8 url('../img/actions/search.png') .5em center no-repeat; border:0; -moz-border-radius:1em; -webkit-border-
 radius:1em; border-radius:1em; }
-input[type="submit"].enabled { background:#aea; -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; }
-input[type="submit"].highlight{ background:#ffc100; border:1px solid #dda600; text-shadow:#ffeedd 0 1px 0; -moz-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; }
+input[type="submit"].enabled { 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; }
+input[type="submit"].highlight{ background:#ffc100; border:1px solid #db0; text-shadow:#ffeedd 0 1px 0; -moz-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; -webkit-box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; box-shadow:0 1px 1px #f8f8f8, 0 1px 1px #ffeedd inset; }
 
 form#user_settings { max-width:600px; }
 form#user_settings p label { display:block; float:left; width:35%; padding:0.4em 0.5em 0 0; text-align:right; }
 form p { padding:0.5em 4em 0.5em 0.5em; text-align:left; }
 form p.form_footer { margin:1em 0 0 0; text-align:right; }
 form label { cursor:pointer; }
-fieldset { padding:1em; width:40em; margin:1em;
+#body-settings fieldset { padding:1em; width:40em; margin:1em;
 border:1px solid #ddd; font-weight:bold; cursor:pointer; background:#f2f2f2; color:#555; text-shadow:#fff 0 1px 0; -moz-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; -webkit-box-shadow:0 1px 1px #fff, 0 1px 1px #fff inset; -moz-border-radius:.5em; -webkit-border-radius:.5em; border-radius:.5em;}
 legend { padding:.2em; font-size:1.2em; }
 .template{display:none;}
index 004e42338fc2ef7aa0dca5d9befe1d59b571634c..bfd96bc2acf82e12f0bc0ef010aed5fc1e64a4e8 100644 (file)
@@ -9,7 +9,7 @@
 .file_upload_wrapper { background:url("../img/file.png"); font-weight:bold; position:relative; top:-1.2em; left:-2em; display:-moz-inline-box; /* fallback for older firefox versions*/ display:inline-block; width:8em; }
 .file_upload_start { opacity:0; filter:alpha(opacity=0); }
 
-#file_newfolder_name { background-image:url("../img/folder.png"); font-weight:bold; width:12em; }
+#file_newfolder_name { background-image:url("../img/folder.png"); font-weight:bold; width:8em; }
 .file_upload_start, .file_upload_filename { position:absolute; top:0; left:0; font-size:1em; }
 #file_newfolder_submit, #file_upload_submit { width:3em; }
 .file_upload_target { display:none; }
index e8c42f808d188ede8d8f8658ff198ad86d3b395a..2722c676a66053ca9ea5316002cd674c98ae0925 100644 (file)
@@ -6,3 +6,5 @@ table td.selection, table th.selection, table td.fileaction { width:2em; text-al
 table td.name a { padding:6px; text-decoration:none; color:#555555; }
 .type  { text-decoration:none; color:#888888; font-size:.8em; }
 .description  { text-decoration:none; color:#666666; font-size:.9em; }
+
+table#help tr td { white-space:normal; }
index f859a8ae70c6c14b1391600071a4bc6fdb23a404..ef5510e78b47c8b087c7110a132a92eeaf97e665 100644 (file)
@@ -1,12 +1,12 @@
 <?php if(is_null($_["kbe"])):?>
        Can't connect to Q&amp;A database
 <?php else:?>
-       <table cellspacing="0" width="100%">
+       <table id="help" cellspacing="20">
                <tbody>
                        <?php foreach($_["kbe"] as $kb): ?>
                                <tr>
                                        <td width="1"><?php if($kb["preview1"] <> "") { echo('<img class="preview" border="0" src="'.$kb["preview1"].'" />'); } ?> </a></td>
-                                       <td class="name"><?php echo $kb["name"]; ?><br /><?php  echo('<span class="type">'.$kb['description'].'</span>'); ?>
+                                       <td class="name"><p><strong><?php echo $kb["name"]; ?></strong></p><?php  echo('<span class="type">'.$kb['description'].'</span>'); ?>
                                        <?php if($kb['answer']<>'') echo('<br /><span class="type"><b>Answer:</b></span><br /><span class="type">'.$kb['answer'].'</span>');?>
                                        </td>
                                </tr>
index 23561ec367d08ec9b2950bcaedeae36c971d856c..66299b1faa04416fff359d898c765a07a852e3c7 100644 (file)
@@ -1,2 +1,4 @@
-#passworderror{display:none;}
-#passwordchanged{display:none;}
\ No newline at end of file
+#passworderror { display:none; }
+#passwordchanged { display:none; }
+
+input#identity { width:20em; }