templates/ZZ_front_end/shop/shop_comune.html.twig line 1
{% extends 'base.html.twig' %}
{% trans_default_domain 'carrello' %}
{% do impostazioni.caricaCacheImpostazioniDaNomi(['PaginaRicerca', 'PaginaHomepage', 'AbilitaDebugPagineGenericheVisibiliATutti', 'AbilitaDebugUtentiAmministrativi']) %}
{% set idLayout = '' %}
{% if deviazioneSuPaginaRicerca == 1 %}
{% if forzaIdLayout is defined and forzaIdLayout != '' %}
{% set idLayout = forzaIdLayout %}
{% else %}
{% set idLayout = impostazioni.ritornaImpostazioneDaNome('PaginaRicerca')|default('') %}
{% endif %}
{% else %}
{% if forzaIdLayout is defined and forzaIdLayout != '' %}
{% set idLayout = forzaIdLayout %}
{% else %}
{% set idLayout = impostazioni.ritornaImpostazioneDaNome('PaginaHomepage')|default('') %}
{% endif %}
{% endif %}
{% if idLayout != '' %}
{% set arrayHtmlCss = servizi.renderizzaPaginaOComponente(idLayout, null, _context, app.request.locale, '', false, true, app) %}
{% endif %}
{% block body %}
{% set abilitaDebugAmministrativoPubb = impostazioni.ritornaImpostazioneDaNome("AbilitaDebugPagineGenericheVisibiliATutti") %}
{% set abilitaDebug = impostazioni.ritornaImpostazioneDaNome('AbilitaDebugUtentiAmministrativi') %}
{% if (abilitaDebugAmministrativoPubb == '1' or abilitaDebug == '1') and app.environment == 'dev'%}
{% include('ZZ_front_end/pagina_errore/dump.html.twig') %}
{% endif %}
{% if idLayout != '' %}
{% if arrayHtmlCss is defined %}
{{ arrayHtmlCss.html|raw }}
{% endif %}
{% else %}
{{ include('ZZ_front_end/shop/shop_comune_dflt.html.twig', _context) }}
{% endif %}
{% endblock %}
{% block stylesheet %}
<link href="{{ asset('java_lib/hc-offcanvas-nav-master/dist/hc-offcanvas-nav.css') }}" rel="stylesheet" type="text/css">
<style type="text/css">
{% if idLayout == '' %}
.nav-side-menu {
overflow: auto;
font-family: verdana;
font-size: 12px;
font-weight: 200;
background-color: #2e353d;
position: fixed;
top: 0px;
width: 300px;
height: 100%;
color: #e1ffff;
}
.nav-side-menu .brand {
background-color: #23282e;
line-height: 50px;
display: block;
text-align: center;
font-size: 14px;
}
.nav-side-menu .toggle-btn {
display: none;
}
.nav-side-menu ul,
.nav-side-menu li {
list-style: none;
padding: 0px;
margin: 0px;
line-height: 35px;
cursor: pointer;
/*
.collapsed{
.arrow:before{
font-family: FontAwesome;
content: "\f053";
display: inline-block;
padding-left:10px;
padding-right: 10px;
vertical-align: middle;
float:right;
}
}
*/
}
.nav-side-menu ul :not(collapsed) .arrow:before,
.nav-side-menu li :not(collapsed) .arrow:before {
font-family: FontAwesome;
content: "\f078";
display: inline-block;
padding-left: 10px;
padding-right: 10px;
vertical-align: middle;
float: right;
}
.nav-side-menu ul .active,
.nav-side-menu li .active {
border-left: 3px solid #d19b3d;
background-color: #4f5b69;
}
.nav-side-menu ul .sub-menu li.active,
.nav-side-menu li .sub-menu li.active {
color: #d19b3d;
}
.nav-side-menu ul .sub-menu li.active a,
.nav-side-menu li .sub-menu li.active a {
color: #d19b3d;
}
.nav-side-menu ul .sub-menu li,
.nav-side-menu li .sub-menu li {
background-color: #181c20;
border: none;
line-height: 28px;
border-bottom: 1px solid #23282e;
margin-left: 0px;
}
.nav-side-menu ul .sub-menu li:hover,
.nav-side-menu li .sub-menu li:hover {
background-color: #020203;
}
.nav-side-menu ul .sub-menu li:before,
.nav-side-menu li .sub-menu li:before {
font-family: FontAwesome;
content: "\f105";
display: inline-block;
padding-left: 10px;
padding-right: 10px;
vertical-align: middle;
}
.nav-side-menu li {
padding-left: 0px;
border-left: 3px solid #2e353d;
border-bottom: 1px solid #23282e;
}
.nav-side-menu li a {
text-decoration: none;
color: #e1ffff;
}
.nav-side-menu li a i {
padding-left: 10px;
width: 20px;
padding-right: 20px;
}
.nav-side-menu li:hover {
border-left: 3px solid #d19b3d;
background-color: #4f5b69;
-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
-ms-transition: all 1s ease;
transition: all 1s ease;
}
@media (max-width: 767px) {
.nav-side-menu {
position: relative;
width: 100%;
margin-bottom: 10px;
}
.nav-side-menu .toggle-btn {
display: block;
cursor: pointer;
position: absolute;
right: 10px;
top: 10px;
z-index: 10 !important;
padding: 3px;
background-color: #ffffff;
color: #000;
width: 40px;
text-align: center;
}
.brand {
text-align: left !important;
font-size: 22px;
padding-left: 20px;
line-height: 50px !important;
}
}
@media (min-width: 767px) {
.nav-side-menu .menu-list .menu-content {
display: block;
}
#main {
width:calc(100% - 300px);
float: right;
}
}
{% else %}
.nav-side-menu {
overflow: auto;
/*position: fixed;
top: 0px;*/
/*width: 300px;*/
/*height: 100%;*/
/*color: #e1ffff;*/
}
.nav-side-menu .brand {
/*background-color: #23282e;*/
/*line-height: 50px;*/
display: block;
/*text-align: center;
font-size: 14px;*/
}
.nav-side-menu .toggle-btn {
display: none;
}
.nav-side-menu ul,
.nav-side-menu li {
list-style: none;
padding: 0px;
margin: 0px;
line-height: 35px;
cursor: pointer;
/*
.collapsed{
.arrow:before{
font-family: FontAwesome;
content: "\f053";
display: inline-block;
padding-left:10px;
padding-right: 10px;
vertical-align: middle;
float:right;
}
}
*/
}
.nav-side-menu ul :not(collapsed) .arrow:before,
.nav-side-menu li :not(collapsed) .arrow:before {
/*font-family: FontAwesome;*/
/*content: "\f078";*/
display: inline-block;
/* padding-left: 10px;
padding-right: 10px;*/
vertical-align: middle;
float: right;
}
.nav-side-menu ul .active,
.nav-side-menu li .active {
/*border-left: 3px solid #d19b3d;
background-color: #4f5b69;*/
}
.nav-side-menu ul .sub-menu li.active,
.nav-side-menu li .sub-menu li.active {
/*color: #d19b3d;*/
}
.nav-side-menu ul .sub-menu li.active a,
.nav-side-menu li .sub-menu li.active a {
/*color: #d19b3d;*/
}
.nav-side-menu ul .sub-menu li,
.nav-side-menu li .sub-menu li {
/*background-color: #181c20;*/
/*border: none;
line-height: 28px;*/
/*border-bottom: 1px solid #23282e;*/
margin-left: 0px;
}
.nav-side-menu ul .sub-menu li:hover,
.nav-side-menu li .sub-menu li:hover {
/*background-color: #020203;*/
}
.nav-side-menu ul .sub-menu li:before,
.nav-side-menu li .sub-menu li:before {
/*font-family: FontAwesome;*/
/* content: "\f105";*/
display: inline-block;
/*padding-left: 10px;
padding-right: 10px;
vertical-align: middle;*/
}
.nav-side-menu li {
/* padding-left: 0px;
border-left: 3px solid #2e353d;
border-bottom: 1px solid #23282e;*/
}
.nav-side-menu li a {
text-decoration: none;
/*color: #e1ffff;*/
}
.nav-side-menu li a i {
/*padding-left: 10px;
width: 20px;
padding-right: 20px;*/
}
.nav-side-menu li:hover {
/* border-left: 3px solid #d19b3d;
background-color: #4f5b69;*/
/*-webkit-transition: all 1s ease;
-moz-transition: all 1s ease;
-o-transition: all 1s ease;
-ms-transition: all 1s ease;
transition: all 1s ease;*/
}
@media (max-width: 767px) {
.nav-side-menu {
position: relative;
width: 100%;
margin-bottom: 10px;
}
.nav-side-menu .toggle-btn {
display: block;
cursor: pointer;
position: absolute;
right: 10px;
top: 10px;
z-index: 10 !important;
/*padding: 3px;
background-color: #ffffff;
color: #000;
width: 40px;*/
/*text-align: center;*/
}
.brand {
/* text-align: left !important;
font-size: 22px;
padding-left: 20px;*/
line-height: 50px !important;
}
}
@media (min-width: 767px) {
.nav-side-menu .menu-list .menu-content {
display: block;
}
#main {
width:calc(100% - 300px);
float: right;
}
}
{% endif %}
body {
margin: 0px;
padding: 0px;
}
</style>
<style type="text/css">
.container-prodotti a:hover{
text-decoration: none;
}
.container-prodotti h3{
height: 2em;
font-size: 2vh;
overflow: hidden;
}
.container-prodotti p{
height: 1em;
}
.immagine-prodotto{
height: 15vh !important;
width: auto;
text-align: center;
}
</style>
{% if arrayHtmlCss is defined %}
<style type="text/css">
{{ arrayHtmlCss.css|raw }}
</style>
{% endif %}
{% endblock %}
{% block javascript %}
<script type="text/javascript">
$(document).ready(function () {
});
</script>
{% endblock %}