Current File : //var/www/prestashop/modules/psxdesign/themes/classic/components/brands.scss |
/**
* Copyright since 2007 PrestaShop SA and Contributors
* PrestaShop is an International Registered Trademark & Property of PrestaShop SA
*
* 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.md.
* It is also available through the world-wide-web at this URL:
* https://opensource.org/licenses/OSL-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 https://devdocs.prestashop.com/ for more information.
*
* @author PrestaShop SA and Contributors <contact@prestashop.com>
* @copyright Since 2007 PrestaShop SA and Contributors
* @license https://opensource.org/licenses/OSL-3.0 Open Software License (OSL 3.0)
*/
#manufacturer {
#main {
ul {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
.brand {
position: relative;
width: calc(20% - 10px);
min-width: 210px;
padding: 10px;
margin: 5px;
text-align: center;
background: $white;
transition: 0.4s ease-out;
&-infos {
a {
display: inline-block;
}
}
&:hover {
box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
}
&-products {
display: none;
}
&-img {
position: relative;
width: 200px;
margin: auto;
a {
&::before {
position: absolute;
top: 0;
left: 0;
z-index: 1;
width: 100%;
height: 100%;
content: "";
}
}
}
}
}
}
}
@include media-breakpoint-down(md) {
#manufacturer {
#main {
ul {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
justify-content: center;
}
}
}
}