diff --git a/assets/css/custom.css b/assets/css/custom.css index e0783c0..b1514e6 100644 --- a/assets/css/custom.css +++ b/assets/css/custom.css @@ -1,7 +1,7 @@ body { font-family: 'Inter', sans-serif; - background-color: #F5F7F9; - color: #263238; + background-color: #F8FAFC; + color: #1E293B; } .hover-lift { @@ -31,36 +31,36 @@ body { } .btn-success { - background-color: #00C853; - border-color: #00C853; + background-color: #10B981; + border-color: #10B981; } .btn-success:hover { - background-color: #00B248; - border-color: #00B248; + background-color: #059669; + border-color: #059669; } .text-success { - color: #00C853 !important; + color: #10B981 !important; } .bg-success { - background-color: #00C853 !important; + background-color: #10B981 !important; } .bg-success-subtle { - background-color: #E8F5E9 !important; + background-color: #ECFDF5 !important; } .btn-white { background-color: #FFFFFF; - color: #00C853; + color: #10B981; border: none; } .btn-white:hover { - background-color: #F5F7F9; - color: #00B248; + background-color: #F8FAFC; + color: #059669; } .rounded-4 { border-radius: 1rem !important; } @@ -70,3 +70,50 @@ body { font-size: 1.5rem; vertical-align: middle; } + +/* Specific styles for APK Detail matching the image */ +.breadcrumb-item + .breadcrumb-item::before { + content: "/"; +} + +.x-small { + font-size: 0.75rem; +} + +.bg-light { + background-color: #F1F5F9 !important; +} + +.shadow-sm { + box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05) !important; +} + +.badge { + font-weight: 500; +} + +.border-success-subtle { + border-color: #A7F3D0 !important; +} + +.border-info-subtle { + border-color: #BAE6FD !important; +} + +/* Mobile adjustments */ +@media (max-width: 767.98px) { + .container { + padding-left: 1.25rem; + padding-right: 1.25rem; + } + + .display-5 { + font-size: 1.75rem; + } + + .btn-lg { + padding-top: 0.75rem; + padding-bottom: 0.75rem; + font-size: 1rem; + } +} \ No newline at end of file diff --git a/assets/pasted-20260225-120430-4a5ff3a6.jpg b/assets/pasted-20260225-120430-4a5ff3a6.jpg new file mode 100644 index 0000000..703ec1c Binary files /dev/null and b/assets/pasted-20260225-120430-4a5ff3a6.jpg differ diff --git a/views/apk_detail.php b/views/apk_detail.php index 13d0c10..9aadc6b 100644 --- a/views/apk_detail.php +++ b/views/apk_detail.php @@ -1,106 +1,140 @@ -
+
+ -
+
+
-
-
+
+ +
- <?php echo $apk['title']; ?> -
-

v

-

-
- - - - - VIP - -
+ <?php echo $apk['title']; ?> +
+

+ + v +

+

- - - - -

+
+ + + + + + +
+
+ +
+ +
+ + + +

+ +

+
+ +
-

-

+

+
+ +
-
+ +
-
-
+
+
+ + + + +
    -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
-
-
+
+
+ + + + +
    -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
-
-
-

+ +
+
+

+ +

+
-
-
-
-

-
+
+
+
+

+
query("SELECT referral_code FROM users WHERE id = ".$_SESSION['user_id'])->fetchColumn() : ''; $shareLink = 'http://'.$_SERVER['HTTP_HOST'].'/apk/'.$apk['slug'].($ref ? '?ref='.$ref : ''); ?> - - + +
- +
-
- -
-

- +
+
+ +
+
+

+
@@ -113,8 +147,17 @@ function copyShareLink() { copyText.select(); copyText.setSelectionRange(0, 99999); navigator.clipboard.writeText(copyText.value); - alert(""); + + // Simple toast or alert replacement + const btn = event.target; + const originalText = btn.innerText; + btn.innerText = "ed!"; + btn.classList.replace('btn-success', 'btn-dark'); + setTimeout(() => { + btn.innerText = originalText; + btn.classList.replace('btn-dark', 'btn-success'); + }, 2000); } - + \ No newline at end of file