dolibarr 21.0.0-alpha
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: "<?php echo getDolGlobalString('MAIN_FONTAWESOME_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
21div.mainmenu.menu {
22 background-image: none;
23}
24
25/*
26div.mainmenu.menu::before {
27 content: "\f0c9";
28}
29*/
30
31div.mainmenu.generic1::before {
32 content: "\f249";
33}
34
35div.mainmenu.generic2::before {
36 content: "\f249";
37}
38
39div.mainmenu.generic3::before {
40 content: "\f249";
41}
42
43div.mainmenu.generic4::before {
44 content: "\f249";
45}
46
47/* Define color of some picto */
48
49.fa-phone, .fa-mobile-alt, .fa-fax {
50 opacity: 0.7;
51 color: #440;
52}
53.fa-at, .fa-external-link-alt, .fa-share-alt {
54 opacity: 0.7;
55 color: #304;
56}
57.fa-trash {
58 color: #666;
59}
60.fa-trash:hover:before {
61 color: #800;
62}
63.fa-play {
64 color: #444;
65}
66.fa-link, .fa-unlink {
67 color: #555;
68}
69
70/* Define square Dolibarr logo in pure CSS */
71
72.fa-dolibarr-css{
73 color: #235481;
74 background: currentColor;
75 height: 150px;
76 width: 150px;
77 position: relative;
78}
79.fa-dolibarr-css:before{
80 content: '';
81 position: absolute;
82 left: 19%;
83 top: 17%;
84 width: 25%;
85 height: 25%;
86 border: solid 30px white;
87 border-radius: 0% 200% 200% 0% / 0% 180% 180% 0%;
88}
89.fa-dolibarr-css:after{
90 content: '';
91 position: absolute;
92 left: 19%;
93 top: 17%;
94 width: 5px;
95 height: 25%;
96 border-bottom: solid 60px currentColor;
97 margin-left: 30px;
98}
99
100.tmenu span.fas, .tmenu span.far {
101 <?php
102 if (!getDolGlobalString('THEME_MENU_COLORLOGO')) {
103 echo "color: unset !important;";
104 }
105 ?>;
106 line-height: 28px;
107 text-align: center;
108}
109
110.menu_titre .em092 {
111 font-size: 0.92em;
112}
113
114.menu_titre .em088 {
115 font-size: 0.88em;
116}
117
118.menu_titre .em080 {
119 font-size: 0.80em;
120}
print $object position
Definition edit.php:195
getDolGlobalString($key, $default='')
Return a Dolibarr global constant string value.