use the ne prettybutton class and add eyecandy

This commit is contained in:
Frank Karlitschek 2011-04-17 18:21:34 +02:00
parent 7b02151639
commit 80c00c9ddd
6 changed files with 19 additions and 34 deletions

View File

@ -37,6 +37,22 @@ if(isset($_GET['cat'])) $cat=$_GET['cat']; else $cat=0;
$categories=OC_OCSCLIENT::getCategories();
/*
All
Installed Apps
foreach($categories as $key=>$value) {
print_r($value);
}
*/
if($id==0) {
if($cat==0){

View File

@ -34,7 +34,6 @@ table td.name a
.type
{
padding: 6px;
text-decoration: none;
color: #888888;
font-size: 0.8em;
@ -42,23 +41,9 @@ table td.name a
.description
{
padding: 6px;
text-decoration: none;
color: #666666;
font-size: 0.9em;
}
.install a {
padding:0.2em 0.5em;
border:1px solid #ddd;
-moz-border-radius:15px;
-webkit-border-radius:15px;
border-radius:15px;
text-decoration: none;
font-size:1.5em; color:#666666;
background-color:#F0F0F0;
}
.install a:hover {
background-color:#DDDDDD;
}

View File

@ -21,7 +21,7 @@ $app=$_['app'];
<br />
<?php echo('<a class="description" target="_blank" href="'.$app["detailpage"].'">read more</a><br />'); ?>
</td>
<td width="1" valign="top" class="install"><a href="">INSTALL</a></td>
<td width="1" valign="top"><a class="prettybutton" href="">INSTALL</a></td>
</tr>
</table>

View File

@ -47,7 +47,7 @@ form a { color:#000; text-decoration:none; }
#login input[type='submit'] { width:5em; background-color:#fff; }
#login input[type='submit']:hover, #login input[type=submit]:focus { background-color:#ccc; outline:0; }
.prettybutton { margin:0.1em; padding:0.2em 0.5em; border:1px solid #ddd; -moz-border-radius:15px; -webkit-border-radius:15px; border-radius:15px; font-size:2em; color:#666; background-color:#fff; }
.prettybutton { margin:0.1em; padding:0.2em 0.5em; border:1px solid #ddd; -moz-border-radius:15px; -webkit-border-radius:15px; border-radius:15px; font-size:1.5em; text-decoration:none; color:#666; background-color:#fff; }
.prettybutton:hover, .prettybutton:focus { background-color:#ccc; outline:0; }
/* META NAVIGATION (Settings, Log out) ---------------------------------------------------------------- */

View File

@ -34,7 +34,6 @@ table td.name a
.type
{
padding: 6px;
text-decoration: none;
color: #888888;
font-size: 0.8em;
@ -42,23 +41,8 @@ table td.name a
.description
{
padding: 6px;
text-decoration: none;
color: #666666;
font-size: 0.9em;
}
.button a {
padding:0.2em 0.5em;
border:1px solid #ddd;
-moz-border-radius:15px;
-webkit-border-radius:15px;
border-radius:15px;
text-decoration: none;
font-size:1.3em; color:#666666;
background-color:#F0F0F0;
}
.button a:hover {
background-color:#DDDDDD;
}

View File

@ -13,6 +13,6 @@
<?php endforeach; ?>
</tbody>
</table>
<span class="button"><a target="_blank" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new">ASK A QUESTION</a></span>
<a target="_blank" class="prettybutton" href="http://apps.owncloud.com/knowledgebase/editquestion.php?action=new">ASK A QUESTION</a>