- Einsatz SW-eigener Mixins

- Korrektur Verzeichnisstruktur
This commit is contained in:
akarl 2020-02-03 17:19:02 +01:00
parent be874e72fd
commit 2387fd6aa1
4 changed files with 34 additions and 37 deletions

View File

@ -112,7 +112,28 @@ footer {
color: #fff;
display: block;
&:hover {
color: @link-red; } } } }
color: @link-red; } }
&.shop--links {
a {
.unitize(padding-left, 15);
&:before {
position: absolute;
font-family: 'shopware';
content: '\e60f';
.unitize(font-size, 8);
.unitize(margin-top, 6);
.unitize(margin-left, -15); } } }
&.shop--service {
span {
color: #fff;
display: block;
.unitize-padding(3,0,3,25);
&:before {
position: absolute;
font-family: 'shopware';
content: '\e601';
.unitize(font-size, 17);
.unitize(margin-left, -25); } } } } }
.column--desc{
.sw-icon-footer{
display: inline-block;

View File

@ -15,7 +15,7 @@
{foreach $sMenu.bottom as $item}
{block name="frontend_index_footer_column_service_menu_entry"}
<li class="navigation--entry" role="menuitem">
<li class="navigation--entry shop--links" role="menuitem">
<a class="navigation--link" href="{if $item.link}{$item.link}{else}{url controller='custom' sCustom=$item.id title=$item.description}{/if}" title="{$item.description|escape}"{if $item.target} target="{$item.target}"{/if}>
{$item.description}
</a>
@ -86,29 +86,21 @@
<nav class="column--navigation column--content">
<ul class="navigation--list" role="menu">
{block name="frontend_index_footer_column_information_menu_before"}{/block}
{foreach $sMenu.bottom2 as $item}
{foreach $sMenu.warranty as $item}
{block name="frontend_index_footer_column_information_menu_entry"}
<li class="navigation--entry" role="menuitem">
<a class="navigation--link" href="{if $item.link}{$item.link}{else}{url controller='custom' sCustom=$item.id title=$item.description}{/if}" title="{$item.description|escape}"{if $item.target} target="{$item.target}"{/if}>
<li class="navigation--entry shop--service" role="menuitem">
<span>
{$item.description}
</a>
</span>
{* Sub categories *}
{if $item.childrenCount > 0}
<ul class="navigation--list is--level1" role="menu">
{foreach $item.subPages as $subItem}
<li class="navigation--entry" role="menuitem">
<a class="navigation--link" href="{if $subItem.link}{$subItem.link}{else}{url controller='custom' sCustom=$subItem.id title=$subItem.description}{/if}" title="{$subItem.description|escape}"{if $subItem.target} target="{$subItem.target}"{/if}>
{$subItem.description}
</a>
</li>
{/foreach}
</ul>
{/if}
{if $item.childrenCount > 0}{/if}
</li>
{/block}
{/foreach}
{foreach $sMenu.bottom2 as $item}{/foreach}
{block name="frontend_index_footer_column_information_menu_after"}{/block}
</ul>
</nav>

View File

@ -1,3 +1,5 @@
{extends file="parent:frontend/index/footer.tpl"}
{* Footer menu *}
{block name='frontend_index_footer_menu'}
<div class="footer--top-wrapper">
@ -33,22 +35,7 @@
{/block}
{* Shopware footer *}
{block name="frontend_index_shopware_footer"}
{* Copyright *}
{block name="frontend_index_shopware_footer_copyright"}
<div class="footer--copyright">
{s name="IndexCopyright"}{/s}
</div>
{/block}
{* Logo *}
{block name="frontend_index_shopware_footer_logo"}
<div class="footer--logo">
<i class="icon--shopware"></i>
</div>
{/block}
{/block}
{block name="frontend_index_shopware_footer"}{/block}
</div>
</div>
</div>

View File

@ -1,6 +1,3 @@
{debug}
{$category|@print_r}
{function name="categories_top" level=0}