Begin work to highlight sidebar menu correctly.

The sidebar menu, and its related top menu item should match setups used
with other sidebar based pages on the site.
This commit is contained in:
Bradley M. Kuhn 2015-03-05 07:39:39 -08:00
parent 0152099070
commit c15ed233cf
4 changed files with 6 additions and 3 deletions

View file

@ -148,7 +148,8 @@ h3 { margin-top: .6em; margin-bottom: .4em; }
#container #sidebar.License ul li.License,
#container #sidebar.Current ul li.Current,
#container #sidebar.Services ul li.Services,
#container #sidebar.Applying ul li.Applying
#container #sidebar.Applying ul li.Applying,
#container #sidebar.Applying ul li.AboutCompliance
{
color: #000033;
font-weight: bold;
@ -262,6 +263,7 @@ body.conservancy-Members #navbar ul li.Members a,
body.conservancy-news #navbar ul li.news a,
body.conservancy-blog #navbar ul li.blog a,
body.conservancy-About #navbar ul li.About a,
body.conservancy-linux-compliance #navbar ul li.linux-compliance a,
body.conservancy-donate #navbar ul li.donate a,
body.conservancy-npoacct #navbar ul li.npoacct a,
body.conservancy-sponsors #navbar ul li.sponsors a /* NO COMMA HERE! */

View file

@ -1,6 +1,6 @@
{% extends "base_compliance.html" %}
{% block subtitle %}GPL Compliance Project For Linux Developers - {% endblock %}
{% block submenuselection %}About{% endblock %}
{% block submenuselection %}AboutCompliance{% endblock %}
{% block content %}
<h1>GPL Compliance Project for Linux Developers</h1>

View file

@ -43,7 +43,7 @@ of $<span id="fundraiser-goal">50,000</span> match met.<br/>
<div id="sidebar" class="{% block submenuselection %}other{% endblock %}">
<h2>Conservancy's GPL {% block category %}Compliance{% endblock %} Work</h2>
<ul>
<li class="About"><a href="/linux-compliance/about.html">About GPL Compliance Project for Linux Developers</a></li>
<li class="AboutCompliance"><a href="/linux-compliance/about.html">About GPL Compliance Project for Linux Developers</a></li>
</ul>
</div>
<div id="mainContent">{% block content %}{% endblock %}

View file

@ -27,6 +27,7 @@
<li class="sponsors"><a href="/sponsors/">Sponsors</a></li>
<li class="donate"><a href="/donate/">Donate</a></li>
<li class="npoacct"><a href="/npoacct/">NPOAcct</a></li>
<li class="linux-compliance"><a href="/linux-compliance/">GPL</a></li>
<li class="supporter"><a href="/supporter/">Become a Supporter!</a></li>
</ul>
</div>