This repository was archived by the owner on Apr 7, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprint.html
90 lines (83 loc) · 3.94 KB
/
print.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<title>Omaha System: Druckversion</title>
<style type="text/css">
#print-terminology {font-size: 70%;}
#print-terminology h2 {font-size:180%; color: white; text-align: center; margin:0 0 1.5em; padding:10mm 10mm 4mm;}
#print-terminology h2.mb {margin-bottom:2.5em;}
.description {font-style: italic;}
h2 .description {font-size:70%; font-style:normal;}
h2 .parent-category {font-weight:normal;}
#print-terminology h3 {font-size:127%; color: white; margin:1.8em 0 0; padding:.3em .5em;}
#print-terminology h3.no-margin {margin:0;}
#print-terminology h4, #print-terminology strong {font-size:130%;}
#print-terminology h4 {padding-bottom:0;}
#print-terminology p {margin:0;}
#print-terminology p + p {margin-top: .5em;}
#print-terminology p.item {margin-bottom:.7em;}
#print-terminology p.item .description {font-size:100%;}
.no-bullets {list-style-type: none; margin: 0; padding: 0;}
ul:not(.no-bullets) {padding-left: 15px;}
#print-terminology li {margin: 0;}
.column {column-count: 3; margin:0 13mm;}
.page-break {page-break-before: always;}
.unbreakable {page-break-inside: avoid; break-inside: avoid-column;}
.reduced-line-height {line-height: 1.3em;}
@media print {
}
@page {
size: A4;
margin: 0mm 0mm 8mm 0mm;
}
</style>
</head>
<body id="print-terminology">
<div id="app">
<h2 style="background-color: #E63E21">
<span class="parent-category">{{ terminology.target.problemClassificationScheme.title }}:</span> Probleme
</h2>
<div class="column reduced-line-height">
<div v-for="(domain, index) in domains(terminology.target)">
<h3 :class="index == 0 ? 'no-margin' : ''" style="background-color: #E63E21">
{{ domain.title }}
</h3>
<p class="description" style="color: #E63E21; font-weight: bold; margin-bottom: .7em;">{{ domain.description }}</p>
<ul class="no-bullets auto-hyphens">
<li class="unbreakable" v-for="problem in problems(domain)">
<p class="item">
<strong>{{ problem.title }}:</strong>
<span class="description">{{ problem.description }}</span>
</p>
</li>
</ul>
</div>
</div>
<h2 style="background-color: #EF971B" class="page-break mb">
<span class="parent-category">{{ terminology.target.interventionScheme.title }}:</span> Ziele <span class="parent-category">(1/2)</span></h2>
</h2>
<ul class="column reduced-line-height no-bullets auto-hyphens">
<li class="unbreakable" v-for="target in targets(terminology.target).slice(0, 38)">
<p class="item">
<strong>{{ target.title }}:</strong>
<span class="description">{{ target.description }}</span>
</p>
</li>
</ul>
<h2 style="background-color: #EF971B" class="page-break mb">
<span class="parent-category">{{ terminology.target.interventionScheme.title }}:</span> Ziele <span class="parent-category">(2/2)</span></h2>
</h2>
<ul class="column reduced-line-height no-bullets auto-hyphens">
<li class="unbreakable" v-for="target in targets(terminology.target).slice(38)">
<p class="item">
<strong>{{ target.title }}:</strong>
<span class="description">{{ target.description }}</span>
</p>
</li>
</ul>
</div>
<script src="/dist/bundle.js"></script>
</body>
</html>