From 4e19aff14bde9b685002ebd9a64fc23b383f821e Mon Sep 17 00:00:00 2001
From: Bhabesh <bhabesh.mukhopadhyay@nibio.no>
Date: Fri, 21 Aug 2020 10:57:40 +0200
Subject: [PATCH] Cosmetic CSS change

#VIPSUTV-224: enforce font family , remove label for h3 at 'Heat Sum' , taking line height of the date field and space between the divs
---
 cydiapomonella/templates/cydiapomonella/index.html | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/cydiapomonella/templates/cydiapomonella/index.html b/cydiapomonella/templates/cydiapomonella/index.html
index 273b99c7..df008cfd 100644
--- a/cydiapomonella/templates/cydiapomonella/index.html
+++ b/cydiapomonella/templates/cydiapomonella/index.html
@@ -66,6 +66,10 @@
         .table-striped>tbody>tr:nth-child(even)>th {
         background-color: #e4ddd6 /* Choose your own color here */
         }
+
+        body {
+            font-family: 'Source Sans Pro', sans-serif;
+        }
         
     </style>
 {% endblock %}
@@ -611,16 +615,17 @@
 
 <div class="container-fluid" id="idDivHeatSum" style="display: none;">
     <div class="row ">
-        <label class="control-label">{% trans "Heat sum" %}</label>
+        <h3>{% trans "Heat sum" %}</h3>
         <form class="form-inline">
             <div class="form-group form-inline">
 
                 <label for="nameTxtDateInput">{% trans "Calculate heat sum from date" %}:</label>
-                <input id="idTxtDateInput" name="nameTxtDateInput" class="form-control" type="date" placeholder="yyyy-mm-dd" onkeydown="return false" value="2020-01-01"/>
+                <input id="idTxtDateInput" name="nameTxtDateInput" class="form-control" type="date" placeholder="yyyy-mm-dd" onkeydown="return false" value="2020-01-01" style="line-height: inherit;"/>
             </div>
             <!-- button type="submit" class="btn btn-default">Submit</button -->
         </form>
     </div>
+    <div><br></div>
     <div class="row alert alert-warning">
     	{% trans "Heat sum, with a base temperature of 10 degrees Celcius, calculated for" %} <span id='idSpanWeatherStationName'>-</span>  {% trans "weather station for the period starting with" %}  <span id="idSpanStartDate">-</span> {% trans "and ending with" %} <span id="idSpanEndDate">--</span>  (<span id="idSpanDateDifference">-</span> {% trans "days" %}) {% trans "is" %} : <span class="label label-primary" id="idDivResultNonNegative"></span> {% trans "day degrees" %}
     </div>
-- 
GitLab