dolibarr 24.0.0-beta
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 margin-left: -2px;
72 width: fit-content;
73 box-shadow: 0 6px 12px rgba(0, 0, 0, .175);
74
75 position: absolute;
76 z-index: 1000;
77 background-color: #fff;
78 margin-top: 14px;
79 }
80
81 .template-option[data-template="ai"] i {
82 font-size: 42px;
83 display: block;
84 width: 80%;
85 max-height: 80px;
86 margin: 0 5px;
87 padding-top: 5px;
88 border-radius: 5px;
89
90}
91
92.template-option[data-template="ai"] span {
93 padding-top: 30px;
94 font-size: 14px;
95
96}
97
98.template-option-text {
99 padding-top: 3px;
100 font-size: 14px;
101}
102
103#ai_input {
104 display: none;
105}
106
107.template-option img {
108 display: block;
109 width: 80%;
110 max-height: 80px;
111 margin: 0 5px;
112 border-radius: 7px;
113}
print $object position
Definition edit.php:206