mirror of
https://github.com/vale981/Vulcan
synced 2025-03-07 02:21:43 -05:00
Fixes 447 - Hide mobile nav with css rather than js.
Also, removing random unused class.
This commit is contained in:
parent
4b2326e105
commit
dbf640ce2b
3 changed files with 3 additions and 7 deletions
|
@ -25,10 +25,6 @@ Template[getTemplate('mobile_nav')].events({
|
|||
}
|
||||
});
|
||||
|
||||
Template[getTemplate('mobile_nav')].rendered = function () {
|
||||
$('.mobile-nav .dropdown-menu').hide();
|
||||
};
|
||||
|
||||
Template[getTemplate('mobile_nav')].events({
|
||||
'click .dropdown-top-level': function (e) {
|
||||
e.preventDefault();
|
||||
|
|
|
@ -100,6 +100,7 @@ $mobile-nav-width: 200px;
|
|||
padding: 10px;
|
||||
}
|
||||
.dropdown-menu{
|
||||
display: none;
|
||||
background: #333;
|
||||
li{
|
||||
padding: 10px;
|
||||
|
|
|
@ -83,6 +83,7 @@
|
|||
}
|
||||
}
|
||||
}
|
||||
|
||||
.search{
|
||||
position: relative;
|
||||
.search-field{
|
||||
|
@ -99,6 +100,7 @@
|
|||
background: white;
|
||||
&:focus{
|
||||
outline:none;
|
||||
width: 200px;
|
||||
}
|
||||
}
|
||||
&.empty{
|
||||
|
@ -108,9 +110,6 @@
|
|||
background: white;
|
||||
}
|
||||
}
|
||||
.search-clear{
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue