29-01-2024
This commit is contained in:
@@ -320,10 +320,10 @@ a {
|
|||||||
transition: 0.3s all;
|
transition: 0.3s all;
|
||||||
position: relative;
|
position: relative;
|
||||||
}
|
}
|
||||||
.admin-menu .item:hover {
|
.admin-menu .item:hover, .admin-menu .item.current {
|
||||||
background: #81b5e4;
|
background: #81b5e4;
|
||||||
}
|
}
|
||||||
.admin-menu .item:hover .icons {
|
.admin-menu .item:hover .icons, .admin-menu .item.current .icons {
|
||||||
filter: brightness(100);
|
filter: brightness(100);
|
||||||
}
|
}
|
||||||
.admin-menu .item:hover .sub-menu {
|
.admin-menu .item:hover .sub-menu {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -301,11 +301,13 @@ a {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
transition: 0.3s all;
|
transition: 0.3s all;
|
||||||
position: relative;
|
position: relative;
|
||||||
&:hover {
|
&:hover, &.current{
|
||||||
background: #81b5e4;
|
background: #81b5e4;
|
||||||
.icons {
|
.icons {
|
||||||
filter: brightness(100);
|
filter: brightness(100);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
&:hover {
|
||||||
.sub-menu {
|
.sub-menu {
|
||||||
left: calc(100% + 8px);
|
left: calc(100% + 8px);
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ return array(
|
|||||||
"url" => "",
|
"url" => "",
|
||||||
"menu" => array(
|
"menu" => array(
|
||||||
array(
|
array(
|
||||||
'enable' => false ,
|
'enable' => true ,
|
||||||
'module' => 'marketing',
|
'module' => 'marketing',
|
||||||
'view' => 'promotion',
|
'view' => 'promotion',
|
||||||
'id' => 'marketing/promotion',
|
'id' => 'marketing/promotion',
|
||||||
@@ -15,7 +15,7 @@ return array(
|
|||||||
),
|
),
|
||||||
|
|
||||||
array(
|
array(
|
||||||
'enable' => false ,
|
'enable' => true ,
|
||||||
'module' => 'marketing',
|
'module' => 'marketing',
|
||||||
'view' => 'coupon',
|
'view' => 'coupon',
|
||||||
'id' => 'marketing/coupon',
|
'id' => 'marketing/coupon',
|
||||||
|
|||||||
@@ -24,8 +24,9 @@
|
|||||||
</head>
|
</head>
|
||||||
<body>
|
<body>
|
||||||
|
|
||||||
<!--
|
{{ global | show_var }}
|
||||||
{{ page | show_var }}-->
|
|
||||||
|
{{ page | show_var }}
|
||||||
|
|
||||||
<div class="admin-global-container">
|
<div class="admin-global-container">
|
||||||
|
|
||||||
@@ -75,7 +76,7 @@
|
|||||||
|
|
||||||
<div class="sub-menu">
|
<div class="sub-menu">
|
||||||
{% for _item in _menuArray %}
|
{% for _item in _menuArray %}
|
||||||
<a href="{{_item.url }}" {% if _item.view == global.view and
|
<a href="?module={{ _item.module }}&view={{ _item.view }}" {% if _item.view == global.view and
|
||||||
_type == global.module %} class="current" {% endif %}> {{ _item.name }} </a>
|
_type == global.module %} class="current" {% endif %}> {{ _item.name }} </a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
@@ -134,7 +135,7 @@
|
|||||||
{% assign _menuArray = _category[1].menu %}
|
{% assign _menuArray = _category[1].menu %}
|
||||||
|
|
||||||
{% if _category[1].enable == 1 %}
|
{% if _category[1].enable == 1 %}
|
||||||
<div class="item {% if _type == 'system' %} border-[rgba(255,255,255,0.15)] border-b{% endif %}">
|
<div class="item {% if _type == 'system' %} border-[rgba(255,255,255,0.15)] border-b{% endif %} {% if _type == global.module %}current{% endif %}">
|
||||||
{% if _type == 'order' %} <a href="" class="icons icon-sell"> </a>
|
{% if _type == 'order' %} <a href="" class="icons icon-sell"> </a>
|
||||||
{% elsif _type == 'product' %} <a href="" class="icons icon-product"> </a>
|
{% elsif _type == 'product' %} <a href="" class="icons icon-product"> </a>
|
||||||
{% elsif _type == 'customer' %}<a href="" class="icons icon-user"> </a>
|
{% elsif _type == 'customer' %}<a href="" class="icons icon-user"> </a>
|
||||||
@@ -154,7 +155,7 @@
|
|||||||
|
|
||||||
<div class="menu-list">
|
<div class="menu-list">
|
||||||
{% for _item in _menuArray %}
|
{% for _item in _menuArray %}
|
||||||
<a href="{{ _item.url }}" {% if _item.view == global.view and
|
<a href="?module={{ _item.module }}&view={{ _item.view }}" {% if _item.view == global.view and
|
||||||
_type == global.module %} class="current" {% endif %}> {{ _item.name }} </a>
|
_type == global.module %} class="current" {% endif %}> {{ _item.name }} </a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
@@ -173,7 +174,7 @@
|
|||||||
|
|
||||||
<div class="menu-list">
|
<div class="menu-list">
|
||||||
{% for _item in global.main_menu.system.menu %}
|
{% for _item in global.main_menu.system.menu %}
|
||||||
<a href="{{_item.url }}"> {{_item.name }} </a>
|
<a href="?module={{ _item.module }}&view={{ _item.view}}"> {{_item.name }} </a>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user