diff --git a/GanjooRazor/Pages/Simi.cshtml b/GanjooRazor/Pages/Simi.cshtml
index 9ce74a75..c1d9a5e5 100644
--- a/GanjooRazor/Pages/Simi.cshtml
+++ b/GanjooRazor/Pages/Simi.cshtml
@@ -14,7 +14,7 @@
@ViewData["Title"]
-
+
@@ -27,16 +27,6 @@
var stickyEnabled = cookieValue != "false";
-
@if (Model.CanEdit)
{
diff --git a/GanjooRazor/Pages/Spotify.cshtml b/GanjooRazor/Pages/Spotify.cshtml
index e7c5cc03..be3913b3 100644
--- a/GanjooRazor/Pages/Spotify.cshtml
+++ b/GanjooRazor/Pages/Spotify.cshtml
@@ -12,7 +12,7 @@
-
+
diff --git a/GanjooRazor/Pages/Tagged.cshtml b/GanjooRazor/Pages/Tagged.cshtml
index 56237df2..06d0c179 100644
--- a/GanjooRazor/Pages/Tagged.cshtml
+++ b/GanjooRazor/Pages/Tagged.cshtml
@@ -14,7 +14,7 @@
@ViewData["Title"]
-
+
diff --git a/GanjooRazor/Pages/Trans.cshtml b/GanjooRazor/Pages/Trans.cshtml
index bbfd9220..0267fdb0 100644
--- a/GanjooRazor/Pages/Trans.cshtml
+++ b/GanjooRazor/Pages/Trans.cshtml
@@ -14,7 +14,7 @@
گنجور » برگردانها و نویسهای شعر
-
+
diff --git a/GanjooRazor/Pages/errors/404.cshtml b/GanjooRazor/Pages/errors/404.cshtml
index fdf25dfa..d90f1edd 100644
--- a/GanjooRazor/Pages/errors/404.cshtml
+++ b/GanjooRazor/Pages/errors/404.cshtml
@@ -14,7 +14,7 @@
@ViewData["Title"]
-
+
diff --git a/GanjooRazor/Pages/errors/503.cshtml b/GanjooRazor/Pages/errors/503.cshtml
index 3173a4b9..97ed35b2 100644
--- a/GanjooRazor/Pages/errors/503.cshtml
+++ b/GanjooRazor/Pages/errors/503.cshtml
@@ -15,7 +15,7 @@
@ViewData["Title"]
-
+
diff --git a/GanjooRazor/wwwroot/css/p8.css b/GanjooRazor/wwwroot/css/p8.css
index 666a859c..05a68767 100644
--- a/GanjooRazor/wwwroot/css/p8.css
+++ b/GanjooRazor/wwwroot/css/p8.css
@@ -247,33 +247,33 @@ select {
border-top: 1px dashed;
}
-#tab-items{
- border:none !important;
+#tab-items {
+ border: none !important;
}
.poemtablinks {
display: inline-table;
}
- .poet .caption{
- display: block;
- width: 100%;
- font-family: Vazir;
- font-weight: 300;
- font-size: 0.8em;
- text-align: center;
- margin-bottom: 30px;
- }
+.poet .caption {
+ display: block;
+ width: 100%;
+ font-family: Vazir;
+ font-weight: 300;
+ font-size: 0.8em;
+ text-align: center;
+ margin-bottom: 30px;
+}
- .poet .caption a, .poemtablinks a {
- border-radius: 5px;
- display: block;
- box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
- padding: 5px;
- background-color: darkred;
- border-radius: 5px;
- margin-top: 5px;
- }
+ .poet .caption a, .poemtablinks a {
+ border-radius: 5px;
+ display: block;
+ box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2);
+ padding: 5px;
+ background-color: darkred;
+ border-radius: 5px;
+ margin-top: 5px;
+ }
.caption, .poemtablinks {
@@ -293,10 +293,10 @@ select {
background-color: #300;
}
- #fa .active a{
- font-weight: bold;
- background-color: #300;
- }
+#fa .active a {
+ font-weight: bold;
+ background-color: #300;
+}
.width-100per {
width: 100% !important;
@@ -2180,6 +2180,7 @@ mark {
.footer-icon {
fill: #300;
}
+
.tabcontent {
display: none;
}
@@ -2207,6 +2208,29 @@ mark {
background-color: rgb(51, 0, 0);
}
+.expandable-container-wrapper {
+ position: relative;
+}
+
+.expandable-content {
+ width: 100%;
+ overflow: hidden;
+ transition: height 0.3s ease-out;
+ position: relative;
+}
+
+/* Blurred bottom overlay effect */
+.expandable-blur-overlay {
+ position: absolute;
+ bottom: 0;
+ left: 0;
+ width: 100%;
+ height: 200px; /* Height of the blur effect */
+ background: linear-gradient(to bottom, rgba(255, 255, 255, 0), rgba(255, 255, 255, 0.9));
+ pointer-events: none; /* Prevents interaction */
+ transition: opacity 0.3s ease-out;
+}
+
@media(prefers-color-scheme: dark) {
body {
background: rgba(0, 0, 0, 0.9);
diff --git a/GanjooRazor/wwwroot/js/bk.js b/GanjooRazor/wwwroot/js/bk.js
index 7eec4e65..c62e56fc 100644
--- a/GanjooRazor/wwwroot/js/bk.js
+++ b/GanjooRazor/wwwroot/js/bk.js
@@ -1695,13 +1695,13 @@ function onSearchWordCounts(catId, poetId, totalWordCount) {
}, 500);
}
-function loadWordCountsByPoet(term) {
+function loadWordCountsByPoet(term, poetId, catId) {
var divParent = document.getElementById('wordcounts-placeholder');
var imgElementId = 'loadingwordcountsimg';
divParent.innerHTML = divParent.innerHTML + '

';
$.ajax({
type: "GET",
- url: '?Handler=WordCountsByPoet&term='+term,
+ url: '?Handler=WordCountsByPoet&term=' + term + '&poetId=' + poetId.toString() + '&catId=' + catId.toString(),
error: function () {
if (document.getElementById("remove-this-wordcounts") != null) {
document.getElementById("remove-this-wordcounts").remove();
@@ -1864,5 +1864,12 @@ function plotChart(tableId) {
});
}
-
+function deletePoetFromSearch(poetId, poetName) {
+ if (!confirm('آیا میخواهید ' + poetName + ' را از نتایج حذف کنید؟')) return;
+ const currentUrl = new URL(window.location.href);
+ const params = currentUrl.searchParams;
+ params.append('e', poetId.toString());
+ currentUrl.search = params.toString();
+ window.location.href = currentUrl.toString();
+}