mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: enhance 2 dives template
- Add more text padding on the left - Reduce the width of the profile so that the padding on the right of it is equal to the padding bottom from it. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
This commit is contained in:
parent
2d360e8a6d
commit
f7fcc96bff
1 changed files with 15 additions and 14 deletions
|
@ -45,6 +45,7 @@
|
||||||
.table_class {
|
.table_class {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 25%;
|
width: 25%;
|
||||||
|
height: 99%;
|
||||||
margin: 0.5%;
|
margin: 0.5%;
|
||||||
float: left;
|
float: left;
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
|
@ -58,7 +59,6 @@
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
width: 99%;
|
width: 99%;
|
||||||
margin: 0.5%;
|
margin: 0.5%;
|
||||||
float: left;
|
|
||||||
-webkit-box-sizing: border-box;
|
-webkit-box-sizing: border-box;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
border-width: {{ template_options.borderwidth }}px;
|
border-width: {{ template_options.borderwidth }}px;
|
||||||
|
@ -69,23 +69,20 @@
|
||||||
.fieldTitle {
|
.fieldTitle {
|
||||||
background-color: {{ template_options.color2 }};
|
background-color: {{ template_options.color2 }};
|
||||||
color: {{ template_options.color4 }};
|
color: {{ template_options.color4 }};
|
||||||
overflow: hidden;
|
padding-left: 2%;
|
||||||
padding:0;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.fieldData {
|
.fieldData {
|
||||||
color: {{ template_options.color5 }};
|
color: {{ template_options.color5 }};
|
||||||
background-color: {{ template_options.color3 }};
|
background-color: {{ template_options.color3 }};
|
||||||
|
padding-left: 2%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.diveProfile {
|
.diveProfile {
|
||||||
width: 48%;
|
float: left;
|
||||||
height: 95%;
|
height: 99%;
|
||||||
margin-left: 0%;
|
width: 47%;
|
||||||
margin-right: 0%;
|
margin: 0.5%;
|
||||||
margin-bottom: 0%;
|
|
||||||
margin-top: 0.5%;
|
|
||||||
float: right;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.diveDetails {
|
.diveDetails {
|
||||||
|
@ -94,12 +91,16 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
.dataPart {
|
.dataPart {
|
||||||
height: 45%;
|
height: 64%;
|
||||||
max-height: 60%;
|
padding-bottom: 1%;
|
||||||
|
width: 100%;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.notesPart {
|
.notesPart {
|
||||||
height: 35%;
|
height: 35%;
|
||||||
|
width: 100%;
|
||||||
|
float: left;
|
||||||
}
|
}
|
||||||
|
|
||||||
.textArea {
|
.textArea {
|
||||||
|
@ -213,7 +214,7 @@
|
||||||
<div class="notesPart">
|
<div class="notesPart">
|
||||||
<table class="notes_table_class">
|
<table class="notes_table_class">
|
||||||
<tbody><tr>
|
<tbody><tr>
|
||||||
<td class="fieldTitle">
|
<td style="padding-left:1%" class="fieldTitle">
|
||||||
<h1> Notes </h1>
|
<h1> Notes </h1>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
@ -232,7 +233,7 @@
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
<div id="footer">
|
<div id="footer">
|
||||||
<div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
|
|
Loading…
Add table
Reference in a new issue