From 8cf1071c902a56dc7c43ee8e59546cb61f438ebc Mon Sep 17 00:00:00 2001 From: KnugiHK <24708955+KnugiHK@users.noreply.github.com> Date: Sun, 27 Jul 2025 15:58:36 +0800 Subject: [PATCH] Implement media preview in reply bubble #128 --- Whatsapp_Chat_Exporter/whatsapp_new.html | 111 ++++++++++++++++++++--- 1 file changed, 97 insertions(+), 14 deletions(-) diff --git a/Whatsapp_Chat_Exporter/whatsapp_new.html b/Whatsapp_Chat_Exporter/whatsapp_new.html index dd477f1..47d4d19 100644 --- a/Whatsapp_Chat_Exporter/whatsapp_new.html +++ b/Whatsapp_Chat_Exporter/whatsapp_new.html @@ -136,6 +136,43 @@ .status-indicator.read { color: #34B7F1; } + .play-icon { + width: 0; + height: 0; + border-left: 8px solid white; + border-top: 5px solid transparent; + border-bottom: 5px solid transparent; + filter: drop-shadow(0 1px 2px rgba(0,0,0,0.3)); + } + .speaker-icon { + position: relative; + width: 8px; + height: 6px; + background: #666; + border-radius: 1px 0 0 1px; + } + .speaker-icon::before { + content: ''; + position: absolute; + right: -4px; + top: -1px; + width: 0; + height: 0; + border-left: 4px solid #666; + border-top: 4px solid transparent; + border-bottom: 4px solid transparent; + } + .speaker-icon::after { + content: ''; + position: absolute; + right: -8px; + top: -3px; + width: 8px; + height: 12px; + border: 2px solid #666; + border-left: none; + border-radius: 0 8px 8px 0; + }