3 Commits b54ceec73a ... eea29d886e

Author SHA1 Message Date
  ignifugo eea29d886e nella descrizione dato spazio interlinea 2 years ago
  ignifugo 31bd0e776b bho, link url scheda singola 2 years ago
  ignifugo dc3a52a8a9 link singole schede 2 years ago
3 changed files with 14 additions and 5 deletions
  1. 5 1
      index.html
  2. 6 3
      software_export/css/main.css
  3. 3 1
      software_export/js/main.js

+ 5 - 1
index.html

@@ -74,7 +74,7 @@
 
         window.print();
           location.reload();
-        }
+        };
 
 
           var test_array = [["Nome","Realtà Produttiva","Località","Referente della visita"]];
@@ -128,7 +128,11 @@
         function exportCsvP(){
             console.log("click");
          };
+         $(function() {
+          // url_mercato();
 
+         });
+         
     </script>
 </body>
 

+ 6 - 3
software_export/css/main.css

@@ -1,4 +1,4 @@
-/*! Generated by Font Squirrel (https://www.fontsquirrel.com) on May 15, 2020 */
+*! Generated by Font Squirrel (https://www.fontsquirrel.com) on May 15, 2020 */
 @font-face {
     font-family: 'cardobold';
     src: url('../fonts/cardo-bold-webfont.woff2') format('woff2'),
@@ -93,7 +93,7 @@ section.page-body {
   color: white;
   padding: 2em;
   font-family: afta_serifregular;
-  font-weight: 600;
+  font-weight: 900;
   font-size: 10pt;
 }
 
@@ -237,7 +237,10 @@ hide {
   }
   .descrizione {
     background-color: black !important;
-    color: none !important;
+    color: white !important;
+    line-height:1.5;
+    font-family: sans;  
+    font-weight: 900;
   }
   p.descrive, p.collabora, p.collabora span{
       color: white !important;

+ 3 - 1
software_export/js/main.js

@@ -480,7 +480,9 @@ function scriviQuanti() {
 function url_mercato() {
   var url = window.location.href;
   var origin = window.location.origin;
-  url = url.replace(origin+'/schede_produzione/#', '')
+  url = url.replace(origin, '');
+  url = url.replace('/schede_produzione/', '');
+  url = url.replace('#', '');
   console.log(url);
   $("#search").attr("value", url);
   $("#search").keyup();