* Finish task#36456.
This commit is contained in:
@@ -61,10 +61,10 @@ body.menu-hide {padding-left: 0;}
|
||||
#userNav .dropdown-submenu:focus > a, #userNav .dropdown-submenu:hover > a {background-color: rgba(0,0,0,.2);}
|
||||
#poweredBy{width: 40%; position: absolute; top: 4px; right: 0; padding: 0;}
|
||||
|
||||
#globalSearchDiv{width:50%; float: right; margin-right: 4px;}
|
||||
#globalSearchDiv{width:52%; float: right; margin-right: 4px;}
|
||||
@media screen and (max-height: 768px)
|
||||
{
|
||||
#globalSearchDiv{width: 60%;}
|
||||
#globalSearchDiv{width: 62%;}
|
||||
}
|
||||
#globalSearchDiv .input-group{width: 82%; float: right; margin-top: 2px;}
|
||||
@media screen and (max-height: 768px)
|
||||
|
||||
@@ -531,7 +531,7 @@ $.extend(
|
||||
gotoObject:function()
|
||||
{
|
||||
objectType = $('#searchType').attr('value');
|
||||
objectValue = $('input#globalSearchInput').attr('value');
|
||||
objectValue = $('#globalSearchInput').attr('value');
|
||||
|
||||
if(objectType && objectValue)
|
||||
{
|
||||
@@ -590,7 +590,7 @@ $(function()
|
||||
var $this = $(this);
|
||||
var isActiveType = $this.data('value') === searchType && searchType !== 'all';
|
||||
$this.closest('li').toggleClass('selected active', isActiveType);
|
||||
$this.html($this.data('name') + ' <span>#' + (val.length > 4 ? (val.substr(0, 4) + '...') : val) + "</span>");
|
||||
$this.html($this.data('name') + ' <span>#' + (val.length > 7 ? (val.substr(0, 7) + '...') : val) + "</span>");
|
||||
if(isActiveType) $dropmenu.addClass('with-active');
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user