Skip to content
Permalink
Browse files

WET theme: Fixed appearance of non-link secondary menu items (e.g., s…

…ection headings)
  • Loading branch information...
pjackson28 committed Feb 20, 2014
1 parent 0e62119 commit a8b9a959e7e59235329b5da450517b23ab580f2e
Showing with 17 additions and 9 deletions.
  1. +8 −8 site/includes/secondarymenu.hbs
  2. +9 −1 theme/sass/parts/_secMenu.scss
@@ -1,15 +1,15 @@
<ul class="list-group menu list-unstyled">
<li><span class="list-group-item">{{#i18n "tmpl-section"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}1</span>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}1</a></li>
<li><a class="list-group-item">{{#i18n "tmpl-section"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}2</a>
<ul class="list-group list-unstyled" id="sect1">
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}1a</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}1b</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}1c</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}1d</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}1e</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-section"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}1{{#i18n "hyphen"}}{{/i18n}}{{#i18n "tmpl-more"}}{{/i18n}}</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}2a</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}2b</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}2c</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}2d</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}2e</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-section"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}2{{#i18n "hyphen"}}{{/i18n}}{{#i18n "tmpl-more"}}{{/i18n}}</a></li>
</ul>
</li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}2</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}3</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}4</a></li>
<li><a class="list-group-item" href="{{environment.root}}/index-{{language}}">{{#i18n "tmpl-item"}}{{/i18n}}{{#i18n "space"}}{{/i18n}}5</a></li>
@@ -13,10 +13,18 @@
border-radius: 0;
margin-top: -1px;
text-decoration: none;
&.wb-navcurr, &:hover, &:focus {
%secmenu-wet-theme-menuitem-curr-hover-focus {
background: darken($clrWhite, 50%);
color: lighten($clrDark, 75%);
}
&.wb-navcurr {
@extend %secmenu-wet-theme-menuitem-curr-hover-focus;
}
&[href] {
&:hover, &:focus {
@extend %secmenu-wet-theme-menuitem-curr-hover-focus;
}
}
}
}
.list-group {

0 comments on commit a8b9a95

Please sign in to comment.
You can’t perform that action at this time.