Printing: fix color numbers in printing templates

After adding the additional 'Table Cells 2' color to the color palette
fix the colors assigned to each field.

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Gehad elrobey <gehadelrobey@gmail.com>
This commit is contained in:
Gehad elrobey 2015-08-07 09:53:34 +02:00 committed by Lubomir I. Ivanov
parent 1dbe10fe27
commit e0ecccfa7b
5 changed files with 18 additions and 18 deletions

View file

@ -20,7 +20,7 @@
box-sizing: border-box;
border:max(1px, 0.1vw);
border-style:solid;
border-color: {{ template_options.color5 }};
border-color: {{ template_options.color6 }};
}
td {
@ -55,7 +55,7 @@
box-sizing: border-box;
border:max(1px, 0.1vw);
border-style:solid;
border-color: {{ template_options.color5 }};
border-color: {{ template_options.color6 }};
float: left;
}
@ -66,11 +66,11 @@
.fieldTitle {
background-color: {{ template_options.color2 }};
overflow: hidden;
color: {{ template_options.color3 }};
color: {{ template_options.color4 }};
}
.fieldData {
color: {{ template_options.color4 }};
color: {{ template_options.color5 }};
}
.table_class {

View file

@ -20,7 +20,7 @@
box-sizing: border-box;
border:max(1px, 0.1vw);
border-style:solid;
border-color: {{ template_options.color5 }};
border-color: {{ template_options.color6 }};
}
td {
@ -58,7 +58,7 @@
box-sizing: border-box;
border:max(1px, 0.1vw);
border-style:solid;
border-color: {{ template_options.color5 }};
border-color: {{ template_options.color6 }};
float: left;
}
@ -77,11 +77,11 @@
.fieldTitle {
background-color: {{ template_options.color2 }};
overflow: hidden;
color: {{ template_options.color3 }};
color: {{ template_options.color4 }};
}
.fieldData {
color: {{ template_options.color4 }};
color: {{ template_options.color5 }};
}
.table_class {
@ -98,7 +98,7 @@
.textArea {
line-height: {{ template_options.line_spacing }};
color: {{ template_options.color4 }};
color: {{ template_options.color5 }};
max-height: 19vh;
overflow: hidden;
}

View file

@ -63,7 +63,7 @@
box-sizing: border-box;
border:max(0.1vw, 1px);
border-style:solid;
border-color: {{ template_options.color5 }};
border-color: {{ template_options.color6 }};
font-size: {{ template_options.font_size }}vw;
}

View file

@ -47,7 +47,7 @@
box-sizing: border-box;
border:max(0.1vw, 1px);
border-style:solid;
border-color: {{ template_options.color5 }};
border-color: {{ template_options.color6 }};
}
</style>
@ -55,7 +55,7 @@
<body data-numberofdives = 0>
<div id="body_div">
<table class="table_class">
<tr style="background-color: {{ template_options.color2 }}; color: {{ template_options.color3 }}">
<tr style="background-color: {{ template_options.color2 }}; color: {{ template_options.color4 }}">
<th>Dive #</th>
<th>Date</th>
<th>Time</th>
@ -66,7 +66,7 @@
</tr>
{% block main_rows %}
{% for dive in dives %}
<tr style="color: {{ template_options.color4 }}">
<tr style="color: {{ template_options.color5 }}">
<th>{{ dive.number }}</th>
<th>{{ dive.date }}</th>
<th>{{ dive.time }}</th>

View file

@ -40,7 +40,7 @@
box-sizing: border-box;
border:max(0.1vw, 1px);
border-style:solid;
border-color: {{ template_options.color5 }};
border-color: {{ template_options.color6 }};
}
.table_class {
@ -53,7 +53,7 @@
box-sizing: border-box;
border:max(0.1vw, 1px);
border-style:solid;
border-color: {{ template_options.color5 }};
border-color: {{ template_options.color6 }};
}
.notes_table_class {
@ -66,18 +66,18 @@
box-sizing: border-box;
border:max(0.1vw, 1px);
border-style:solid;
border-color: {{ template_options.color5 }};
border-color: {{ template_options.color6 }};
}
.fieldTitle {
background-color: {{ template_options.color2 }};
color: {{ template_options.color3 }};
color: {{ template_options.color4 }};
overflow: hidden;
padding:0;
}
.fieldData {
color: {{ template_options.color4 }};
color: {{ template_options.color5 }};
}
.diveProfile {