Jan2000 commited on
Commit
454901c
·
unverified ·
1 Parent(s): 95fa194

Update style.css

Browse files
Files changed (1) hide show
  1. static/css/style.css +27 -7
static/css/style.css CHANGED
@@ -1,3 +1,5 @@
 
 
1
  html, body {
2
  height: 100%;
3
  overflow: hidden;
@@ -100,9 +102,31 @@ body { font-family: 'Vazirmatn', 'Inter', sans-serif; -webkit-tap-highlight-colo
100
  transform: translateY(-50%) translateX(-4px);
101
  }
102
 
 
103
  .history-item-button { opacity: 1; }
104
- #history-item-menu { transform-origin: top right; transform: scale(0.95); opacity: 0; pointer-events: none; transition: transform 150ms ease-out, opacity 150ms ease-out; }
105
- #history-item-menu.visible { transform: scale(1); opacity: 1; pointer-events: auto; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
106
 
107
  #message-item-menu { transition: opacity 200ms ease-in-out; }
108
  #message-item-menu-content { transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1); transform: scale(0.95); opacity: 0; }
@@ -1442,7 +1466,7 @@ input:checked + .slider:before {
1442
  align-items: center;
1443
  gap: .8vmin;
1444
  padding: .8vmin 1.2vmin;
1445
- border-radius: 999px;
1446
  font-weight: 600;
1447
  font-size: 1.4vmin;
1448
  background: rgba(255, 255, 255, 0.5);
@@ -1692,7 +1716,6 @@ input:checked + .slider:before {
1692
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
1693
  }
1694
  /* END: CSS for Thoughts Toggle Switch */
1695
- /* ... تمام کدهای قبلی شما ... */
1696
 
1697
  /* START: NEW STYLES for Final Answer Wrapper */
1698
  .final-answer-wrapper {
@@ -1703,10 +1726,7 @@ input:checked + .slider:before {
1703
  }
1704
 
1705
  .final-answer-wrapper.visible {
1706
- /* *** START: MODIFIED - تغییر اصلی برای حذف محدودیت ارتفاع *** */
1707
- /* یک عدد بسیار بزرگ انتخاب می‌کنیم تا عملا نامحدود باشد اما انیمیشن حفظ شود */
1708
  max-height: 50000px;
1709
  opacity: 1;
1710
- /* *** END: MODIFIED *** */
1711
  }
1712
  /* END: NEW STYLES for Final Answer Wrapper */
 
1
+ /* --- START OF FILE Chatalpha-main/static/css/style.css --- */
2
+
3
  html, body {
4
  height: 100%;
5
  overflow: hidden;
 
102
  transform: translateY(-50%) translateX(-4px);
103
  }
104
 
105
+ /* === اصلاح مشکل منوی سه نقطه و لیست‌ها === */
106
  .history-item-button { opacity: 1; }
107
+
108
+ /* حذف نقطه‌های لیست تاریخچه */
109
+ #history-list, #history-list li {
110
+ list-style-type: none !important;
111
+ padding: 0;
112
+ margin: 0;
113
+ }
114
+
115
+ /* تنظیم z-index برای نمایش روی سایدبار */
116
+ #history-item-menu {
117
+ position: fixed; /* اطمینان از پوزیشن */
118
+ z-index: 9999 !important; /* لایه بسیار بالاتر از سایدبار */
119
+ transform-origin: top right;
120
+ transform: scale(0.95);
121
+ opacity: 0;
122
+ pointer-events: none;
123
+ transition: transform 150ms ease-out, opacity 150ms ease-out;
124
+ }
125
+ #history-item-menu.visible {
126
+ transform: scale(1);
127
+ opacity: 1;
128
+ pointer-events: auto;
129
+ }
130
 
131
  #message-item-menu { transition: opacity 200ms ease-in-out; }
132
  #message-item-menu-content { transition: all 250ms cubic-bezier(0.4, 0, 0.2, 1); transform: scale(0.95); opacity: 0; }
 
1466
  align-items: center;
1467
  gap: .8vmin;
1468
  padding: .8vmin 1.2vmin;
1469
+ border-radius: 9999px;
1470
  font-weight: 600;
1471
  font-size: 1.4vmin;
1472
  background: rgba(255, 255, 255, 0.5);
 
1716
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
1717
  }
1718
  /* END: CSS for Thoughts Toggle Switch */
 
1719
 
1720
  /* START: NEW STYLES for Final Answer Wrapper */
1721
  .final-answer-wrapper {
 
1726
  }
1727
 
1728
  .final-answer-wrapper.visible {
 
 
1729
  max-height: 50000px;
1730
  opacity: 1;
 
1731
  }
1732
  /* END: NEW STYLES for Final Answer Wrapper */