Compare commits

..

No commits in common. "feb1a8269b5bb5574dc3717eb618032b861ed55e" and "cf779e347e05fd801f3125c650a9de9505b8253a" have entirely different histories.

3 changed files with 66 additions and 90 deletions

View file

@ -40,7 +40,7 @@
<!--button id="print">Pdf "Desidera un mercato"</button--> <!--button id="print">Pdf "Desidera un mercato"</button-->
</p> </p>
<p class="noprint" > <p class="noprint" >
<button type="button" id="toggleinfo" onclick='$(".card-hidden").toggleClass("hide")'>Più o meno info</button> <button type="button" id="toggleinfo" onclick='$(".menoinfo").toggleClass("hide")'>Più o meno info</button>
<button type="button" onclick="myFunction()">Stampa PDF dettagliato</button> <button type="button" onclick="myFunction()">Stampa PDF dettagliato</button>
<button type="button" onclick="schedeBanco()">Stampa PDF schede Banco</button> <button type="button" onclick="schedeBanco()">Stampa PDF schede Banco</button>
<button type="button" id="exportcsv" onclick="exportCsv()" alt="Solo Nome, Referente, Nome referente di visita di ingresso, Località">Esporta CSV x sito</button> <button type="button" id="exportcsv" onclick="exportCsv()" alt="Solo Nome, Referente, Nome referente di visita di ingresso, Località">Esporta CSV x sito</button>

View file

@ -1,12 +1,13 @@
/* /*
* Codice css per l'applicazione * Codice css per l'applicazione
*/ */
body {
body{
/* background-image: url(../images/agricoltura_bene_comune.png);*/ /* background-image: url(../images/agricoltura_bene_comune.png);*/
background-position: center; background-position: center;
background-repeat: space; background-repeat: space;
} }
header.page-header { header.page-header {
margin-top: 0; margin-top: 0;
} }
@ -27,35 +28,19 @@ section.page-body {
margin-top: 20px; margin-top: 20px;
margin-bottom: 20px; margin-bottom: 20px;
} }
.card.accordion.shuffle-item.filtered { .card.accordion.shuffle-item.filtered {
border: solid 1px goldenrod; border: solid 1px goldenrod;
} }
.col-sm-12.card.accordion.shuffle-item.filtered {}
/*grid per schermi grandi ed orizzontali*/ h5{
.card { margin: 1.5em 0em;
display: flex;
}
.card-body {
order: 1;
}
.card-header {
order: 2;
}
h5 {
margin: 1.5em 0em;
font-weight: 600; font-weight: 600;
text-transform: uppercase; text-transform: uppercase;
font-size: 2.6em;
}
}
span { span {
line-height: 1; line-height: 1;
} }
span.info { span.info {
line-height: 1; line-height: 1;
margin-bottom: 1em; margin-bottom: 1em;
@ -66,7 +51,7 @@ div.comics-container {
padding: 5px; padding: 5px;
text-align: center; text-align: center;
height: auto; height: auto;
background: white; background:white;
} }
article.comics { article.comics {
@ -79,64 +64,55 @@ img.cover {
footer.page-footer, footer.page-footer,
header.page-header.aziende { header.page-header.aziende {
background-color: goldenrod; background-color:goldenrod;
} }
header.page-header.ingressi { header.page-header.ingressi {
background-color: forestgreen; background-color:forestgreen;
} }
header.page-header.scartati { header.page-header.scartati {
background-color: grey; background-color:grey;
} }
hide { hide{
display: none !important; display:none !important;
height: 0; height: 0;
} }
.container-fluid { .container-fluid {
/* max-width: 1048px;*/ /* max-width: 1048px;*/
} }
@page default { @page default{
margin: 2cm; margin: 2cm;
} }
@page :left { @page :left {
margin: 0.8cm; margin: 0.8cm;
} }
@page :right { @page :right {
margin: 0.8cm; margin: 0.8cm;
} }
@media print { @media print {
div.card { div.card{
font-size: 12pt !important; font-size:12pt !important;
line-height: 1; line-height: 1;
} }
h5{
h5 { margin: 10px 0px;
margin: 10px 0px;
font-weight: 600; font-weight: 600;
text-transform: uppercase; text-transform: uppercase;
} }
input, .noprint{display:none !important;}
input, .noprint { div.card {page-break-after: always !important;
display: none !important; page-break-inside: avoid !important;}
}
div.card {
page-break-after: always !important;
page-break-inside: avoid !important;
}
.card.accordion.shuffle-item.filtered { .card.accordion.shuffle-item.filtered {
border: none; border: none;
} }
/* div.card{page-break-after: always}*/
/* div.card{page-break-after: always}*/ /*div.filtered { }*/
/*div.filtered { }*/ /*div.card.accordion.shuffle-item.filtered { display:none !important;}*/
/*div.card.accordion.shuffle-item.filtered { display:none !important;}*/
} }

View file

@ -133,7 +133,7 @@ function Aziende(stringexel) {
.attr("class", "card-body"); .attr("class", "card-body");
var schede_infoprivate = schede.append("div") var schede_infoprivate = schede.append("div")
.attr("class", "card-hidden, hide"); .attr("class", "card-hidden");
/*hidden*/ /*hidden*/