diff --git a/assets/script/hura-lib.css b/assets/script/hura-lib.css index 8110a8b..98b976a 100644 --- a/assets/script/hura-lib.css +++ b/assets/script/hura-lib.css @@ -3288,6 +3288,9 @@ .mb-4 { margin-bottom: calc(var(--spacing) * 4); } + .mb-5 { + margin-bottom: calc(var(--spacing) * 5); + } .mb-6 { margin-bottom: calc(var(--spacing) * 6); } diff --git a/assets/script/hura.global.css b/assets/script/hura.global.css index 708c75f..4054140 100644 --- a/assets/script/hura.global.css +++ b/assets/script/hura.global.css @@ -10,6 +10,7 @@ :root { --font-sans: "Inclusive Sans", sans-serif; --text-base: 16px; + --bg-body: #fafbfd; --color-hura: #0041e8; --color-header: #002bb5; --text-base--line-height: 1.5; @@ -213,6 +214,7 @@ ); transition-duration: var(--tw-duration, var(--default-transition-duration)); flex-grow: 1; + background: var(--bg-body); } @layer hura { @@ -255,4 +257,10 @@ .radio-active[aria-checked="true"]::before { background-color: var(--color-hura); } + .link-active { + color: var(--color-hura); + } + .text-active { + color: var(--color-hura); + } } diff --git a/data/product/category.php b/data/product/category.php index 73b266f..4c944b4 100644 --- a/data/product/category.php +++ b/data/product/category.php @@ -28,8 +28,8 @@ function get_category_list($parentId=0, $currentCat="",$level=1, $prefix="", $ca $stt ++; $imgUrl = (strlen($cat_info["thumbnail"]) > 2) ? " " : ""; - if($cat_info["status"]) $status = ""; - else $status = ""; + if($cat_info["status"]) $status = ""; + else $status = ""; $edit_link ="/admin/product/category-form?id=".$cat_id; @@ -42,7 +42,7 @@ function get_category_list($parentId=0, $currentCat="",$level=1, $prefix="", $ca } if($cat_info['is_parent']) { - $show_category_name = "".$show_category_name.""; + $show_category_name = "".$show_category_name.""; } $categoryTree .= " @@ -50,17 +50,17 @@ function get_category_list($parentId=0, $currentCat="",$level=1, $prefix="", $ca onmouseover=\"this.className='row-hover parent_".$parentId."'\" onmouseout=\"this.className='parent_".$parentId."'\"> - + ". $extra_space . $prefix . $stt.". ". $show_category_name . $imgUrl." - Xem trang + Xem trang ".$cat_id." 413787 - 1292 + 1292 @@ -78,10 +78,10 @@ function get_category_list($parentId=0, $currentCat="",$level=1, $prefix="", $ca
- - + + ".$status." - +
"; @@ -89,7 +89,7 @@ function get_category_list($parentId=0, $currentCat="",$level=1, $prefix="", $ca }else{ $categoryTree .= " - + "; } diff --git a/template/home/home.html b/template/home/home.html index 11f361c..3dd00b0 100644 --- a/template/home/home.html +++ b/template/home/home.html @@ -1,6 +1,6 @@ -
+
diff --git a/template/module_css/homepage.html b/template/module_css/homepage.html deleted file mode 100644 index 5d071ae..0000000 --- a/template/module_css/homepage.html +++ /dev/null @@ -1,5 +0,0 @@ - \ No newline at end of file diff --git a/template/module_css/index.html b/template/module_css/index.html deleted file mode 100644 index 8f2961c..0000000 --- a/template/module_css/index.html +++ /dev/null @@ -1,5 +0,0 @@ -{% if global.module == 'home' %} - -{% include module_css/homepage %} - -{% endif %} \ No newline at end of file diff --git a/template/order/bargain.html b/template/order/bargain.html index 565ecf0..0161374 100644 --- a/template/order/bargain.html +++ b/template/order/bargain.html @@ -1,15 +1,15 @@

Danh sách mặc cả giá

diff --git a/template/product/brand.html b/template/product/brand.html index fe2b67f..483c593 100644 --- a/template/product/brand.html +++ b/template/product/brand.html @@ -28,8 +28,8 @@ X (1) | Z (2) |
- - + + Thêm thương hiệu mới
@@ -54,7 +54,7 @@ 750 10MOONS - @@ -84,12 +84,13 @@
+ data-lucide="pencil" class='size-3'> - + data-lucide="crown" class='size-3'> + + data-lucide="trash-2" class='size-3'>
diff --git a/template/product/category.html b/template/product/category.html index 56dd141..7e2e7a5 100644 --- a/template/product/category.html +++ b/template/product/category.html @@ -3,13 +3,13 @@