mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-06 17:13:03 +01:00
css
This commit is contained in:
@@ -2739,6 +2739,7 @@ li.tmenu:hover .tmenuimage:not(.menuhider), li.tmenu:hover .tmenuimage:not(.menu
|
||||
print "div.mainmenu.".$val." {\n";
|
||||
print " background-image: url(".$url.");\n";
|
||||
print " background-position-y: 3px;\n";
|
||||
print " filter: saturate(0);\n";
|
||||
print "}\n";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2702,7 +2702,7 @@ div.mainmenu.menu {
|
||||
print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one */\n";
|
||||
print 'div.mainmenu.'.$val.'::before {
|
||||
content: "\f249";
|
||||
}';
|
||||
}'."\n";
|
||||
} else {
|
||||
print "/* A mainmenu entry was found but img file ".$val.".png not found (check /".$val."/img/".$val.".png), so we use a generic one. */\n";
|
||||
print "/* Overwrite this definition in your own css with a different content to use your own font awesome icon. */\n";
|
||||
@@ -2715,6 +2715,7 @@ div.mainmenu.menu {
|
||||
} else {
|
||||
print "div.mainmenu.".$val." {\n";
|
||||
print " background-image: url(".$url.");\n";
|
||||
print " filter: saturate(0);\n";
|
||||
print "}\n";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user