diff --git a/assets/script/hura-lib.css b/assets/script/hura-lib.css index ab61ca3..8110a8b 100644 --- a/assets/script/hura-lib.css +++ b/assets/script/hura-lib.css @@ -62,6 +62,7 @@ --container-4xl: 56rem; --container-5xl: 64rem; --container-6xl: 72rem; + --container-7xl: 80rem; --text-xs: 0.75rem; --text-xs--line-height: calc(1 / 0.75); --text-sm: 0.875rem; @@ -3885,6 +3886,9 @@ .w-6 { width: calc(var(--spacing) * 6); } + .w-7xl { + width: var(--container-7xl); + } .w-8 { width: calc(var(--spacing) * 8); } @@ -5815,6 +5819,9 @@ .text-red-200 { color: var(--color-red-200); } + .text-red-400 { + color: var(--color-red-400); + } .text-red-500 { color: var(--color-red-500); } diff --git a/assets/script/hura.global.css b/assets/script/hura.global.css index e100694..708c75f 100644 --- a/assets/script/hura.global.css +++ b/assets/script/hura.global.css @@ -119,6 +119,7 @@ overflow-y: auto; overflow-x: hidden; display: none; + margin-top: 0 !important; } /* DaisyUI details submenu spacing */ @@ -214,7 +215,7 @@ flex-grow: 1; } -@layer utilities { +@layer hura { .btn-active { --btn-bg: var(--color-hura); --btn-fg: #ffffff; @@ -234,4 +235,24 @@ background: var(--color-hura); color: #fff; } + .checkbox-active:checked, + .checkbox-active[aria-checked="true"] { + background: var(--color-hura); + color: #fff; + } + .menu-form .btn { + border-bottom: 0; + } + .menu-form .btn:hover { + background: var(--color-hura); + color: #fff; + } + .radio-active:checked, + .radio-active[aria-checked="true"] { + border-color: var(--color-hura); + } + .radio-active:checked::before, + .radio-active[aria-checked="true"]::before { + background-color: var(--color-hura); + } } diff --git a/template/product/form.html b/template/product/form.html index 41106aa..af7363b 100644 --- a/template/product/form.html +++ b/template/product/form.html @@ -5,7 +5,7 @@ -
+
@@ -13,13 +13,13 @@

Cập nhật #{{ page.product_info.id }}

@@ -33,7 +33,7 @@ {% for _menu in page.product_menu %} + class="btn w-full justify-start rounded-none text-black {% if _menu.is_current == 1 %}btn-active text-white{% else %} bg-white {% endif %}"> {{ _menu.name }} {% endfor %} diff --git a/template/product/form_components/basic.html b/template/product/form_components/basic.html index cc5d38e..c866f19 100644 --- a/template/product/form_components/basic.html +++ b/template/product/form_components/basic.html @@ -256,41 +256,42 @@
-
-