diff --git a/GanjooRazor/Pages/AudioClip.cshtml b/GanjooRazor/Pages/AudioClip.cshtml index 9325b22a..a84163a4 100644 --- a/GanjooRazor/Pages/AudioClip.cshtml +++ b/GanjooRazor/Pages/AudioClip.cshtml @@ -152,7 +152,7 @@ - + + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/Hashieha.cshtml b/GanjooRazor/Pages/Hashieha.cshtml index a5518f68..ffa24b05 100644 --- a/GanjooRazor/Pages/Hashieha.cshtml +++ b/GanjooRazor/Pages/Hashieha.cshtml @@ -202,7 +202,7 @@ - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/Index.cshtml b/GanjooRazor/Pages/Index.cshtml index 259ffa33..fa79b513 100644 --- a/GanjooRazor/Pages/Index.cshtml +++ b/GanjooRazor/Pages/Index.cshtml @@ -102,7 +102,7 @@
- + @if (Model.IsPoemPage) { diff --git a/GanjooRazor/Pages/Quotes.cshtml b/GanjooRazor/Pages/Quotes.cshtml index 36a4fc2c..fcadc3a7 100644 --- a/GanjooRazor/Pages/Quotes.cshtml +++ b/GanjooRazor/Pages/Quotes.cshtml @@ -191,7 +191,7 @@ - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/ReportRecitation.cshtml b/GanjooRazor/Pages/ReportRecitation.cshtml index 5217cba2..4ce6d09f 100644 --- a/GanjooRazor/Pages/ReportRecitation.cshtml +++ b/GanjooRazor/Pages/ReportRecitation.cshtml @@ -240,7 +240,7 @@ - + + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/Simi.cshtml b/GanjooRazor/Pages/Simi.cshtml index 9bac4491..8a37b8d1 100644 --- a/GanjooRazor/Pages/Simi.cshtml +++ b/GanjooRazor/Pages/Simi.cshtml @@ -387,7 +387,7 @@ - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/Pages/Tagged.cshtml b/GanjooRazor/Pages/Tagged.cshtml index 5c08ca50..660cd417 100644 --- a/GanjooRazor/Pages/Tagged.cshtml +++ b/GanjooRazor/Pages/Tagged.cshtml @@ -220,7 +220,7 @@ - + @if (!string.IsNullOrEmpty(ViewData["GoogleAnalyticsCode"].ToString())) { diff --git a/GanjooRazor/wwwroot/js/vaabd.js b/GanjooRazor/wwwroot/js/vaabd.js index 18e56386..84a12f91 100644 --- a/GanjooRazor/wwwroot/js/vaabd.js +++ b/GanjooRazor/wwwroot/js/vaabd.js @@ -1,43 +1,62 @@ // Create tooltip elements -var $close = $('x').css({ - cursor: "pointer", - color: "white", - padding: "0 10px", - lineHeight: '2.5em', // Set line-height to match the tooltip height - display: 'flex', // Ensure it behaves like a flex item - justifyContent: 'center', // Center horizontally - alignItems: 'center' // Center vertically -}); - var $meaning = $('لغتنامه').css({ - boxShadow: '10px 0 0 -9px rgba(255,255,255,0.2), -10px 0 0 -9px rgba(255,255,255,0.2)', + padding: '10px', display: 'flex', justifyContent: 'center', - alignItems: 'center' + alignItems: 'center', + textAlign: 'center', }); var $abjad = $('ابجد').css({ + padding: '10px', display: 'flex', justifyContent: 'center', - alignItems: 'center' + alignItems: 'center', + textAlign: 'center', }); var $search = $('🔍').css({ + padding: '10px', display: 'flex', justifyContent: 'center', - alignItems: 'center' + alignItems: 'center', + textAlign: 'center', }); var $quran = $('قرآن').css({ + padding: '10px', display: 'flex', justifyContent: 'center', - alignItems: 'center' + alignItems: 'center', + textAlign: 'center', }); var $vazn = $('وزن').css({ + padding: '10px', display: 'flex', justifyContent: 'center', - alignItems: 'center' + alignItems: 'center', + textAlign: 'center', +}); + +var $google = $('گوگل').css({ + padding: '10px', + display: 'flex', + justifyContent: 'center', + alignItems: 'center', + textAlign: 'center', + color: 'white', +}); + +var $close = $('غیرفعال شود').css({ + cursor: "pointer", + color: "white", + padding: "10px", + display: 'flex', + justifyContent: 'center', + alignItems: 'center', + textAlign: 'center', + borderTop: '1px solid rgba(255,255,255,0.2)', // Visual separator }); // Tooltip container styling @@ -45,26 +64,29 @@ var $tooltip = $('