<pre style='margin:0'>
Mojca Miklavec (mojca) pushed a commit to branch master
in repository macports-www.
</pre>
<p><a href="https://github.com/macports/macports-www/commit/e5adfb17c502321ce7c9c2302dd392293100d812">https://github.com/macports/macports-www/commit/e5adfb17c502321ce7c9c2302dd392293100d812</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new e5adfb1 Improve readability of shortcuts menu
</span>e5adfb1 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit e5adfb17c502321ce7c9c2302dd392293100d812
</span>Author: Mihir Luthra <1999mihir.luthra@gmail.com>
AuthorDate: Sun Oct 13 04:02:41 2019 +0530
<span style='display:block; white-space:pre;color:#404040;'> Improve readability of shortcuts menu
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Remove shortcuts heading.
</span><span style='display:block; white-space:pre;color:#404040;'> Add more vertical space between the links to increase readability.
</span><span style='display:block; white-space:pre;color:#404040;'> Use larger hover area with background color instead of undlerline.
</span>---
includes/header.inc | 39 +++++++++++++++++----------------------
macports.css | 26 +++++---------------------
2 files changed, 22 insertions(+), 43 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/includes/header.inc b/includes/header.inc
</span><span style='display:block; white-space:pre;color:#808080;'>index 18fb4f2..c4362a6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/includes/header.inc
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/includes/header.inc
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -78,29 +78,24 @@
</span>
<div id="side-navigation">
<span style='display:block; white-space:pre;background:#ffe0e0;'>- <dl>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <dt>Shortcuts</dt>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <dd>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- <ul>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ <ul>
</span> <?php
<span style='display:block; white-space:pre;background:#ffe0e0;'>- $shortcuts = array (
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'Available Downloads' => $downloads_overview,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'MacPorts FAQ' => $trac_url . 'wiki/FAQ',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'Report a Bug' => $trac_url . 'newticket',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'Bug reporting Guidelines' => $guide_url . '#project.tickets',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'Git Repository' => $github_url,
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'MacPorts Team' => $trac_url . 'wiki/MacPortsDevelopers',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- 'Becoming a Member' => $guide_url . '#project.membership',
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- );
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- foreach ($shortcuts as $title => $url) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- if (basename($_SERVER['PHP_SELF']) == $url) {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "<li class=\"selected\"><a href=\"$url\" title=\"$title\">$title</a></li>\n";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- } else {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- echo "<li><a href=\"$url\" title=\"$title\">$title</a></li>\n";
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $shortcuts = array (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Available Downloads' => $downloads_overview,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'MacPorts FAQ' => $trac_url . 'wiki/FAQ',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Report a Bug' => $trac_url . 'newticket',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Bug reporting Guidelines' => $guide_url . '#project.tickets',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Git Repository' => $github_url,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'MacPorts Team' => $trac_url . 'wiki/MacPortsDevelopers',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'Becoming a Member' => $guide_url . '#project.membership',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ foreach ($shortcuts as $title => $url) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if (basename($_SERVER['PHP_SELF']) == $url) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "<li class=\"selected\"><a href=\"$url\" title=\"$title\">$title</a></li>\n";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ echo "<li><a href=\"$url\" title=\"$title\">$title</a></li>\n";
</span> }
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> ?>
<span style='display:block; white-space:pre;background:#ffe0e0;'>- </ul>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </dd>
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- </dl>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ </ul>
</span> </div>
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/macports.css b/macports.css
</span><span style='display:block; white-space:pre;color:#808080;'>index e278c23..95d5deb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/macports.css
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/macports.css
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -128,7 +128,7 @@ a#download:hover {
</span>
#language img, #languages img {
width: 30px;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- height: 48px;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ height: 48px;
</span> }
#side-navigation {
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -140,24 +140,6 @@ a#download:hover {
</span> /*! margin-top: -6px; */
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-#side-navigation dl {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- padding: 16px 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- margin: 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /*! background: url(img/nav-footer.png) bottom no-repeat; */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#side-navigation dt {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- margin: 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /*! padding: 0 16px; */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /*! color: white; */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- /*! font: bold 125% "Lucida Grande", Helvetica, Arial, sans-serif; */
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-#side-navigation dd {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- margin: 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- padding: 0;
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> #side-navigation ul {
margin: 0 0 1em 0;
padding: 0;
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -166,16 +148,18 @@ a#download:hover {
</span> #side-navigation li {
display: block;
margin-bottom: 1px;
<span style='display:block; white-space:pre;background:#ffe0e0;'>- padding: 0 16px 0 28px;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ border-bottom: 1px solid #CDCDCD
</span> }
#side-navigation a {
text-decoration: none;
color: #242933;
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ padding: 6px 16px 6px 6px;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ display: block;
</span> }
#side-navigation a:hover {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- text-decoration: underline;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ background: #CDCDCD
</span> }
.selected {
</pre><pre style='margin:0'>
</pre>