mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Printing: templates should use colors defined in the color palette
Use the colors defined in the color palettes for all font, borders, table sections and backgrounds of all templates. Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com> Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
This commit is contained in:
parent
1d22bdc08c
commit
8d0101bf3d
4 changed files with 62 additions and 32 deletions
|
|
@ -40,6 +40,7 @@
|
|||
box-sizing: border-box;
|
||||
border:max(0.1vw, 1px);
|
||||
border-style:solid;
|
||||
border-color: {{ template_options.color5 }};
|
||||
}
|
||||
|
||||
.table_class {
|
||||
|
|
@ -52,6 +53,7 @@
|
|||
box-sizing: border-box;
|
||||
border:max(0.1vw, 1px);
|
||||
border-style:solid;
|
||||
border-color: {{ template_options.color5 }};
|
||||
}
|
||||
|
||||
.notes_table_class {
|
||||
|
|
@ -64,14 +66,20 @@
|
|||
box-sizing: border-box;
|
||||
border:max(0.1vw, 1px);
|
||||
border-style:solid;
|
||||
border-color: {{ template_options.color5 }};
|
||||
}
|
||||
|
||||
.fieldTitle {
|
||||
background-color: {{ template_options.color2 }};
|
||||
color: {{ template_options.color3 }};
|
||||
overflow: hidden;
|
||||
padding:0;
|
||||
}
|
||||
|
||||
.fieldData {
|
||||
color: {{ template_options.color4 }};
|
||||
}
|
||||
|
||||
.diveProfile {
|
||||
width: 48%;
|
||||
height: 95%;
|
||||
|
|
@ -122,7 +130,7 @@
|
|||
<td class="fieldTitle">
|
||||
<h1> Dive No. </h1>
|
||||
</td>
|
||||
<td>
|
||||
<td class="fieldData">
|
||||
<h1> {{ dive.number }} </h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -130,14 +138,15 @@
|
|||
<td class="fieldTitle">
|
||||
<h1> Date </h1>
|
||||
</td>
|
||||
<td><h1> {{ dive.date }} </h1>
|
||||
<td class="fieldData">
|
||||
<h1> {{ dive.date }} </h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="fieldTitle">
|
||||
<h1> Location </h1>
|
||||
</td>
|
||||
<td>
|
||||
<td class="fieldData">
|
||||
<h1> {{ dive.location }} </h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -145,7 +154,7 @@
|
|||
<td class="fieldTitle">
|
||||
<h1> Max depth </h1>
|
||||
</td>
|
||||
<td>
|
||||
<td class="fieldData">
|
||||
<h1> {{ dive.depth }} </h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -153,7 +162,7 @@
|
|||
<td class="fieldTitle">
|
||||
<h1> Duration </h1>
|
||||
</td>
|
||||
<td>
|
||||
<td class="fieldData">
|
||||
<h1> {{ dive.duration }} </h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -163,7 +172,7 @@
|
|||
<td class="fieldTitle">
|
||||
<h1> Time. </h1>
|
||||
</td>
|
||||
<td>
|
||||
<td class="fieldData">
|
||||
<h1> {{ dive.time }} </h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -171,14 +180,15 @@
|
|||
<td class="fieldTitle">
|
||||
<h1> Air Temp. </h1>
|
||||
</td>
|
||||
<td><h1> {{ dive.airTemp }} </h1>
|
||||
<td class="fieldData">
|
||||
<h1> {{ dive.airTemp }} </h1>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="fieldTitle">
|
||||
<h1> Water Temp. </h1>
|
||||
</td>
|
||||
<td>
|
||||
<td class="fieldData">
|
||||
<h1> {{ dive.waterTemp }} </h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -186,7 +196,7 @@
|
|||
<td class="fieldTitle">
|
||||
<h1> Buddy </h1>
|
||||
</td>
|
||||
<td>
|
||||
<td class="fieldData">
|
||||
<h1> {{ dive.buddy }} </h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -194,7 +204,7 @@
|
|||
<td class="fieldTitle">
|
||||
<h1> Dive Master </h1>
|
||||
</td>
|
||||
<td>
|
||||
<td class="fieldData">
|
||||
<h1> {{ dive.divemaster }} </h1>
|
||||
</td>
|
||||
</tr>
|
||||
|
|
@ -210,7 +220,7 @@
|
|||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>
|
||||
<td class="fieldData">
|
||||
<div class="textArea">
|
||||
<h1> {{ dive.notes }} </h1>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue