mirror of
https://github.com/mCaptcha/mCaptcha.git
synced 2026-02-11 10:05:41 +00:00
panel
This commit is contained in:
24
frontend/templates/panel/nav/menu/section/item.html
Normal file
24
frontend/templates/panel/nav/menu/section/item.html
Normal file
@@ -0,0 +1,24 @@
|
||||
<li
|
||||
class='<.= if active.name == heading.name {"nav-section__item--active"} else { "nav-section__item"} .>'
|
||||
<a href="#0" class="nav-menu__item__link nav-section__item__link">
|
||||
<img
|
||||
class="icon nav-menu__item__icon nav-section__item__icon"
|
||||
src="/svg/<.= heading.icon.>.svg"
|
||||
alt=""
|
||||
/>
|
||||
<.= heading.name .>
|
||||
</a>
|
||||
</li>
|
||||
|
||||
<style>
|
||||
.nav-section__item__link {
|
||||
filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(298deg)
|
||||
brightness(104%) contrast(101%);
|
||||
}
|
||||
|
||||
.nav-section__item:hover {
|
||||
background: var(--page-header-bgColor-hover);
|
||||
color: var(--blue);
|
||||
outline: none;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user