update
This commit is contained in:
35
themes/leo_lulandia/modules/leoproductsearch/index.php
Normal file
35
themes/leo_lulandia/modules/leoproductsearch/index.php
Normal file
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
@@ -0,0 +1,35 @@
|
||||
<?php
|
||||
/**
|
||||
* 2007-2017 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* https://opensource.org/licenses/AFL-3.0
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header('Expires: Mon, 26 Jul 1997 05:00:00 GMT');
|
||||
header('Last-Modified: '.gmdate('D, d M Y H:i:s').' GMT');
|
||||
|
||||
header('Cache-Control: no-store, no-cache, must-revalidate');
|
||||
header('Cache-Control: post-check=0, pre-check=0', false);
|
||||
header('Pragma: no-cache');
|
||||
|
||||
header('Location: ../');
|
||||
exit;
|
||||
@@ -0,0 +1,57 @@
|
||||
.ac_results {
|
||||
text-align: left;
|
||||
padding: 0px;
|
||||
border: 1px solid #5cd468;
|
||||
background-color: white;
|
||||
overflow: hidden;
|
||||
z-index: 99999;
|
||||
max-width: 420px; }
|
||||
@media (max-width: 1199px) {
|
||||
.ac_results {
|
||||
max-width: 300px; } }
|
||||
@media (max-width: 991px) {
|
||||
.ac_results {
|
||||
right: 15px !important;
|
||||
left: 15px !important;
|
||||
width: auto !important;
|
||||
max-width: none; } }
|
||||
|
||||
.ac_results ul {
|
||||
width: 100%;
|
||||
list-style-position: outside;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0; }
|
||||
|
||||
.ac_results li {
|
||||
margin: 0px;
|
||||
padding: 10px;
|
||||
cursor: default;
|
||||
display: block;
|
||||
/*
|
||||
if width will be 100% horizontal scrollbar will apear
|
||||
when scroll mode will be used
|
||||
*/
|
||||
/*width: 100%;*/
|
||||
font: menu;
|
||||
font-size: 12px;
|
||||
/*
|
||||
it is very important, if line-height not setted or setted
|
||||
in relative units scroll will be broken in firefox
|
||||
*/
|
||||
line-height: 16px;
|
||||
overflow: hidden; }
|
||||
|
||||
/*
|
||||
.ac_loading {
|
||||
background: white url('indicator.gif') right center no-repeat;
|
||||
}
|
||||
*/
|
||||
.ac_odd {
|
||||
background-color: #f9f9f9; }
|
||||
|
||||
.ac_over {
|
||||
background-color: #5cd468;
|
||||
color: white; }
|
||||
|
||||
/*# sourceMappingURL=jquery.autocomplete_productsearch.css.map */
|
||||
@@ -0,0 +1,167 @@
|
||||
/***************************************************
|
||||
Mixins Themes
|
||||
/***************************************************/
|
||||
/* Mixin Normal*/
|
||||
/* Mixin Clear */
|
||||
/* Mixin Border */
|
||||
/*background RGBA
|
||||
============================================*/
|
||||
/***************************************************
|
||||
Mixins RTL Themes
|
||||
/***************************************************/
|
||||
/************************************
|
||||
Override Bootstrap
|
||||
*************************************/
|
||||
/**
|
||||
* Web Application Prefix Apply For Making Owner Styles
|
||||
*/
|
||||
/**
|
||||
* Blocks Layout Selectors
|
||||
*/
|
||||
/***********************************************************************/
|
||||
#leo_search_block_top .title_block {
|
||||
display: none; }
|
||||
#leo_search_block_top .block_content {
|
||||
border: 1px solid #5cd468;
|
||||
border-radius: 23px;
|
||||
display: -webkit-box;
|
||||
display: -moz-box;
|
||||
display: box;
|
||||
display: -webkit-flex;
|
||||
display: -moz-flex;
|
||||
display: -ms-flexbox;
|
||||
display: flex;
|
||||
-webkit-box-align: center;
|
||||
-moz-box-align: center;
|
||||
box-align: center;
|
||||
-webkit-align-items: center;
|
||||
-moz-align-items: center;
|
||||
-ms-align-items: center;
|
||||
-o-align-items: center;
|
||||
align-items: center;
|
||||
-ms-flex-align: center;
|
||||
padding: 0 50px 0 0;
|
||||
position: relative; }
|
||||
.rtl #leo_search_block_top .block_content {
|
||||
padding: 0 0 0 50px; }
|
||||
#leo_search_block_top .block_content .select-title {
|
||||
height: 45px;
|
||||
display: block;
|
||||
line-height: 45px;
|
||||
padding: 0 25px;
|
||||
position: relative;
|
||||
white-space: nowrap;
|
||||
width: 160px;
|
||||
cursor: pointer; }
|
||||
#leo_search_block_top .block_content .select-title:before {
|
||||
content: "";
|
||||
width: 1px;
|
||||
height: 25px;
|
||||
position: absolute;
|
||||
top: 10px;
|
||||
right: 0;
|
||||
background: #eee; }
|
||||
.rtl #leo_search_block_top .block_content .select-title:before {
|
||||
left: 0;
|
||||
right: auto; }
|
||||
#leo_search_block_top .block_content .select-title span {
|
||||
max-width: 100px;
|
||||
display: inline-block;
|
||||
white-space: nowrap;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
vertical-align: top; }
|
||||
#leo_search_block_top .block_content .select-title i {
|
||||
display: inline-block;
|
||||
height: 45px;
|
||||
line-height: 45px;
|
||||
vertical-align: top; }
|
||||
#leo_search_block_top .block_content button[type="submit"] {
|
||||
width: 50px;
|
||||
height: 45px;
|
||||
line-height: 45px;
|
||||
border: 0;
|
||||
padding: 0;
|
||||
font-size: 16px;
|
||||
text-align: center;
|
||||
background: none;
|
||||
color: #5cd468;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0; }
|
||||
.rtl #leo_search_block_top .block_content button[type="submit"] {
|
||||
left: 0;
|
||||
right: auto; }
|
||||
#leo_search_block_top .block_content button[type="submit"] i {
|
||||
font-size: 20px; }
|
||||
#leo_search_block_top .block_content button[type="submit"]:hover {
|
||||
color: #333; }
|
||||
#leo_search_block_top .block_content .leoproductsearch-result {
|
||||
width: 100%;
|
||||
position: relative; }
|
||||
#leo_search_block_top .block_content .leoproductsearch-result input[type="text"] {
|
||||
height: 45px;
|
||||
line-height: 45px;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
box-shadow: 0 0 0 30px #fff inset;
|
||||
padding: 10px 15px;
|
||||
outline: none; }
|
||||
#leo_search_block_top .block_content .cssload-speeding-wheel {
|
||||
position: absolute;
|
||||
top: 12px;
|
||||
right: 15px; }
|
||||
.rtl #leo_search_block_top .block_content .cssload-speeding-wheel {
|
||||
left: 15px;
|
||||
right: auto; }
|
||||
#leo_search_block_top .ac_results {
|
||||
border: 0;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
||||
max-height: 320px;
|
||||
overflow: auto; }
|
||||
#leo_search_block_top .ac_results ul li {
|
||||
cursor: pointer; }
|
||||
#leo_search_block_top .ac_results ul li.ac_over, #leo_search_block_top .ac_results ul li:hover {
|
||||
color: #fff;
|
||||
background: #333; }
|
||||
#leo_search_block_top .ac_results ul li.ac_over .lps-result-title, #leo_search_block_top .ac_results ul li:hover .lps-result-title {
|
||||
color: #fff; }
|
||||
#leo_search_block_top .ac_results .lps-result-img {
|
||||
width: 35px;
|
||||
float: left;
|
||||
margin: 0 10px 0 0; }
|
||||
.rtl #leo_search_block_top .ac_results .lps-result-img {
|
||||
float: right; }
|
||||
.rtl #leo_search_block_top .ac_results .lps-result-img {
|
||||
margin: 0 0 0 10px; }
|
||||
#leo_search_block_top .ac_results .lps-result-title {
|
||||
font-weight: 500;
|
||||
color: #333; }
|
||||
#leo_search_block_top .ac_results .lps-result-title:first-letter {
|
||||
text-transform: uppercase; }
|
||||
#leo_search_block_top .list-cate {
|
||||
width: 160px;
|
||||
right: auto;
|
||||
left: 0;
|
||||
font-size: 12px;
|
||||
border: 0;
|
||||
box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
|
||||
max-height: 320px;
|
||||
overflow: auto;
|
||||
border-radius: 0; }
|
||||
.rtl #leo_search_block_top .list-cate {
|
||||
right: 0;
|
||||
left: auto; }
|
||||
#leo_search_block_top .list-cate a {
|
||||
display: block;
|
||||
padding: 5px 10px;
|
||||
line-height: 15px;
|
||||
color: #333; }
|
||||
#leo_search_block_top .list-cate a:hover {
|
||||
color: #fff;
|
||||
background: #333; }
|
||||
|
||||
#leosearchtopbox > label {
|
||||
display: none; }
|
||||
|
||||
/*# sourceMappingURL=leosearch.css.map */
|
||||
36
themes/leo_lulandia/modules/leoproductsearch/views/index.php
Normal file
36
themes/leo_lulandia/modules/leoproductsearch/views/index.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*
|
||||
* PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
Reference in New Issue
Block a user