target/realtek: add icons for some menu entries
(cherry picked from commit d4c908600520fd1387e1bc1a4864753e3b150f35)
This commit is contained in:
parent
52b555ba6c
commit
ea939da842
@ -25,6 +25,12 @@ HOST_LN="$(subst ${STAGING_DIR_HOST},$${STAGING_DIR_HOST},$(LN))"
|
||||
|
||||
$${HOST_LN} /usr/sbin/jffs2reset "$${IPKG_INSTROOT}/sbin/jffs2reset"
|
||||
|
||||
$${HOST_SED} '/<link rel="shortcut icon" href="<%=media%>\/favicon.ico">/a <link rel="stylesheet" href="<%=resource%>/easepi/easeicon.css?t=1642756089463">' \
|
||||
$${IPKG_INSTROOT}/usr/lib/lua/luci/view/themes/argon_dark/header.htm \
|
||||
$${IPKG_INSTROOT}/usr/lib/lua/luci/view/themes/argon_light/header.htm \
|
||||
$${IPKG_INSTROOT}/usr/lib/lua/luci/view/themes/argon_dark_purple/header.htm \
|
||||
$${IPKG_INSTROOT}/usr/lib/lua/luci/view/themes/argon_light_green/header.htm
|
||||
|
||||
true
|
||||
}
|
||||
endef
|
||||
|
||||
@ -0,0 +1,54 @@
|
||||
@font-face {
|
||||
font-family: "easeicon"; /* Project id 3156136 */
|
||||
src: url('iconfont.woff2?t=1642756089463') format('woff2'),
|
||||
url('iconfont.woff?t=1642756089463') format('woff'),
|
||||
url('iconfont.ttf?t=1642756089463') format('truetype');
|
||||
}
|
||||
|
||||
.easeicon {
|
||||
font-family: "easeicon" !important;
|
||||
font-size: 16px;
|
||||
font-style: normal;
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
|
||||
.eicon-store:before {
|
||||
content: "\e60f";
|
||||
}
|
||||
|
||||
.eicon-docker:before {
|
||||
content: "\e659";
|
||||
}
|
||||
|
||||
.eicon-network:before {
|
||||
content: "\ecc7";
|
||||
}
|
||||
|
||||
.eicon-dashboard:before {
|
||||
content: "\e664";
|
||||
}
|
||||
|
||||
.main>.main-left>.nav>.slide>.menu[data-title=Docker]:before {
|
||||
font-family: 'easeicon' !important;
|
||||
content: "\e659";
|
||||
color: #0c93f3 !important;
|
||||
}
|
||||
|
||||
.main>.main-left>.nav>.slide>.menu[data-title=iStore]:before {
|
||||
font-family: 'easeicon' !important;
|
||||
content: "\e60f";
|
||||
color: #8965e0 !important;
|
||||
}
|
||||
|
||||
.main>.main-left>.nav>.slide>.menu[data-title=QuickStart]:before {
|
||||
font-family: 'easeicon' !important;
|
||||
content: "\e664";
|
||||
color: #11cdef !important;
|
||||
}
|
||||
|
||||
.main>.main-left>.nav>.slide>.menu[data-title=NetworkGuide]:before {
|
||||
font-family: 'easeicon' !important;
|
||||
content: "\ecc7";
|
||||
color: #fb6340 !important;
|
||||
}
|
||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Reference in New Issue
Block a user