From 1dda5db73b857643acefa68de1656ab07b348750 Mon Sep 17 00:00:00 2001 From: Tieptk Date: Fri, 21 Nov 2025 19:06:27 +0700 Subject: [PATCH] push --- assets/script/style.css | 39 +++++++++++++++++++++++++++++++------- template/other/header.html | 6 ++++-- 2 files changed, 36 insertions(+), 9 deletions(-) diff --git a/assets/script/style.css b/assets/script/style.css index 6756e09..2fb295e 100644 --- a/assets/script/style.css +++ b/assets/script/style.css @@ -2135,11 +2135,7 @@ strong { > details > summary:not(.menu-title):not(.menu-active, :active, .btn):hover ) { - background-color: color-mix( - in oklab, - var(--color-base-content) 10%, - transparent - ); + background-color: color-mix(in oklab, var(#e9f2ff) 10%, transparent); } } .menu @@ -3990,12 +3986,33 @@ strong { padding-inline-end: 0.5rem; position: absolute; max-height: 500px; - overflow: auto; + overflow-x: auto; + overflow-y: hidden; } .menu-horizontal li { position: relative; } + .menu-horizontal li.active { + background: #e9f2ff !important; + } + + .menu-horizontal li.active ul li.active { + background: #177bff !important; + } + + .menu-horizontal li.active ul li.active a { + color: #fff; + } + + .menu-horizontal li.active .grow { + color: #177bff; + } + + .menu-horizontal li.active .iconify { + color: #177bff; + } + .menu-horizontal li::before { position: absolute; content: ""; @@ -4036,7 +4053,8 @@ strong { border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); max-height: 500px; - overflow: auto; + overflow-y: auto; + overflow-x: hidden; } .menu-horizontal li:hover .submenu { @@ -4050,6 +4068,13 @@ strong { display: block !important; } + .menu-horizontal li ul li:hover { + background: #177bff !important; + } + .menu-horizontal li ul li:hover a { + color: #fff; + } + :where(.menu-horizontal > li:not(.menu-title) > details > ul) { border-radius: var(--radius-box); background-color: var(--color-base-100); diff --git a/template/other/header.html b/template/other/header.html index 610fa80..eecd782 100644 --- a/template/other/header.html +++ b/template/other/header.html @@ -620,7 +620,8 @@ {% assign _type = _category[0] %} {% assign _menuArray = _category[1].menu %} {% if _category[1].enable == 1 %} -
  • +
  • {% if _type == 'order' %} @@ -649,7 +650,8 @@