Files
dolibarr/htdocs/theme/md/main_menu_fa_icons.inc.php
Laurent Destailleur 24d35ff9b5 CSS
2020-10-08 11:52:58 +02:00

100 lines
1.6 KiB
PHP

<?php if (!defined('ISLOADEDBYSTEELSHEET')) die('Must be call by steelsheet'); ?>
/* <style type="text/css" > */
.mainmenu::before{
/* font part */
font-family: "Font Awesome 5 Free";
font-weight: 900;
font-style: normal;
font-variant: normal;
text-rendering: auto;
line-height: 26px;
font-size: 1.5em;
-webkit-font-smoothing: antialiased;
text-align:center;
text-decoration:none;
color: #<?php echo $colortextbackhmenu; ?>;
}
.fa-15x {
font-size: 1.5em;
}
div.mainmenu.ticket::before {
content: "\f3ff";
}
div.mainmenu.ticket {
background-image: none !important;
}
div.mainmenu.generic1::before {
content: "\f249";
}
div.mainmenu.generic2::before {
content: "\f249";
}
div.mainmenu.generic3::before {
content: "\f249";
}
div.mainmenu.generic4::before {
content: "\f249";
}
/* Define color of some picto */
.fa-phone, .fa-mobile-alt, .fa-fax {
opacity: 0.7;
color: #440;
}
.fa-at, .fa-external-link-alt, .fa-share-alt {
opacity: 0.7;
color: #304;
}
.fa-trash {
color: #666;
}
.fa-trash:hover:before {
color: #800;
}
.fa-play {
color: #444;
}
.fa-unlink {
color: #555;
}
/* Define square Dolibarr logo in pure CSS */
.fa-dolibarr-css{
color: #235481;
background: currentColor;
height: 150px;
width: 150px;
position: relative;
}
.fa-dolibarr-css:before{
content: '';
position: absolute;
left: 19%;
top: 17%;
width: 25%;
height: 25%;
border: solid 30px white;
border-radius: 0% 200% 200% 0% / 0% 180% 180% 0%;
}
.fa-dolibarr-css:after{
content: '';
position: absolute;
left: 19%;
top: 17%;
width: 5px;
height: 25%;
border-bottom: solid 60px currentColor;
margin-left: 30px;
}