From 8058fadd73b2ad25c27a57ba605d6e8ec16685c9 Mon Sep 17 00:00:00 2001 From: denisdulici Date: Thu, 6 Sep 2018 02:09:52 +0300 Subject: [PATCH] fixed #476 --- public/css/app.css | 8 ++++---- public/js/app.js | 12 ++++++------ resources/views/partials/admin/head.blade.php | 8 ++++---- resources/views/partials/admin/menu.blade.php | 6 +++--- 4 files changed, 17 insertions(+), 17 deletions(-) diff --git a/public/css/app.css b/public/css/app.css index 86e7ca968..ef7cccc2b 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -356,7 +356,7 @@ div.required .control-label:not(span):after, td.required:after { width: 150px; } -.ajax-search { +.live-search { padding: 5px; } @@ -369,16 +369,16 @@ div.required .control-label:not(span):after, td.required:after { background-color : #00A65A !important; } -#result-search li a:hover .ajax-search .name { +#result-search li a:hover .live-search .name { color: #FFFFFF !important; } -.ajax-search .name { +.live-search .name { font-size: 14px; font-weight: bold; } -.ajax-search .type { +.live-search .type { font-size: 12px; } diff --git a/public/js/app.js b/public/js/app.js index cd85df6ac..589cbb2f6 100644 --- a/public/js/app.js +++ b/public/js/app.js @@ -23,11 +23,11 @@ $(document).ready(function () { // Show this.show = function () { - var pos = $('#search').position(); + var pos = $('#live-search').position(); $(this).parent().parent().siblings('ul.dropdown-menu').css({ - top : pos.top + $('#search').height(), - width: $('#search').width(), + top : pos.top + $('#live-search').height(), + width: $('#live-search').width(), left: pos.left }); @@ -62,7 +62,7 @@ $(document).ready(function () { for (i = 0; i < count; i++) { html += '
  • '; html += ' '; - html += '