dolibarr  17.0.4
main_menu_fa_icons.inc.php
1 <?php if (!defined('ISLOADEDBYSTEELSHEET')) {
2  die('Must be call by steelsheet');
3 } ?>
4 /* <style type="text/css" > */
5 
6 .mainmenu::before{
7  /* font part */
8  font-family: "Font Awesome 5 Free";
9  font-weight: 900;
10  font-style: normal;
11  font-variant: normal;
12  text-rendering: auto;
13  line-height: 26px;
14  font-size: 1.3em;
15  -webkit-font-smoothing: antialiased;
16  text-align:center;
17  text-decoration:none;
18  color: var(--colortextbackhmenu);
19 }
20 
21 div.mainmenu.menu {
22  background-image: none;
23 }
24 
25 div.mainmenu.menu::before {
26  content: "\f0c9";
27 }
28 
29 
30 div.mainmenu.home::before{
31  content: "\f015";
32 }
33 
34 div.mainmenu.billing::before {
35  content: "\f51e";
36 }
37 
38 div.mainmenu.accountancy::before {
39  /* content: "\f53d"; */
40  content: "\f688";
41  font-size: 1.2em;
42 }
43 
44 div.mainmenu.agenda::before {
45  content: "\f073";
46 }
47 
48 div.mainmenu.bank::before {
49  content: "\f19c";
50 }
51 
52 div.mainmenu.cashdesk::before {
53  content: "\f788";
54 }
55 
56 
57 div.mainmenu.takepos::before {
58  content: "\f788";
59 }
60 
61 div.mainmenu.companies::before {
62  content: "\f1ad";
63 }
64 
65 div.mainmenu.commercial::before {
66  content: "\f0f2";
67 }
68 
69 div.mainmenu.ecm::before {
70  content: "\f07c";
71 }
72 
73 div.mainmenu.externalsite::before {
74  content: "\f360";
75 }
76 
77 div.mainmenu.ftp::before {
78  content: "\f362";
79 }
80 
81 div.mainmenu.hrm::before {
82  content: "\f508";
83 }
84 
85 div.mainmenu.members::before {
86  content: "\f007";
87 }
88 
89 div.mainmenu.products::before {
90  content: "\f1b2";
91 }
92 
93 div.mainmenu.mrp::before {
94  content: "\f1b3";
95 }
96 
97 div.mainmenu.project::before {
98  content: "\f542";
99 }
100 
101 div.mainmenu.ticket::before {
102  content: "\f3ff";
103 }
104 
105 div.mainmenu.tools::before {
106  content: "\f0ad";
107 }
108 
109 div.mainmenu.website::before {
110  content: "\f57d";
111 }
112 
113 
114 div.mainmenu.generic1::before {
115  content: "\f249";
116 }
117 
118 div.mainmenu.generic2::before {
119  content: "\f249";
120 }
121 
122 div.mainmenu.generic3::before {
123  content: "\f249";
124 }
125 
126 div.mainmenu.generic4::before {
127  content: "\f249";
128 }
129 
130 /* Define color of some picto */
131 
132 .fa-phone, .fa-mobile-alt, .fa-fax {
133  opacity: 0.7;
134  color: #440;
135 }
136 .fa-at, .fa-external-link-alt, .fa-share-alt {
137  opacity: 0.7;
138  color: #304;
139 }
140 .fa-trash {
141  color: #666;
142 }
143 .fa-trash:hover:before {
144  color: #800;
145 }
146 .fa-play {
147  color: #444;
148 }
149 .fa-link, .fa-unlink {
150  color: #555;
151 }
152 
153 /* Define square Dolibarr logo in pure CSS */
154 
155 .fa-dolibarr-css{
156  color: #235481;
157  background: currentColor;
158  height: 150px;
159  width: 150px;
160  position: relative;
161 }
162 .fa-dolibarr-css:before{
163  content: '';
164  position: absolute;
165  left: 19%;
166  top: 17%;
167  width: 25%;
168  height: 25%;
169  border: solid 30px white;
170  border-radius: 0% 200% 200% 0% / 0% 180% 180% 0%;
171 }
172 .fa-dolibarr-css:after{
173  content: '';
174  position: absolute;
175  left: 19%;
176  top: 17%;
177  width: 5px;
178  height: 25%;
179  border-bottom: solid 60px currentColor;
180  margin-left: 30px;
181 }
182 
183 .menu_titre .em092 {
184  font-size: 0.92em;
185 }
186 
187 .menu_titre .em088 {
188  font-size: 0.88em;
189 }
190 
191 .menu_titre .em080 {
192  font-size: 0.80em;
193 }