[+] Project : default theme added
This commit is contained in:
@@ -0,0 +1,28 @@
|
||||
/* block top search */
|
||||
#search_block_top {
|
||||
position:absolute;
|
||||
top:44px;
|
||||
left:0;
|
||||
}
|
||||
#search_block_top p {padding:0;}
|
||||
#search_block_top #search_query_top {
|
||||
padding:0 5px;
|
||||
height:24px;
|
||||
width:300px;/* 310 */
|
||||
border:1px solid #666;
|
||||
border-right:1px solid #fff !important;
|
||||
color:#666;
|
||||
background:url(img/bg_search_input.png) repeat-x 0 0 #fff;
|
||||
}
|
||||
|
||||
#search_block_top .button {
|
||||
border:none;
|
||||
border-radius:0;
|
||||
color:#fff;
|
||||
text-transform:uppercase;
|
||||
background:url(img/bg_search_submit.png) repeat-x 0 0 #101010;
|
||||
}
|
||||
|
||||
/*\*//*/div.madiv {
|
||||
#search_block_top .button {top: 5px;} /* hack ie 8 */
|
||||
}/* */
|
||||
@@ -54,7 +54,10 @@ class BlockSearch extends Module
|
||||
public function hookHeader($params)
|
||||
{
|
||||
if (Configuration::get('PS_SEARCH_AJAX'))
|
||||
$this->context->controller->addJqueryPlugin('autocomplete');
|
||||
{
|
||||
$this->context->controller->addCSS(_PS_CSS_DIR_.'jquery.autocomplete.css');
|
||||
$this->context->controller->addJS(_PS_JS_DIR_.'jquery/jquery.autocomplete.js');
|
||||
}
|
||||
$this->context->controller->addCSS(_THEME_CSS_DIR_.'product_list.css');
|
||||
$this->context->controller->addCSS(($this->_path).'blocksearch.css', 'all');
|
||||
}
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 141 B |
Binary file not shown.
|
After Width: | Height: | Size: 232 B |
Reference in New Issue
Block a user