diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-07-06 20:13:21 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-07-06 20:13:21 +0200 |
commit | 39c56a6ed0177976aab092a408abd4264b3dec49 (patch) | |
tree | 8a08ca2317b518872f96fc53eb7702123be99580 /core | |
parent | 4e5eb4c23ee74e7e7cb7420a51ad6028a412c123 (diff) | |
download | nextcloud-server-39c56a6ed0177976aab092a408abd4264b3dec49.tar.gz nextcloud-server-39c56a6ed0177976aab092a408abd4264b3dec49.zip |
styled navigation subcategories
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.css | 1 | ||||
-rw-r--r-- | core/templates/layout.admin.php | 4 |
2 files changed, 3 insertions, 2 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index 93d2248c6e7..222bcb222d4 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -208,6 +208,7 @@ form.searchbox { display:inline; position:fixed; top:2em; right:10em; margin:0; #plugins a { display:block; padding:0.5em 0.5em 0.5em 3em; background-position:1.5em center; background-repeat:no-repeat; border-bottom:1px solid #ddd; border-top:1px solid #fff; text-decoration:none; font-size:1.2em; color:#666; } #plugins a.active, #plugins a:hover, #plugins a:focus, #plugins a.selected { background-color:#ccc; border-top:1px solid #ccc; border-bottom:1px solid #ccc; color:#000; outline:0; } #plugins a:active { outline:0; } +#plugins .subentry { background-color:#ddd; border-top:1px solid #aaa; border-bottom:1px solid #ccc; color:#000; outline:0; } /* CONTENT ------------------------------------------------------------------ */ #content { margin:7em 0 0 16em; } diff --git a/core/templates/layout.admin.php b/core/templates/layout.admin.php index a97b765f953..026e1272237 100644 --- a/core/templates/layout.admin.php +++ b/core/templates/layout.admin.php @@ -43,7 +43,7 @@ <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>><?php echo $entry['name'] ?></a></li> <?php if( sizeof( $entry["subnavigation"] )): ?> <?php foreach($entry["subnavigation"] as $subentry):?> - <li><a style="background-color:#FF8800;" href="<?php echo $subentry['href']; ?>" title="" <?php if( $subentry["active"] ): ?> class="active"<?php endif; ?>><?php echo $subentry['name'] ?></a></li> + <li><a href="<?php echo $subentry['href']; ?>" title="" <?php if( $subentry["active"] ): ?> class="active"<?php endif; ?>><?php echo $subentry['name'] ?></a></li> <?php endforeach; ?> <?php endif; ?> <?php endforeach; ?> @@ -52,7 +52,7 @@ <li><a style="background-image:url(<?php echo $entry['icon']; ?>)" href="<?php echo $entry['href']; ?>" title="" <?php if( $entry["active"] ): ?> class="active"<?php endif; ?>><?php echo $entry['name'] ?></a></li> <?php if( sizeof( $entry["subnavigation"] )): ?> <?php foreach($entry["subnavigation"] as $subentry):?> - <li><a style="background-color:#FF8800;" href="<?php echo $subentry['href']; ?>" title=""><?php echo $subentry['name'] ?> <?php if( $subentry["active"] ): ?> active<?php endif; ?></a></li> + <li><a class="subentry" href="<?php echo $subentry['href']; ?>" title=""><?php echo $subentry['name'] ?></a></li> <?php endforeach; ?> <?php endif; ?> <?php endforeach; ?> |