Skip to content

Commit

Permalink
Icon
Browse files Browse the repository at this point in the history
  • Loading branch information
dholi committed Aug 21, 2021
1 parent d76adcf commit 30596c5
Show file tree
Hide file tree
Showing 8 changed files with 37 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
*/
declare(strict_types=1);

namespace Dholi\Core\Test\Unit\Model\ResourceModel\Taxvat;
namespace Eloom\Core\Test\Unit\Model\ResourceModel\Taxvat;

use Eloom\Core\Exception\TaxvatException;
use PHPUnit\Framework\TestCase;
Expand Down
2 changes: 1 addition & 1 deletion src/module-core/etc/adminhtml/menu.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
title="élOOm"
module="Eloom_Core"
action="adminhtml/system_config/edit/section/eloom"
sortOrder="900"
sortOrder="80"
resource="Eloom_Core::menu"/>
</menu>
</config>
7 changes: 7 additions & 0 deletions src/module-core/view/adminhtml/layout/default.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
<?xml version="1.0"?>
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
<head>
<css src="Eloom_Core::css/styles.css"/>
</head>
</page>
17 changes: 17 additions & 0 deletions src/module-core/view/adminhtml/web/css/styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
@font-face {
font-family: 'icon';
src: url('../fonts/icon.eot');
src: url('../fonts/icon.eot?#iefix') format('embedded-opentype'),
url('../fonts/icon.woff') format('woff'),
url('../fonts/icon.ttf') format('truetype'),
url('../fonts/icon.svg') format('svg');
font-weight: normal;
font-style: normal
}
.admin__menu li#menu-eloom-core-menu > a {
text-transform: none;
}
.admin__menu li#menu-eloom-core-menu > a::before {
content: '\e900';
font-family: 'icon';
}
Binary file added src/module-core/view/adminhtml/web/fonts/icon.eot
Binary file not shown.
11 changes: 11 additions & 0 deletions src/module-core/view/adminhtml/web/fonts/icon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/module-core/view/adminhtml/web/fonts/icon.ttf
Binary file not shown.
Binary file not shown.

0 comments on commit 30596c5

Please sign in to comment.