dolibarr 21.0.3
main_menu_fa_icons.inc.php
1<?php if (!defined('ISLOADEDBYSTEELSHEET')) {
2 die('Must be call by steelsheet');
3} ?>
4
5/* IDE Hack <style type="text/css"> */
6
7.mainmenu::before{
8 /* font part */
9 font-family: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_FAMILY', 'Font Awesome 5 Free'); ?>";
10 font-weight: 900;
11 font-style: normal;
12 font-variant: normal;
13 text-rendering: auto;
14 line-height: 26px;
15 font-size: 1.3em;
16 -webkit-font-smoothing: antialiased;
17 text-align:center;
18 text-decoration:none;
19 color: var(--colortextbackhmenu);
20}
21
22div.mainmenu.menu {
23 background-image: none;
24}
25
26/*
27div.mainmenu.menu::before {
28 content: "\f0c9";
29}
30*/
31
32div.mainmenu.generic1::before {
33 content: "\f249";
34}
35
36div.mainmenu.generic2::before {
37 content: "\f249";
38}
39
40div.mainmenu.generic3::before {
41 content: "\f249";
42}
43
44div.mainmenu.generic4::before {
45 content: "\f249";
46}
47
48/* Define color of some picto */
49
50.fa-phone, .fa-mobile-alt, .fa-fax {
51 opacity: 0.7;
52 color: #440;
53}
54.fa-at, .fa-external-link-alt, .fa-share-alt {
55 opacity: 0.7;
56 color: #304;
57}
58.fa-trash {
59 color: #666;
60}
61.fa-trash:hover:before {
62 color: #800;
63}
64.fa-play {
65 color: #444;
66}
67.fa-link, .fa-unlink {
68 color: #555;
69}
70
71/* Define square Dolibarr logo in pure CSS */
72
73.fa-dolibarr-css{
74 color: #235481;
75 background: currentColor;
76 height: 150px;
77 width: 150px;
78 position: relative;
79}
80.fa-dolibarr-css:before{
81 content: '';
82 position: absolute;
83 left: 19%;
84 top: 17%;
85 width: 25%;
86 height: 25%;
87 border: solid 30px white;
88 border-radius: 0% 200% 200% 0% / 0% 180% 180% 0%;
89}
90.fa-dolibarr-css:after{
91 content: '';
92 position: absolute;
93 left: 19%;
94 top: 17%;
95 width: 5px;
96 height: 25%;
97 border-bottom: solid 60px currentColor;
98 margin-left: 30px;
99}
100
101.tmenu span.fas, .tmenu span.far {
102 <?php
103 if (!getDolGlobalString('THEME_MENU_COLORLOGO')) {
104 echo "color: unset !important;";
105 }
106 ?>;
107 line-height: 28px;
108 text-align: center;
109}
110
111
112.em092 {
113 font-size: 0.92em;
114}
115
116.em088 {
117 font-size: 0.88em;
118}
119
120.em080 {
121 font-size: 0.80em;
122}
print $object position
Definition edit.php:204
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.