- 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; color: #fff;
display: block; display: block;
&:hover { &: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{ .column--desc{
.sw-icon-footer{ .sw-icon-footer{
display: inline-block; display: inline-block;

View File

@ -15,7 +15,7 @@
{foreach $sMenu.bottom as $item} {foreach $sMenu.bottom as $item}
{block name="frontend_index_footer_column_service_menu_entry"} {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}> <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} {$item.description}
</a> </a>
@ -86,29 +86,21 @@
<nav class="column--navigation column--content"> <nav class="column--navigation column--content">
<ul class="navigation--list" role="menu"> <ul class="navigation--list" role="menu">
{block name="frontend_index_footer_column_information_menu_before"}{/block} {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"} {block name="frontend_index_footer_column_information_menu_entry"}
<li class="navigation--entry" role="menuitem"> <li class="navigation--entry shop--service" 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}> <span>
{$item.description} {$item.description}
</a> </span>
{* Sub categories *} {* Sub categories *}
{if $item.childrenCount > 0} {if $item.childrenCount > 0}{/if}
<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}
</li> </li>
{/block} {/block}
{/foreach} {/foreach}
{foreach $sMenu.bottom2 as $item}{/foreach}
{block name="frontend_index_footer_column_information_menu_after"}{/block} {block name="frontend_index_footer_column_information_menu_after"}{/block}
</ul> </ul>
</nav> </nav>

View File

@ -1,3 +1,5 @@
{extends file="parent:frontend/index/footer.tpl"}
{* Footer menu *} {* Footer menu *}
{block name='frontend_index_footer_menu'} {block name='frontend_index_footer_menu'}
<div class="footer--top-wrapper"> <div class="footer--top-wrapper">
@ -33,22 +35,7 @@
{/block} {/block}
{* Shopware footer *} {* Shopware footer *}
{block name="frontend_index_shopware_footer"} {block name="frontend_index_shopware_footer"}{/block}
{* 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}
</div> </div>
</div> </div>
</div> </div>

View File

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