Skip to content

Commit d6b1733

Browse files
committed
feat: add menu icon
1 parent f636a44 commit d6b1733

File tree

6 files changed

+30
-0
lines changed

6 files changed

+30
-0
lines changed

view/adminhtml/layout/default.xml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<?xml version="1.0"?>
2+
<page xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:View/Layout/etc/page_configuration.xsd">
3+
<head>
4+
<css src="Vuefront_Vuefront::css/icon.css"/>
5+
</head>
6+
</page>

view/adminhtml/web/css/icon.css

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
@font-face {
2+
font-family:'Vuefront';
3+
src:url('../fonts/icomoon.eot');
4+
src:url('../fonts/icomoon.eot?#iefix') format('embedded-opentype'),url('../fonts/icomoon.woff') format('woff'),url('../fonts/icomoon.ttf') format('truetype'),url('../fonts/icomoon.svg') format('svg');font-weight:normal;font-style:normal
5+
}
6+
7+
#menu-vuefront-vuefront-vuefront > a::before {
8+
content: "\e900";
9+
color: #9ea3a8;
10+
font-size: 3.0rem;
11+
margin-bottom: 10px;
12+
font-family:'Vuefront';
13+
}

view/adminhtml/web/fonts/icomoon.eot

1.21 KB
Binary file not shown.

view/adminhtml/web/fonts/icomoon.svg

Lines changed: 11 additions & 0 deletions
Loading

view/adminhtml/web/fonts/icomoon.ttf

1.05 KB
Binary file not shown.

view/adminhtml/web/fonts/icomoon.woff

1.13 KB
Binary file not shown.

0 commit comments

Comments
 (0)