diff options
author | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-07-30 10:56:28 +0200 |
---|---|---|
committer | Jan-Christoph Borchardt <JanCBorchardt@fsfe.org> | 2011-07-30 10:56:28 +0200 |
commit | 8426babab962539d91ee00d348a0004755a15866 (patch) | |
tree | ad6f63a60827784f2dd692d7ab5df628b3a1125f /core | |
parent | bb5e6c9823a6c89f9eecd82c45d48f664063cace (diff) | |
download | nextcloud-server-8426babab962539d91ee00d348a0004755a15866.tar.gz nextcloud-server-8426babab962539d91ee00d348a0004755a15866.zip |
updated navigation subentry styling
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.css | 6 | ||||
-rw-r--r-- | core/templates/layout.user.php | 2 |
2 files changed, 4 insertions, 4 deletions
diff --git a/core/css/styles.css b/core/css/styles.css index 00433979d24..400108c454d 100644 --- a/core/css/styles.css +++ b/core/css/styles.css @@ -87,9 +87,9 @@ input[type="search"] { font-size:1em; padding-left:2em; background:#eee url('../ #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; } -#plugins .subentry.active { background-color:#bbb; border-top:1px solid #aaa; border-bottom:1px solid #ccc; color:#000; outline:0; } -#plugins li.subentry a {padding-left:4em;} +#plugins .subentry { background-color:#ddd; border-top:1px solid #aaa; color:#000; outline:0; } +#plugins .subentry.active { background-color:#bbb; border-top:1px solid #aaa; color:#000; outline:0; } +#plugins li.subentry a { padding-left:3.7em; font-size:1em; } /* CONTENT ------------------------------------------------------------------ */ #content { margin:3.5em 0 0 15.7em; } diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 8f073914a1f..1de0ccf80c1 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -47,7 +47,7 @@ <?php if( sizeof( $entry["subnavigation"] )): ?> <ul> <?php foreach($entry["subnavigation"] as $subentry):?> - <li class="subentry"><a style="background-image:url(<?php echo $subentry['icon']; ?>)" href="<?php echo $subentry['href']; ?>" title="" <?php if( $subentry['active'] ): ?>class="active"<?php endif; ?>><?php echo $subentry['name'] ?></a></li> + <li class="subentry"><a style="background-image:url(<?php echo $subentry['icon']; ?>)" href="<?php echo $subentry['href']; ?>" title="" class="subentry<?php if( $subentry['active'] ): ?> active<?php endif; ?>"><?php echo $subentry['name'] ?></a></li> <?php endforeach; ?> </ul> <?php endif; ?> |