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