Subversion Repositories ALCASAR

Rev

Rev 2168 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log

Rev 2168 Rev 2179
Line 3... Line 3...
3
 * Tickets template for TicketsGenerator
3
 * Tickets template for TicketsGenerator
4
 *
4
 *
5
 * @author    Tom Houdayer
5
 * @author    Tom Houdayer
6
 * @copyright Copyright (C) ALCASAR (http://www.alcasar.net)
6
 * @copyright Copyright (C) ALCASAR (http://www.alcasar.net)
7
 * @license   GPL-3.0
7
 * @license   GPL-3.0
8
 * @version   $Id: tickets.template.php 2168 2017-04-18 17:39:54Z tom.houdayer $
8
 * @version   $Id: tickets.template.php 2179 2017-04-25 18:07:10Z tom.houdayer $
9
 */
9
 */
10
 
10
 
11
$langue_imp = $language;
11
$langue_imp = $language;
12
require __DIR__ . '/../langues_imp.php';
12
require __DIR__ . '/../langues_imp.php';
13
 
13
 
Line 21... Line 21...
21
	<style>
21
	<style>
22
		body {
22
		body {
23
			margin: 0;
23
			margin: 0;
24
		}
24
		}
25
		.ticket {
25
		.ticket {
26
			margin: 20px 0;
26
			margin: 14px 0;
27
			width: 50%;
27
			width: 50%;
28
			display: inline-block;
28
			display: inline-block;
29
			font-family: Arial;
29
			font-family: Arial;
30
			font-size: 10px;
30
			font-size: 8px;
31
			line-height: 20px;
31
			line-height: 16px;
32
		}
32
		}
33
		.ticket-header {
33
		.ticket-header {
34
			min-height:  40px;
34
			min-height:  30px;
35
			line-height: 40px;
35
			line-height: 30px;
36
			font-size: 12px;
36
			font-size: 10px;
37
			text-align: center;
37
			text-align: center;
38
		}
38
		}
39
		.ticket-header > .ticket-title {
39
		.ticket-header > .ticket-title {
40
			color: red;
40
			color: red;
41
			font-weight: bold;
41
			font-weight: bold;
42
		}
42
		}
43
		.ticket-box {
43
		.ticket-box {
44
			position: relative;
44
			position: relative;
45
			border: 1px solid black;
45
			border: 1px solid black;
46
			border-radius: 10px;
46
			border-radius: 10px;
47
			width: 275px;
47
			width: 220px;
48
			margin: 0 auto;
48
			margin: 0 auto;
49
		}
49
		}
50
		.ticket-box > .logo {
50
		.ticket-box > .logo {
51
			position: absolute;
51
			position: absolute;
52
			display: inline-block;
52
			display: inline-block;
53
			width:  80px;
53
			width:  60px;
54
			height: 80px;
54
			height: 60px;
55
			text-align: center;
55
			text-align: center;
56
		}
56
		}
57
		.ticket-box > .logo img {
57
		.ticket-box > .logo img {
58
			max-width:  100%;
58
			max-width:  100%;
59
			max-height: 100%;
59
			max-height: 100%;
60
		}
60
		}
61
		.ticket-box > .logo-alcasar {
61
		.ticket-box > .logo-alcasar {
62
			top:  -40px;
62
			top:  -30px;
63
			left: -40px;
63
			left: -30px;
64
		}
64
		}
65
		.ticket-box > .logo-organization {
65
		.ticket-box > .logo-organization {
66
			top:   -40px;
66
			top:   -30px;
67
			right: -40px;
67
			right: -30px;
68
		}
68
		}
69
		.ticket-body {
69
		.ticket-body {
70
			position: relative;
70
			position: relative;
71
			z-index: 10;
71
			z-index: 10;
72
			padding: 5px;
72
			padding: 5px;
73
		}
73
		}
74
		.ticket-body > div > span {
74
		.ticket-body > div > span {
75
			display: inline-block;
75
			display: inline-block;
76
		}
76
		}
77
		.ticket-body > div.spacer {
77
		.ticket-body > div.spacer {
78
			height: 12px;
78
			height: 10px;
79
		}
79
		}
80
		.ticket-body > div > span.key {
80
		.ticket-body > div > span.key {
81
			width: 50%;
81
			width: 52%;
82
			text-align: right;
82
			text-align: right;
83
		}
83
		}
84
		.ticket-body > div > span.value {
84
		.ticket-body > div > span.value {
85
			width: 50%;
85
			width: 48%;
86
			font-weight: bold;
86
			font-weight: bold;
87
		}
87
		}
88
		.ticket-footer > .infos {
88
		.ticket-footer > .infos {
89
			font-size: 9px;
89
			font-size: 7px;
90
			height: 70px;
90
			height: 52px;
91
		}
91
		}
92
		.center {
92
		.center {
93
			text-align: center;
93
			text-align: center;
94
		}
94
		}
95
	</style>
95
	</style>
Line 129... Line 129...
129
			</div>
129
			</div>
130
		</div><?php
130
		</div><?php
131
	endforeach; ?>
131
	endforeach; ?>
132
</body>
132
</body>
133
</html>
133
</html>
134
 
-