Skip to content
Permalink
Browse files

removed duplicate .on reference

  • Loading branch information...
masterbee committed Oct 24, 2013
1 parent 7b77fcb commit ff35c315ed92118d91fa9368e1e0b781d702f971
Showing with 52 additions and 65 deletions.
  1. +0 −1 src/plugins/menu/menu-en.hbs
  2. +0 −1 src/plugins/menu/menu-include-en.html
  3. +0 −11 src/plugins/menu/menu.js
  4. +52 −52 theme/sass/parts/_sitenav.scss
@@ -54,7 +54,6 @@ language: en

<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Ratione, minima deleniti autem tenetur odit nostrum sunt eligendi quasi maiores veritatis voluptate tempore dolorem animi libero!</p>
<nav role="navigation" id="menu-demo" data-ajax-replace="menu-include-{{language}}.html" data-post-remove="remove after init" class="wb-menu remove after init" typeof="SiteNavigationElement">

<ul class="list-inline menu">
<li><a href="http://www.canada.gc.ca" class="item">Lorem ipsum dolor sit amet.</a></li>
<li><a href="http://www.tc.gc.ca" class="item">Lorem ipsum.</a></li>
@@ -3,7 +3,6 @@
<!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html -->
<!-- DataAjaxFragmentStart -->
<h2>Menu</h2>
<ul class="list-inline menu" role="menubar">
<li><a href="#lore" class="item">Lorem ipsum dolor sit amet.</a>
<ul class="sbmnu" id="lore" role="menu">
@@ -245,17 +245,6 @@ $document.on("timerpoke.wb mouseleave focusout select.wb-menu ajax-fetched.wb in
return true;
});

$document.on( "mouseleave focusout", selector, function( event ) {

var ref = expand( event.target ),
$container = ref[ 0 ],
$elm = ref[ 3 ];

event.stopPropagation();
if ( $elm === $container ) {
onReset( $container );
}
});

/*
* Menu Keyboard bindings
@@ -3,56 +3,56 @@
*/

#wb-sm {
background: none repeat scroll 0 0 #0E4164;
border-top: 1px solid #0B3048;
ul {
width: 100%;
list-style: none;
padding: 0;
li {
display: inline;
float: left;
a {
border-left: 1px solid #0B3048;
border-right: 1px solid #135480;
color: #fff;
display: block;
padding: 0.8em;
font-size: 1em;
font-weight: 400;
line-height: normal;
margin: 0;
text-decoration: none;
&:focus, &:hover {
text-decoration: underline;
}
}
}
}
.menu {
display: table;
width: 100%;
margin: 0;
> li {
display: table-cell;
padding: 0;
}
li {
a {
&:hover, &:focus, &:active {
background: #243850;
}
}
li {
a {
&:hover, &:focus, &:active {
background: none;
}
}
}
}
.expandicon {
border-top-color: #bbb;
}
}
background: none repeat scroll 0 0 #0E4164;
border-top: 1px solid #0B3048;
ul {
width: 100%;
list-style: none;
padding: 0;
li {
display: inline;
float: left;
a {
border-left: 1px solid #0B3048;
border-right: 1px solid #135480;
color: #fff;
display: block;
padding: 0.8em;
font-size: 1em;
font-weight: 400;
line-height: normal;
margin: 0;
text-decoration: none;
&:focus, &:hover {
text-decoration: underline;
}
}
}
}
.menu {
display: table;
width: 100%;
margin: 0;
> li {
display: table-cell;
padding: 0;
}
li {
a {
&:hover, &:focus, &:active {
background: #243850;
}
}
li {
a {
&:hover, &:focus, &:active {
background: none;
}
}
}
}
.expandicon {
border-top-color: #bbb;
}
}
}

0 comments on commit ff35c31

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