commit 6b48fe99b177fc2b49cd1b98113b8f2d7970aa6e
parent 2ef38f5c1728341bdc675b4b7a5d6910bcd5dafe
Author: Amit Dutta <amitdutta4255@gmail.com>
Date: Thu, 25 Jun 2026 16:40:29 +0530
updated banner [skip ci]
Diffstat:
1 file changed, 47 insertions(+), 0 deletions(-)
diff --git a/docs/.vitepress/theme/components/Banner.vue b/docs/.vitepress/theme/components/Banner.vue
@@ -182,6 +182,53 @@ const acceptTerms = () => {
}
}
+/* Desktop: floating card (bottom-right) */
+@media (min-width: 768px) {
+ .terms-banner-wrapper {
+ width: auto;
+ left: unset;
+ right: 24px;
+ bottom: 24px;
+ }
+
+ .terms-banner {
+ width: 420px;
+ border-radius: 12px;
+ padding: 20px 22px;
+ box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18), 0 2px 8px rgba(0, 0, 0, 0.10);
+ }
+
+ .banner-content {
+ gap: 12px;
+ }
+
+ .banner-title {
+ font-size: 15px;
+ font-weight: 700;
+ }
+
+ .banner-text {
+ font-size: 13px;
+ line-height: 1.55;
+ opacity: 0.92;
+ }
+
+ .banner-text-group {
+ gap: 7px;
+ }
+
+ .banner-actions {
+ margin-top: 2px;
+ justify-content: flex-end;
+ }
+
+ .banner-btn {
+ padding: 9px 20px;
+ font-size: 13px;
+ border-radius: 6px;
+ }
+}
+
/* Slide Up Animation */
.slide-up-enter-active,
.slide-up-leave-active {