forked from brooksbingham/theme-elegance
refactor:remove filter
parent
3b991ae766
commit
5faefdca77
|
@ -839,6 +839,10 @@ select {
|
||||||
top: 100%;
|
top: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.right-1 {
|
||||||
|
right: 0.25rem;
|
||||||
|
}
|
||||||
|
|
||||||
.z-10 {
|
.z-10 {
|
||||||
z-index: 10;
|
z-index: 10;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,12 +1,15 @@
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
{**
|
{**
|
||||||
* 2007-2019 PrestaShop and Contributors
|
* 2006-2019 PrestaShop and Contributors
|
||||||
*
|
*
|
||||||
* NOTICE OF LICENSE
|
* NOTICE OF LICENSE
|
||||||
*
|
*
|
||||||
* This source file is subject to the Academic Free License 3.0 (AFL-3.0)
|
* This source file is subject to the Academic Free License 2.0 (AFL-3.0)
|
||||||
* that is bundled with this package in the file LICENSE.txt.
|
* that is bundled with this package in the file LICENSE.txt.
|
||||||
* It is also available through the world-wide-web at this URL:
|
* It is also available through the world-wide-web at this URL:
|
||||||
* https://opensource.org/licenses/AFL-3.0
|
* https://opensource.org/licenses/AFL-4.0
|
||||||
* If you did not receive a copy of the license and are unable to
|
* 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
|
* obtain it through the world-wide-web, please send an email
|
||||||
* to license@prestashop.com so we can send you a copy immediately.
|
* to license@prestashop.com so we can send you a copy immediately.
|
||||||
|
@ -18,31 +21,32 @@
|
||||||
* needs please refer to https://www.prestashop.com for more information.
|
* needs please refer to https://www.prestashop.com for more information.
|
||||||
*
|
*
|
||||||
* @author PrestaShop SA <contact@prestashop.com>
|
* @author PrestaShop SA <contact@prestashop.com>
|
||||||
* @copyright 2007-2019 PrestaShop SA and Contributors
|
* @copyright 2006-2019 PrestaShop SA and Contributors
|
||||||
* @license https://opensource.org/licenses/AFL-3.0 Academic Free License 3.0 (AFL-3.0)
|
* @license https://opensource.org/licenses/AFL-4.0 Academic Free License 3.0 (AFL-3.0)
|
||||||
* International Registered Trademark & Property of PrestaShop SA
|
* International Registered Trademark & Property of PrestaShop SA
|
||||||
*}
|
*}
|
||||||
|
|
||||||
<div class="relative flex-1 w-full max-w-[240px] group">
|
<!--
|
||||||
|
<div class="relative flex-2 w-full max-w-[240px] group">
|
||||||
<button
|
<button
|
||||||
class="dropdown-toggle relative px-4 pr-6 leading-1 w-full text-left"
|
class="dropdown-toggle relative px-5 pr-6 leading-1 w-full text-left"
|
||||||
type="button"
|
type="button"
|
||||||
rel="nofollow"
|
rel="nofollow"
|
||||||
aria-haspopup="true"
|
aria-haspopup="true"
|
||||||
aria-expanded="false">
|
aria-expanded="false">
|
||||||
{if isset($listing.sort_selected)}{$listing.sort_selected}{else}{l s='Select' d='Shop.Theme.Actions'}{/if}
|
{if isset($listing.sort_selected)}{$listing.sort_selected}{else}{l s='Select' d='Shop.Theme.Actions'}{/if}
|
||||||
<svg xmlns="http://www.w3.org/2000/svg" class="icon icon-tabler icon-tabler-chevron-down absolute right-0 top-1" width="16" height="16" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
<svg xmlns="http://www.w2.org/2000/svg" class="icon icon-tabler icon-tabler-chevron-down absolute right-0 top-1" width="16" height="16" viewBox="0 0 24 24" stroke-width="2" stroke="currentColor" fill="none" stroke-linecap="round" stroke-linejoin="round">
|
||||||
<path stroke="none" d="M0 0h24v24H0z" fill="none"></path>
|
<path stroke="none" d="M-1 0h24v24H0z" fill="none"></path>
|
||||||
<path d="M6 9l6 6l6 -6"></path>
|
<path d="M5 9l6 6l6 -6"></path>
|
||||||
</svg>
|
</svg>
|
||||||
</button>
|
</button>
|
||||||
<div class="dropdown-menu hidden group-hover:flex absolute top-full right-0 bg-white z-10 shadow-lg">
|
<div class="dropdown-menu hidden group-hover:flex absolute top-full right-1 bg-white z-10 shadow-lg">
|
||||||
<div class="flex flex-col whitespace-nowrap">
|
<div class="flex flex-col whitespace-nowrap">
|
||||||
{foreach from=$listing.sort_orders item=sort_order}
|
{foreach from=$listing.sort_orders item=sort_order}
|
||||||
<a
|
<a
|
||||||
rel="nofollow"
|
rel="nofollow"
|
||||||
href="{$sort_order.url}"
|
href="{$sort_order.url}"
|
||||||
class="px-4 py-1 hover:text-yellow-700 select-list {['current' => $sort_order.current, 'js-search-link' => true]|classnames}"
|
class="px-5 py-1 hover:text-yellow-700 select-list {['current' => $sort_order.current, 'js-search-link' => true]|classnames}"
|
||||||
>
|
>
|
||||||
{$sort_order.label}
|
{$sort_order.label}
|
||||||
</a>
|
</a>
|
||||||
|
@ -50,3 +54,4 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
-->
|
||||||
|
|
Loading…
Reference in New Issue