dolibarr 23.0.3
emaillayout.inc.php
1<?php
2if (!defined('ISLOADEDBYSTEELSHEET')) {
3 die('Must be call by steelsheet');
4}
5?>
6/* IDE Hack <style type="text/css"> */
7
8.template-container {
9 display: flex;
10 justify-content: space-between;
11 padding: 10px;
12 background: #f5f5f5;
13 border: 1px solid #d3d3d3;
14 border-radius: 5px;
15 margin-bottom: 15px;
16 }
17
18 .template-option {
19 text-align: center;
20 padding: 10px;
21 margin: 4px 5px;
22 background: var(--colorbackgrey);
23 border-radius: 5px;
24 cursor: pointer;
25 height: 60px;
26 width: 60px;
27 display: inline-block;
28 align-items: center;
29 justify-content: center;
30 }
31
32 .template-option:hover {
33 font-weight: bold;
34 background: var(--butactionbg);
35 color: var(--textbutaction);
36 border-radius: 8px;
37 border-collapse: collapse;
38 }
39
40 .template-option[data-template="ai"] {
41 background: #c5f7c5;
42 }
43
44 .template-option[data-template="ai"]:hover {
45 font-weight: bold;
46 background: var(--butactionbg);
47 color: var(--textbutaction);
48 border-radius: 8px;
49 border-collapse: collapse;
50 border: none;
51 }
52
53 .template-option.selected {
54 font-weight: bold;
55 background: var(--butactionbg);
56 color: var(--textbutaction);
57 border-radius: 8px;
58 border-collapse: collapse;
59 border: none;
60}
61
62 #template-selector {
63 /* width: 100%;
64 max-width: 80%; */
65 height: auto;
66 padding: 10px;
67 border: 1px solid #d3d3d3;
68 border-radius: 5px;
69 margin-bottom: 10px;
70 margin-top: 10px;
71 width: fit-content;
72 }
73
74 .template-option[data-template="ai"] i {
75 font-size: 42px;
76 display: block;
77 width: 80%;
78 max-height: 80px;
79 margin: 0 5px;
80 padding-top: 5px;
81 border-radius: 5px;
82
83}
84
85.template-option[data-template="ai"] span {
86 padding-top: 30px;
87 font-size: 14px;
88
89}
90
91.template-option-text {
92 padding-top: 3px;
93 font-size: 14px;
94}
95
96#ai_input {
97 display: none;
98}
99
100.template-option img {
101 display: block;
102 width: 80%;
103 max-height: 80px;
104 margin: 0 5px;
105 border-radius: 7px;
106}