Compare commits

...

3 commits

Author SHA1 Message Date
feb1a8269b flex grid su card 2020-05-13 17:28:22 +02:00
fd2f085d14 bottone hidden class hide 2020-05-13 17:28:05 +02:00
5d42c81ad3 card-hidden bottone in cima 2020-05-13 17:27:17 +02:00
3 changed files with 89 additions and 65 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='$(".menoinfo").toggleClass("hide")'>Più o meno info</button> <button type="button" id="toggleinfo" onclick='$(".card-hidden").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,118 +1,142 @@
/* /*
* Codice css per l'applicazione * Codice css per l'applicazione
*/ */
body {
/* background-image: url(../images/agricoltura_bene_comune.png);*/
body{ background-position: center;
/* background-image: url(../images/agricoltura_bene_comune.png);*/ background-repeat: space;
background-position: center;
background-repeat: space;
} }
header.page-header { header.page-header {
margin-top: 0; margin-top: 0;
} }
header.page-header img { header.page-header img {
margin-top: 9px; margin-top: 9px;
background-color: white; background-color: white;
border-radius: 5px; border-radius: 5px;
border-top-left-radius: 50px; border-top-left-radius: 50px;
border-top-right-radius: 50px; border-top-right-radius: 50px;
} }
header.page-header nav { header.page-header nav {
margin-top: 15px; margin-top: 15px;
} }
section.page-body { 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 {}
h5{ /*grid per schermi grandi ed orizzontali*/
margin: 1.5em 0em; .card {
font-weight: 600; display: flex;
text-transform: uppercase;
} }
.card-body {
order: 1;
}
.card-header {
order: 2;
}
h5 {
margin: 1.5em 0em;
font-weight: 600;
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;
display: inline-block; display: inline-block;
} }
div.comics-container { 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 {
border: 1px solid #ccc; border: 1px solid #ccc;
} }
img.cover { img.cover {
max-height: 253px; max-height: 253px;
} }
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 {
display: none !important;
height: 0;
} }
hide{
display:none !important;
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{
margin: 10px 0px; h5 {
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;} }
.card.accordion.shuffle-item.filtered { div.card {
page-break-after: always !important;
page-break-inside: avoid !important;
}
.card.accordion.shuffle-item.filtered {
border: none; border: none;
}
/* div.card{page-break-after: always}*/
/*div.filtered { }*/
/*div.card.accordion.shuffle-item.filtered { display:none !important;}*/
} }
/* div.card{page-break-after: always}*/
/*div.filtered { }*/
/*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"); .attr("class", "card-hidden, hide");
/*hidden*/ /*hidden*/