first commit
This commit is contained in:
36
modules/leoproductsearch/views/css/index.php
Normal file
36
modules/leoproductsearch/views/css/index.php
Normal file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2014 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 2007-2014 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;
|
||||
@@ -0,0 +1,56 @@
|
||||
.ac_results {
|
||||
text-align: left;
|
||||
padding: 0px;
|
||||
border: 1px solid black;
|
||||
background-color: white;
|
||||
overflow: hidden;
|
||||
z-index: 99999;
|
||||
display: none;
|
||||
padding-bottom: 35px;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
margin-top: 5px;
|
||||
}
|
||||
|
||||
.ac_results ul {
|
||||
width: 100%;
|
||||
list-style-position: outside;
|
||||
list-style: none;
|
||||
padding: 0;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.ac_results li {
|
||||
margin: 0px;
|
||||
padding: 5px 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: #eee;
|
||||
}
|
||||
|
||||
.ac_over {
|
||||
background-color: #0A246A;
|
||||
color: white;
|
||||
}
|
||||
230
modules/leoproductsearch/views/css/leosearch.css
Normal file
230
modules/leoproductsearch/views/css/leosearch.css
Normal file
@@ -0,0 +1,230 @@
|
||||
/* block top search */
|
||||
#search_block_top {
|
||||
position:absolute;
|
||||
right: 26%;
|
||||
top: 34px;
|
||||
}
|
||||
#search_block_top p {padding:0;}
|
||||
#search_block_top #search_query_top {
|
||||
padding:0 5px;
|
||||
height:23px;
|
||||
width:300px;/* 310 */
|
||||
border:1px solid #666;
|
||||
border-right: 0 !important;
|
||||
color:#666;
|
||||
background:url(img/bg_search_input.png) repeat-x 0 0 #fff;
|
||||
float: left;
|
||||
}
|
||||
|
||||
#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;
|
||||
float: left;
|
||||
height: 25px;
|
||||
}
|
||||
|
||||
form#searchbox{padding-top:5px}
|
||||
form#searchbox label{color:#333;margin-bottom:1px}
|
||||
form#searchbox input#leo_search_query_block{
|
||||
border: 1px solid #CCCCCC;
|
||||
-webkit-border-radius:3px !important;
|
||||
-moz-border-radius:3px !important;
|
||||
border-radius:3px !important;
|
||||
height: 18px;
|
||||
margin-top:10px;
|
||||
}
|
||||
form#searchbox input#search_button{padding: 1px 4px;}
|
||||
|
||||
.list-cate-wrapper
|
||||
{
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.list-cate
|
||||
{
|
||||
width: 100%;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.cate-item
|
||||
{
|
||||
display: block;
|
||||
padding: 5px;
|
||||
}
|
||||
|
||||
#leosearchtopbox a.cate-item.active, #leosearchtopbox a.cate-item:hover, #leosearchbox a.cate-item.active, #leosearchbox a.cate-item:hover
|
||||
{
|
||||
background: #2fb5d2;
|
||||
color: #414141;
|
||||
}
|
||||
|
||||
#dropdownListCate, #dropdownListCateTop
|
||||
{
|
||||
cursor: pointer;
|
||||
display: block;
|
||||
padding: 5px 0px 5px 15px;
|
||||
}
|
||||
|
||||
#leosearchtopbox #dropdownListCateTop:hover, #leosearchbox #dropdownListCate:hover
|
||||
{
|
||||
color: #414141;
|
||||
}
|
||||
/*****************molify****************/
|
||||
#leo_search_block_top .block_content{
|
||||
border: 1px solid rgba(0,0,0,.25);
|
||||
}
|
||||
#leosearchtopbox input {
|
||||
background: transparent;
|
||||
border: 1px solid transparent;
|
||||
}
|
||||
#leo_search_top_button{
|
||||
padding: 9px 16px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
background: #2fb5d2;
|
||||
color: #fff;
|
||||
}
|
||||
#leo_search_top_button .search{
|
||||
color: white;
|
||||
}
|
||||
#leosearchtopbox .list-cate-wrapper{
|
||||
display: inline-block;
|
||||
padding: 0 19px;
|
||||
}
|
||||
#leo_search_block_top {
|
||||
margin-top: 20px;
|
||||
}
|
||||
.ac_results{
|
||||
width: 100%;
|
||||
}
|
||||
.search-in-product ul li > a{
|
||||
float: left;
|
||||
width: 60px;
|
||||
}
|
||||
.search-in-product ul li > div{
|
||||
float: right;
|
||||
width: calc(100% - 60px);
|
||||
}
|
||||
@media (max-width: 1199px){
|
||||
#leosearchtopbox input {
|
||||
width: 60%;
|
||||
}
|
||||
|
||||
#leo_search_block_top .block_content{
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
@media (max-width: 575px){
|
||||
#leosearchtopbox .list-cate-wrapper {
|
||||
display: none;
|
||||
}
|
||||
}
|
||||
|
||||
#leo_search_block_top{
|
||||
float: left;
|
||||
width: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
#leo_search_block_top .title_block{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#leosearchtopbox > label{
|
||||
display: none;
|
||||
}
|
||||
|
||||
#leo_search_block_top .leoproductsearch-result{
|
||||
width: 73%;
|
||||
display: inline-block;
|
||||
margin: 3px 0;
|
||||
border-left: 1px solid rgba(0,0,0,.25);
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.leoproductsearch-loading.cssload-speeding-wheel{
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 4px;
|
||||
display: none;
|
||||
margin: 0 auto;
|
||||
}
|
||||
|
||||
.ac_results.lps_results> div:first-child{
|
||||
overflow-y: scroll;
|
||||
height: 308px;
|
||||
}
|
||||
#leo_search_block_top .ac_results .search-in-suggest .search-value-title,
|
||||
#leo_search_block_top .ac_results .search-in-cat .search-value-title,
|
||||
#leo_search_block_top .ac_results .search-in-product .search-value-title{
|
||||
color: #000;
|
||||
background: #efefef;
|
||||
padding: 10px 5px;
|
||||
font-weight: 600;
|
||||
}
|
||||
.ac_results li{
|
||||
font-size: 13px;
|
||||
padding: 5px;
|
||||
border-bottom: 1px solid #e5e5e5;
|
||||
transition: all ease .4s;
|
||||
}
|
||||
|
||||
.ac_results li:hover{
|
||||
background: #efefef;
|
||||
}
|
||||
.ac_results li:hover a{
|
||||
color: #fff;
|
||||
}
|
||||
.ac_results li a{
|
||||
display: inline-block;
|
||||
width: 100%;
|
||||
transition: all ease .4s;
|
||||
}
|
||||
#leo_search_block_top .ac_results li:hover .lps-result-title,
|
||||
#leo_search_block_top .ac_results li:hover .lps-result-price{
|
||||
color: #333;
|
||||
}
|
||||
#leo_search_block_top .ac_results .all-search-product{
|
||||
text-align: center;
|
||||
padding: 8px 0;
|
||||
background: #f85f5f;
|
||||
position: absolute;
|
||||
width: 100%;
|
||||
bottom: 0;
|
||||
}
|
||||
#leo_search_block_top .ac_results .all-search-product a{
|
||||
color: #fff;
|
||||
text-transform: capitalize;
|
||||
font-weight: 600;
|
||||
}
|
||||
#leo_search_block_top .ac_results .search-in-product ul li{
|
||||
position: relative;
|
||||
}
|
||||
#leo_search_block_top .ac_results .search-in-product ul li .lps-result-content{
|
||||
position: absolute;
|
||||
left: 60px;
|
||||
}
|
||||
#leo_search_block_top .ac_results .lps-result-content {
|
||||
width: calc(100% - 50px);
|
||||
display: inline-block;
|
||||
padding-left: 7px;
|
||||
}
|
||||
.head-leosearch-product.ac_results{
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 20px;
|
||||
padding-bottom: 0;
|
||||
margin-bottom: 20px;
|
||||
}
|
||||
.head-leosearch-product.ac_results > div{
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
.head-leosearch-product.ac_results a{
|
||||
color: #000;
|
||||
}
|
||||
Reference in New Issue
Block a user