mirror of
https://github.com/vale981/Vulcan
synced 2025-03-08 19:11:38 -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({
|
Template[getTemplate('mobile_nav')].events({
|
||||||
'click .dropdown-top-level': function (e) {
|
'click .dropdown-top-level': function (e) {
|
||||||
e.preventDefault();
|
e.preventDefault();
|
||||||
|
|
|
@ -100,6 +100,7 @@ $mobile-nav-width: 200px;
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
}
|
}
|
||||||
.dropdown-menu{
|
.dropdown-menu{
|
||||||
|
display: none;
|
||||||
background: #333;
|
background: #333;
|
||||||
li{
|
li{
|
||||||
padding: 10px;
|
padding: 10px;
|
||||||
|
|
|
@ -83,6 +83,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.search{
|
.search{
|
||||||
position: relative;
|
position: relative;
|
||||||
.search-field{
|
.search-field{
|
||||||
|
@ -99,6 +100,7 @@
|
||||||
background: white;
|
background: white;
|
||||||
&:focus{
|
&:focus{
|
||||||
outline:none;
|
outline:none;
|
||||||
|
width: 200px;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
&.empty{
|
&.empty{
|
||||||
|
@ -108,9 +110,6 @@
|
||||||
background: white;
|
background: white;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.search-clear{
|
|
||||||
display: none;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue