From 8d0101bf3d94d393615f19396bc2ff2d930f531c Mon Sep 17 00:00:00 2001 From: Gehad elrobey Date: Mon, 3 Aug 2015 18:21:16 +0200 Subject: 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 Signed-off-by: Gehad elrobey --- printing_templates/Two Dives.html | 32 +++++++++++++++++++++----------- 1 file changed, 21 insertions(+), 11 deletions(-) (limited to 'printing_templates/Two Dives.html') diff --git a/printing_templates/Two Dives.html b/printing_templates/Two Dives.html index 5dba74303..463942ab5 100644 --- a/printing_templates/Two Dives.html +++ b/printing_templates/Two Dives.html @@ -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 @@

Dive No.

- +

{{ dive.number }}

@@ -130,14 +138,15 @@

Date

-

{{ dive.date }}

+ +

{{ dive.date }}

Location

- +

{{ dive.location }}

@@ -145,7 +154,7 @@

Max depth

- +

{{ dive.depth }}

@@ -153,7 +162,7 @@

Duration

- +

{{ dive.duration }}

@@ -163,7 +172,7 @@

Time.

- +

{{ dive.time }}

@@ -171,14 +180,15 @@

Air Temp.

-

{{ dive.airTemp }}

+ +

{{ dive.airTemp }}

Water Temp.

- +

{{ dive.waterTemp }}

@@ -186,7 +196,7 @@

Buddy

- +

{{ dive.buddy }}

@@ -194,7 +204,7 @@

Dive Master

- +

{{ dive.divemaster }}

@@ -210,7 +220,7 @@ - +

{{ dive.notes }}

-- cgit v1.2.3-70-g09d2