sillytavern 1.4.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (259) hide show
  1. package/.dockerignore +4 -0
  2. package/.github/ISSUE_TEMPLATE/bug_report.md +35 -0
  3. package/.github/ISSUE_TEMPLATE/feature_request.md +20 -0
  4. package/.github/workflows/npm-publish.yml +32 -0
  5. package/Dockerfile +49 -0
  6. package/Start.bat +3 -0
  7. package/colab/GPU.ipynb +339 -0
  8. package/colab/extras_server.py +40 -0
  9. package/colab/globals.py +2 -0
  10. package/colab/models.py +77 -0
  11. package/docker/docker-compose.yml +12 -0
  12. package/docker/docker-entrypoint.sh +28 -0
  13. package/faq.md +208 -0
  14. package/package.json +49 -0
  15. package/poe-client.js +638 -0
  16. package/poe-test.js +21 -0
  17. package/poe_graphql/AddHumanMessageMutation.graphql +52 -0
  18. package/poe_graphql/AddMessageBreakMutation.graphql +17 -0
  19. package/poe_graphql/AutoSubscriptionMutation.graphql +7 -0
  20. package/poe_graphql/BioFragment.graphql +8 -0
  21. package/poe_graphql/ChatAddedSubscription.graphql +5 -0
  22. package/poe_graphql/ChatFragment.graphql +6 -0
  23. package/poe_graphql/ChatListPaginationQuery.graphql +316 -0
  24. package/poe_graphql/ChatPaginationQuery.graphql +26 -0
  25. package/poe_graphql/ChatViewQuery.graphql +8 -0
  26. package/poe_graphql/DeleteHumanMessagesMutation.graphql +7 -0
  27. package/poe_graphql/DeleteMessageMutation.graphql +7 -0
  28. package/poe_graphql/HandleFragment.graphql +8 -0
  29. package/poe_graphql/LoginWithVerificationCodeMutation.graphql +13 -0
  30. package/poe_graphql/MessageAddedSubscription.graphql +115 -0
  31. package/poe_graphql/MessageDeletedSubscription.graphql +8 -0
  32. package/poe_graphql/MessageFragment.graphql +13 -0
  33. package/poe_graphql/MessageRemoveVoteMutation.graphql +7 -0
  34. package/poe_graphql/MessageSetVoteMutation.graphql +7 -0
  35. package/poe_graphql/SendVerificationCodeForLoginMutation.graphql +12 -0
  36. package/poe_graphql/ShareMessagesMutation.graphql +9 -0
  37. package/poe_graphql/SignupWithVerificationCodeMutation.graphql +13 -0
  38. package/poe_graphql/StaleChatUpdateMutation.graphql +7 -0
  39. package/poe_graphql/SubscriptionsMutation.graphql +9 -0
  40. package/poe_graphql/SummarizePlainPostQuery.graphql +3 -0
  41. package/poe_graphql/SummarizeQuotePostQuery.graphql +3 -0
  42. package/poe_graphql/SummarizeSharePostQuery.graphql +3 -0
  43. package/poe_graphql/UserSnippetFragment.graphql +14 -0
  44. package/poe_graphql/ViewerInfoQuery.graphql +21 -0
  45. package/poe_graphql/ViewerMessageLimitUpdatedSubscription.graphql +81 -0
  46. package/poe_graphql/ViewerStateFragment.graphql +30 -0
  47. package/poe_graphql/ViewerStateUpdatedSubscription.graphql +63 -0
  48. package/public/KoboldAI Settings/Ace of Spades 13B.settings +22 -0
  49. package/public/KoboldAI Settings/Adventurer-NeoX-20B-Erebus.settings +54 -0
  50. package/public/KoboldAI Settings/Basic Coherence 13B.settings +22 -0
  51. package/public/KoboldAI Settings/Best Guess 6B.settings +22 -0
  52. package/public/KoboldAI Settings/Calibrated-Pygmalion-6b.settings +47 -0
  53. package/public/KoboldAI Settings/Classic-Pygmalion-2.7b.settings +46 -0
  54. package/public/KoboldAI Settings/Classic-Pygmalion-6b.settings +47 -0
  55. package/public/KoboldAI Settings/Coherent Creativity 6B.settings +22 -0
  56. package/public/KoboldAI Settings/Default-TavernAI.settings +22 -0
  57. package/public/KoboldAI Settings/DragonSlayer-Pygmalion-6b.settings +47 -0
  58. package/public/KoboldAI Settings/GPU-Pygmalion-6b.settings +47 -0
  59. package/public/KoboldAI Settings/Genesis 13B.settings +22 -0
  60. package/public/KoboldAI Settings/Godlike.settings +22 -0
  61. package/public/KoboldAI Settings/Good Winds.settings +22 -0
  62. package/public/KoboldAI Settings/Lancer-OPT-2.7B-Erebus.settings +54 -0
  63. package/public/KoboldAI Settings/Liminal Drift.settings +22 -0
  64. package/public/KoboldAI Settings/Low Rider 13B.settings +22 -0
  65. package/public/KoboldAI Settings/Luna Moth 6B.settings +22 -0
  66. package/public/KoboldAI Settings/Mayday.settings +22 -0
  67. package/public/KoboldAI Settings/Ouroboros.settings +22 -0
  68. package/public/KoboldAI Settings/Pleasing Results 6B.settings +22 -0
  69. package/public/KoboldAI Settings/Pro Writer 13B.settings +22 -0
  70. package/public/KoboldAI Settings/RA - Pygmalion-1.3b.settings +46 -0
  71. package/public/KoboldAI Settings/Storywriter 6B.settings +22 -0
  72. package/public/NovelAI Settings/Classic-Euterpe.settings +14 -0
  73. package/public/NovelAI Settings/Classic-Krake.settings +14 -0
  74. package/public/OpenAI Settings/Default.settings +15 -0
  75. package/public/TextGen Settings/Beam Search.settings +15 -0
  76. package/public/TextGen Settings/Contrastive Search.settings +15 -0
  77. package/public/TextGen Settings/Default.settings +15 -0
  78. package/public/TextGen Settings/Deterministic.settings +15 -0
  79. package/public/TextGen Settings/Kobold (Godlike).settings +15 -0
  80. package/public/TextGen Settings/Kobold (Liminal Drift).settings +15 -0
  81. package/public/TextGen Settings/Naive.settings +15 -0
  82. package/public/TextGen Settings/NovelAI (Best Guess).settings +15 -0
  83. package/public/TextGen Settings/NovelAI (Decadence).settings +15 -0
  84. package/public/TextGen Settings/NovelAI (Genesis).settings +15 -0
  85. package/public/TextGen Settings/NovelAI (Lycaenidae).settings +15 -0
  86. package/public/TextGen Settings/NovelAI (Ouroboros).settings +15 -0
  87. package/public/TextGen Settings/NovelAI (Pleasing Results).settings +15 -0
  88. package/public/TextGen Settings/NovelAI (Sphinx Moth).settings +15 -0
  89. package/public/TextGen Settings/NovelAI (Storywriter).settings +15 -0
  90. package/public/TextGen Settings/Pygmalion.settings +15 -0
  91. package/public/css/fontawesome.css +8488 -0
  92. package/public/css/notes.css +46 -0
  93. package/public/css/solid.css +24 -0
  94. package/public/favicon.ico +0 -0
  95. package/public/img/No-Image-Placeholder.svg +309 -0
  96. package/public/img/addbg3.png +0 -0
  97. package/public/img/ai4.png +0 -0
  98. package/public/img/apple-icon-114x114.png +0 -0
  99. package/public/img/apple-icon-144x144.png +0 -0
  100. package/public/img/apple-icon-57x57.png +0 -0
  101. package/public/img/apple-icon-72x72.png +0 -0
  102. package/public/img/book2.png +0 -0
  103. package/public/img/default-expressions/admiration.png +0 -0
  104. package/public/img/default-expressions/amusement.png +0 -0
  105. package/public/img/default-expressions/anger.png +0 -0
  106. package/public/img/default-expressions/annoyance.png +0 -0
  107. package/public/img/default-expressions/approval.png +0 -0
  108. package/public/img/default-expressions/caring.png +0 -0
  109. package/public/img/default-expressions/confusion.png +0 -0
  110. package/public/img/default-expressions/curiosity.png +0 -0
  111. package/public/img/default-expressions/desire.png +0 -0
  112. package/public/img/default-expressions/desire1.png +0 -0
  113. package/public/img/default-expressions/desire2.png +0 -0
  114. package/public/img/default-expressions/disappointment.png +0 -0
  115. package/public/img/default-expressions/disapproval.png +0 -0
  116. package/public/img/default-expressions/disgust.png +0 -0
  117. package/public/img/default-expressions/embarrassment.png +0 -0
  118. package/public/img/default-expressions/excitement.png +0 -0
  119. package/public/img/default-expressions/fear.png +0 -0
  120. package/public/img/default-expressions/gratitude.png +0 -0
  121. package/public/img/default-expressions/grief.png +0 -0
  122. package/public/img/default-expressions/joy.png +0 -0
  123. package/public/img/default-expressions/love.png +0 -0
  124. package/public/img/default-expressions/nervousness.png +0 -0
  125. package/public/img/default-expressions/neutral.png +0 -0
  126. package/public/img/default-expressions/optimism.png +0 -0
  127. package/public/img/default-expressions/pride.png +0 -0
  128. package/public/img/default-expressions/realization.png +0 -0
  129. package/public/img/default-expressions/relief.png +0 -0
  130. package/public/img/default-expressions/remorse.png +0 -0
  131. package/public/img/default-expressions/sadness.png +0 -0
  132. package/public/img/default-expressions/surprise.png +0 -0
  133. package/public/img/five.png +0 -0
  134. package/public/img/times-circle.svg +1 -0
  135. package/public/img/you.png +0 -0
  136. package/public/index.html +1899 -0
  137. package/public/notes/1.html +44 -0
  138. package/public/notes/1.png +0 -0
  139. package/public/notes/10.html +20 -0
  140. package/public/notes/11.html +33 -0
  141. package/public/notes/12.html +27 -0
  142. package/public/notes/13.html +29 -0
  143. package/public/notes/13_1.html +24 -0
  144. package/public/notes/13_2.html +25 -0
  145. package/public/notes/13_3.html +89 -0
  146. package/public/notes/14.html +30 -0
  147. package/public/notes/2.html +37 -0
  148. package/public/notes/2.png +0 -0
  149. package/public/notes/3.html +37 -0
  150. package/public/notes/4.html +105 -0
  151. package/public/notes/6.html +33 -0
  152. package/public/notes/7.html +40 -0
  153. package/public/notes/8.html +19 -0
  154. package/public/notes/9.html +46 -0
  155. package/public/notes/advanced_formatting.html +91 -0
  156. package/public/notes/group_reply_strategy.html +63 -0
  157. package/public/notes/message_sound.html +33 -0
  158. package/public/notes/multigen.html +36 -0
  159. package/public/notes/oai_api_key.html +37 -0
  160. package/public/notes/textgen_streaming.html +29 -0
  161. package/public/notes/token-limits.html +68 -0
  162. package/public/script.js +5131 -0
  163. package/public/scripts/RossAscends-mods.js +750 -0
  164. package/public/scripts/bookmarks.js +130 -0
  165. package/public/scripts/extensions/backgrounds/index.js +129 -0
  166. package/public/scripts/extensions/backgrounds/manifest.json +11 -0
  167. package/public/scripts/extensions/backgrounds/style.css +45 -0
  168. package/public/scripts/extensions/caption/index.js +117 -0
  169. package/public/scripts/extensions/caption/manifest.json +13 -0
  170. package/public/scripts/extensions/caption/style.css +23 -0
  171. package/public/scripts/extensions/dice/droll.js +108 -0
  172. package/public/scripts/extensions/dice/index.js +96 -0
  173. package/public/scripts/extensions/dice/manifest.json +11 -0
  174. package/public/scripts/extensions/dice/style.css +26 -0
  175. package/public/scripts/extensions/expressions/index.js +387 -0
  176. package/public/scripts/extensions/expressions/manifest.json +13 -0
  177. package/public/scripts/extensions/expressions/style.css +115 -0
  178. package/public/scripts/extensions/floating-prompt/index.js +151 -0
  179. package/public/scripts/extensions/floating-prompt/manifest.json +11 -0
  180. package/public/scripts/extensions/floating-prompt/style.css +19 -0
  181. package/public/scripts/extensions/memory/index.js +358 -0
  182. package/public/scripts/extensions/memory/manifest.json +13 -0
  183. package/public/scripts/extensions/memory/style.css +34 -0
  184. package/public/scripts/extensions.js +288 -0
  185. package/public/scripts/f-localStorage.js +27 -0
  186. package/public/scripts/gpt-2-3-tokenizer/README.md +28 -0
  187. package/public/scripts/gpt-2-3-tokenizer/encoder.js +1 -0
  188. package/public/scripts/gpt-2-3-tokenizer/mod.js +169 -0
  189. package/public/scripts/gpt-2-3-tokenizer/vocab.bpe.js +1 -0
  190. package/public/scripts/gpt-3-tokenizer/array-keyed-map.js +210 -0
  191. package/public/scripts/gpt-3-tokenizer/gpt3-tokenizer.js +271 -0
  192. package/public/scripts/gpt-3-tokenizer/gpt3-tokenizer.js.map +1 -0
  193. package/public/scripts/group-chats.js +899 -0
  194. package/public/scripts/horde.js +214 -0
  195. package/public/scripts/jquery-3.5.1.min.js +2 -0
  196. package/public/scripts/jquery-cookie-1.4.1.min.js +2 -0
  197. package/public/scripts/jquery.transit.min.js +1 -0
  198. package/public/scripts/kai-settings.js +179 -0
  199. package/public/scripts/nai-settings.js +108 -0
  200. package/public/scripts/openai.js +973 -0
  201. package/public/scripts/poe.js +360 -0
  202. package/public/scripts/popper.js +2008 -0
  203. package/public/scripts/popper.js.map +1 -0
  204. package/public/scripts/power-user.js +571 -0
  205. package/public/scripts/purify.min.js +3 -0
  206. package/public/scripts/purify.min.js.map +1 -0
  207. package/public/scripts/showdown.min.js +3 -0
  208. package/public/scripts/showdown.min.js.map +1 -0
  209. package/public/scripts/swiped-events.js +165 -0
  210. package/public/scripts/textgen-settings.js +194 -0
  211. package/public/scripts/toolcool-color-picker.js +87 -0
  212. package/public/scripts/utils.js +109 -0
  213. package/public/scripts/world-info.js +661 -0
  214. package/public/sounds/message.mp3 +0 -0
  215. package/public/style.css +3633 -0
  216. package/public/webfonts/NotoSans/NotoSans-Black.woff +0 -0
  217. package/public/webfonts/NotoSans/NotoSans-Black.woff2 +0 -0
  218. package/public/webfonts/NotoSans/NotoSans-BlackItalic.woff +0 -0
  219. package/public/webfonts/NotoSans/NotoSans-BlackItalic.woff2 +0 -0
  220. package/public/webfonts/NotoSans/NotoSans-Bold.woff +0 -0
  221. package/public/webfonts/NotoSans/NotoSans-Bold.woff2 +0 -0
  222. package/public/webfonts/NotoSans/NotoSans-BoldItalic.woff +0 -0
  223. package/public/webfonts/NotoSans/NotoSans-BoldItalic.woff2 +0 -0
  224. package/public/webfonts/NotoSans/NotoSans-ExtraBold.woff +0 -0
  225. package/public/webfonts/NotoSans/NotoSans-ExtraBold.woff2 +0 -0
  226. package/public/webfonts/NotoSans/NotoSans-ExtraBoldItalic.woff +0 -0
  227. package/public/webfonts/NotoSans/NotoSans-ExtraBoldItalic.woff2 +0 -0
  228. package/public/webfonts/NotoSans/NotoSans-ExtraLight.woff +0 -0
  229. package/public/webfonts/NotoSans/NotoSans-ExtraLight.woff2 +0 -0
  230. package/public/webfonts/NotoSans/NotoSans-ExtraLightItalic.woff +0 -0
  231. package/public/webfonts/NotoSans/NotoSans-ExtraLightItalic.woff2 +0 -0
  232. package/public/webfonts/NotoSans/NotoSans-Italic.woff +0 -0
  233. package/public/webfonts/NotoSans/NotoSans-Italic.woff2 +0 -0
  234. package/public/webfonts/NotoSans/NotoSans-Light.woff +0 -0
  235. package/public/webfonts/NotoSans/NotoSans-Light.woff2 +0 -0
  236. package/public/webfonts/NotoSans/NotoSans-LightItalic.woff +0 -0
  237. package/public/webfonts/NotoSans/NotoSans-LightItalic.woff2 +0 -0
  238. package/public/webfonts/NotoSans/NotoSans-Medium.woff +0 -0
  239. package/public/webfonts/NotoSans/NotoSans-Medium.woff2 +0 -0
  240. package/public/webfonts/NotoSans/NotoSans-MediumItalic.woff +0 -0
  241. package/public/webfonts/NotoSans/NotoSans-MediumItalic.woff2 +0 -0
  242. package/public/webfonts/NotoSans/NotoSans-Regular.woff +0 -0
  243. package/public/webfonts/NotoSans/NotoSans-Regular.woff2 +0 -0
  244. package/public/webfonts/NotoSans/NotoSans-SemiBold.woff +0 -0
  245. package/public/webfonts/NotoSans/NotoSans-SemiBold.woff2 +0 -0
  246. package/public/webfonts/NotoSans/NotoSans-SemiBoldItalic.woff +0 -0
  247. package/public/webfonts/NotoSans/NotoSans-SemiBoldItalic.woff2 +0 -0
  248. package/public/webfonts/NotoSans/NotoSans-Thin.woff +0 -0
  249. package/public/webfonts/NotoSans/NotoSans-Thin.woff2 +0 -0
  250. package/public/webfonts/NotoSans/NotoSans-ThinItalic.woff +0 -0
  251. package/public/webfonts/NotoSans/NotoSans-ThinItalic.woff2 +0 -0
  252. package/public/webfonts/NotoSans/stylesheet.css +162 -0
  253. package/public/webfonts/fa-solid-900.ttf +0 -0
  254. package/public/webfonts/fa-solid-900.woff2 +0 -0
  255. package/readme.md +187 -0
  256. package/server.js +2593 -0
  257. package/start.sh +24 -0
  258. package/tools/charaverter/main.mjs +110 -0
  259. package/tools/charaverter/package.json +10 -0
@@ -0,0 +1,3633 @@
1
+ @charset "UTF-8";
2
+
3
+ :root {
4
+ --doc-height: 100%;
5
+ --transparent: rgba(0, 0, 0, 0);
6
+
7
+ --black30a: rgba(0, 0, 0, 0.3);
8
+ --black50a: rgba(0, 0, 0, 0.5);
9
+ --black60a: rgba(0, 0, 0, 0.6);
10
+ --black70a: rgba(0, 0, 0, 0.7);
11
+ --black90a: rgba(0, 0, 0, 0.9);
12
+ --black100: rgba(0, 0, 0, 1);
13
+
14
+ --white30a: rgba(255, 255, 255, 0.3);
15
+ --white50a: rgba(255, 255, 255, 0.5);
16
+ --white60a: rgba(255, 255, 255, 0.6);
17
+ --white70a: rgba(255, 255, 255, 0.7);
18
+ --white100: rgba(255, 255, 255, 1);
19
+
20
+ --grey10: rgb(25, 25, 25);
21
+ --grey30: rgb(75, 75, 75);
22
+ --grey50: rgb(125, 125, 125);
23
+ --grey70: rgb(175, 175, 175);
24
+ --grey75: rgb(190, 190, 190);
25
+
26
+ --grey30a: rgba(50, 50, 50, 0.3);
27
+ --grey7070a: rgba(175, 175, 175, 0.7);
28
+
29
+ --fullred: rgba(255, 0, 0, 1);
30
+ --crimson70a: rgba(100, 0, 0, 0.7);
31
+ --okGreen70a: rgba(0, 100, 0, 0.7);
32
+ --cobalt30a: rgba(100, 100, 255, 0.3);
33
+ --sienna: rgb(210, 100, 40);
34
+ --orangered: rgb(255, 90, 0);
35
+ --greyCAIbg: rgb(36, 36, 37);
36
+ --ivory: rgb(220, 220, 210);
37
+
38
+
39
+ /*Default Theme, will be changed by ToolCool Color Picker*/
40
+ --SmartThemeBodyColor: rgb(220, 220, 210);
41
+ --SmartThemeEmColor: rgb(175, 175, 175);
42
+ --SmartThemeFastUIBGColor: rgba(0, 0, 0, 0.9);
43
+ --SmartThemeBlurTintColor: rgba(0, 0, 0, 0.5);
44
+ --SmartThemeBlurStrength: calc(var(--blurStrength) * 1px);
45
+
46
+ --sheldWidth: 800px;
47
+ /*base variable calculated in rems*/
48
+ --fontScale: 1;
49
+ --mainFontSize: calc(var(--fontScale) * 1rem);
50
+
51
+ /* base variable for blur strength slider calculations */
52
+ --blurStrength: 10;
53
+ color-scheme: only light;
54
+
55
+
56
+ /*styles for the color picker*/
57
+ --tool-cool-color-picker-btn-bg: transparent;
58
+ --tool-cool-color-picker-btn-border-color: transparent;
59
+ }
60
+
61
+ * {
62
+ box-sizing: border-box;
63
+ -webkit-font-smoothing: antialiased;
64
+ -moz-osx-font-smoothing: grayscale;
65
+ text-shadow: 0px 0px 3px black;
66
+ }
67
+
68
+ html {
69
+ /*fix for chrome flickering on blurred divs*/
70
+ -webkit-transform: translateZ(0);
71
+ -webkit-backface-visibility: hidden;
72
+ -webkit-perspective: 1000;
73
+ }
74
+
75
+ body {
76
+ margin: 0;
77
+ padding: 0;
78
+ width: 100%;
79
+ /*fallback for JS load*/
80
+ height: 100svh;
81
+ /*defaults as 100%, then reassigned via JS as pixels, will work on PC and Android*/
82
+ height: var(--doc-height);
83
+ background-color: var(--greyCAIbg);
84
+ background-repeat: no-repeat;
85
+ background-attachment: fixed;
86
+ background-size: cover;
87
+ font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
88
+ font-size: var(--mainFontSize);
89
+ color: var(--SmartThemeBodyColor);
90
+ }
91
+
92
+ ::-webkit-scrollbar {
93
+ width: 10px;
94
+ scrollbar-gutter: stable;
95
+ }
96
+
97
+ ::-webkit-scrollbar-thumb {
98
+ background-color: var(--grey7070a);
99
+ border: 2px solid transparent;
100
+ box-shadow: inset 0 0 0 1px var(--black50a);
101
+ border-radius: 10px;
102
+ background-clip: content-box;
103
+ }
104
+
105
+ .fa-solid::before,
106
+ .fa-regular::before {
107
+ vertical-align: middle;
108
+ text-align: center;
109
+ }
110
+
111
+ .mes_text p {
112
+ margin-top: 0;
113
+ margin-bottom: 10px;
114
+ }
115
+
116
+ .mes_text li tt {
117
+ min-width: 80px;
118
+ display: inline-block;
119
+ text-align: right;
120
+ }
121
+
122
+ .mes_text br {
123
+ content: ' ';
124
+ }
125
+
126
+ .mes_bias {
127
+ display: block;
128
+ font-size: calc(var(--mainFontSize) - 0.1rem);
129
+ font-weight: 500;
130
+ color: darkgoldenrod;
131
+ }
132
+
133
+ .mes_text i,
134
+ .mes_text em {
135
+ color: var(--SmartThemeEmColor);
136
+ font-weight: 500;
137
+ }
138
+
139
+ .mes_text strong,
140
+ .mes_text h2,
141
+ .mes_text h1 {
142
+ font-weight: bold;
143
+ }
144
+
145
+ code {
146
+ padding: 5px;
147
+ font-family: Consolas, monospace;
148
+ color: var(--white50a);
149
+ white-space: pre-wrap;
150
+ word-wrap: break-word;
151
+ border: 1px solid var(--white30a);
152
+ border-radius: 5px;
153
+ background-color: var(--black70a);
154
+ display: inline-block;
155
+ max-width: 80%;
156
+ line-height: var(--mainFontSize);
157
+ }
158
+
159
+ #bg1,
160
+ #bg_custom {
161
+ background-repeat: no-repeat;
162
+ background-attachment: fixed;
163
+ background-size: cover;
164
+ position: absolute;
165
+ width: 100%;
166
+ height: 100%;
167
+ transition: background-image 0.5s ease-in-out;
168
+ }
169
+
170
+ #bg1 {
171
+ background-image: url(backgrounds/tavern1.jpg);
172
+ z-index: -2;
173
+ }
174
+
175
+ #bg_custom {
176
+ background-image: none;
177
+ z-index: -1;
178
+ }
179
+
180
+ /*TOPPER margin*/
181
+
182
+ #top-bar {
183
+ width: var(--sheldWidth);
184
+ margin: 0 auto;
185
+ left: 0;
186
+ right: 0;
187
+ display: inline-block;
188
+ height: 40px;
189
+ position: fixed;
190
+ border-bottom: 1px solid var(--grey30a);
191
+ box-shadow: 0 2px 20px 0 var(--black70a);
192
+ backdrop-filter: blur(var(--SmartThemeBlurStrength));
193
+ background-color: var(--SmartThemeBlurTintColor);
194
+ /* border-radius: 0 0 20px 20px; */
195
+ -webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
196
+ z-index: 3000;
197
+ }
198
+
199
+ #sheld {
200
+ display: grid;
201
+ grid-template-rows: auto min-content;
202
+ height: calc(100svh - 42px);
203
+ overflow-x: hidden;
204
+ max-width: 800px;
205
+ position: absolute;
206
+ left: calc((100svw - var(--sheldWidth))/2);
207
+ top: 41px;
208
+ /* margin: 0 auto; */
209
+ z-index: 2;
210
+ /* resize: both; */
211
+ min-height: 100px;
212
+ min-width: 100px;
213
+ width: var(--sheldWidth);
214
+ }
215
+
216
+ .drag-grabber {
217
+ position: absolute;
218
+ width: 20px !important;
219
+ height: 20px !important;
220
+ color: var(--SmartThemeBodyColor);
221
+ z-index: 2000;
222
+ text-align: center;
223
+ border-radius: 5px;
224
+ vertical-align: middle;
225
+ right: 5px;
226
+ top: 5px;
227
+ opacity: 0.5;
228
+ cursor: grab;
229
+ border: 1px solid var(--white30a);
230
+ cursor: -moz-grab;
231
+ cursor: -webkit-grab;
232
+ display: none;
233
+ }
234
+
235
+ #sheldheader:active {
236
+ cursor: grabbing;
237
+ cursor: -moz-grabbing;
238
+ cursor: -webkit-grabbing;
239
+ }
240
+
241
+ .pull-tab {
242
+ height: 10px;
243
+ width: 10px;
244
+ background-color: var(--SmartThemeEmColor);
245
+ position: absolute;
246
+ bottom: 0px;
247
+ right: 0px;
248
+ pointer-events: none;
249
+ z-index: 2001;
250
+ }
251
+
252
+ #chat {
253
+ /* margin-top: 5px; */
254
+ max-height: calc(100vh - 42px);
255
+
256
+ overflow-x: hidden;
257
+ padding-bottom: 0;
258
+ overflow-y: scroll;
259
+ display: flex;
260
+ bottom: 10px;
261
+ border-bottom: 1px solid var(--grey30a);
262
+ border-left: 1px solid var(--grey30a);
263
+ border-right: 1px solid var(--grey30a);
264
+ backdrop-filter: blur(var(--SmartThemeBlurStrength));
265
+ background-color: var(--SmartThemeBlurTintColor);
266
+ -webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
267
+ text-shadow: #000 0 0 3px;
268
+ scrollbar-width: thin;
269
+ /* transition: all 1s ease-in-out; */
270
+ flex-direction: column;
271
+ z-index: 3;
272
+ }
273
+
274
+ #form_sheld {
275
+ white-space: nowrap;
276
+ width: 100%;
277
+ margin: 1px auto 0 auto;
278
+ z-index: 3;
279
+ }
280
+
281
+ #send_form {
282
+ display: flex;
283
+ align-items: center;
284
+ width: 100%;
285
+ margin: 0 auto 0 auto;
286
+ border: 1px solid var(--grey30a);
287
+
288
+ border-radius: 0 0 20px 20px;
289
+ background-color: var(--SmartThemeBlurTintColor);
290
+ backdrop-filter: blur(var(--SmartThemeBlurStrength));
291
+ }
292
+
293
+ #send_form.no-connection {
294
+ background-color: rgba(100, 0, 0, 0.5) !important;
295
+ }
296
+
297
+ #send_but_sheld {
298
+ padding: 0;
299
+ border: 0;
300
+ height: 40px;
301
+ position: relative;
302
+ background-position: center;
303
+ display: flex;
304
+ flex-direction: row;
305
+ column-gap: 5px;
306
+ font-size: 30px;
307
+ overflow: hidden;
308
+ }
309
+
310
+ #send_but {
311
+ width: 40px;
312
+ height: 40px;
313
+ margin: 0;
314
+ display: none;
315
+ outline: none;
316
+ border: none;
317
+ cursor: pointer;
318
+ transition: 0.3s;
319
+ opacity: 0.7;
320
+ order: 99999;
321
+ align-items: center;
322
+ justify-content: center;
323
+ }
324
+
325
+
326
+ #loading_mes {
327
+ display: none;
328
+ width: 40px;
329
+ height: 40px;
330
+ margin: 0 auto;
331
+ order: 99999;
332
+ align-items: center;
333
+ justify-content: center;
334
+ filter: brightness(0.7);
335
+ }
336
+
337
+ #options_button {
338
+ width: 40px;
339
+ height: 40px;
340
+ margin: 0;
341
+ outline: none;
342
+ border: none;
343
+ position: relative;
344
+ opacity: 0.7;
345
+ cursor: pointer;
346
+ z-index: 2001;
347
+ padding-left: 10px;
348
+ padding-top: 0;
349
+ transition: 0.3s;
350
+ font-size: 30px;
351
+ display: flex;
352
+ align-items: center;
353
+ }
354
+
355
+ .font-family-reset {
356
+ font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
357
+ font-size: var(--mainFontSize);
358
+ font-weight: 400;
359
+ }
360
+
361
+ #options_button:hover,
362
+ #send_but:hover {
363
+ opacity: 1;
364
+ filter: brightness(1.2);
365
+ }
366
+
367
+ #options {
368
+ opacity: 0.0;
369
+ display: none;
370
+ z-index: 1990;
371
+
372
+ }
373
+
374
+ .options-content {
375
+ overflow: hidden;
376
+ display: block;
377
+ background-color: var(--SmartThemeBlurTintColor);
378
+ border: 1px solid var(--white30a);
379
+ border-radius: 15px;
380
+ box-shadow: 0 0 5px black;
381
+ text-shadow: 0 0 3px black;
382
+ backdrop-filter: blur(calc(var(--SmartThemeBlurStrength)*2));
383
+ /* min-width: 200px; */
384
+ z-index: 2000;
385
+ margin-bottom: 3px;
386
+ }
387
+
388
+ .options-content hr {
389
+ margin: 0;
390
+ padding: 0;
391
+ border-top: 1px solid var(--white30a);
392
+ }
393
+
394
+ #right-nav-panel hr,
395
+ #personality_div hr,
396
+ #top-settings-holder hr {
397
+ background-image: linear-gradient(90deg, var(--transparent), var(--white30a), var(--transparent));
398
+ min-height: 1px;
399
+ }
400
+
401
+ .options-content a {
402
+ color: var(--SmartThemeBodyColor);
403
+ padding: 12px 16px;
404
+ text-decoration: none;
405
+ display: flex;
406
+ align-items: center;
407
+ column-gap: 10px;
408
+ cursor: pointer;
409
+ }
410
+
411
+ .options-content a div:first-child {
412
+ min-width: 20px;
413
+ }
414
+
415
+ .options-content img {
416
+ width: calc(var(--mainFontSize) + .5rem);
417
+ margin-right: 5px;
418
+ height: calc(var(--mainFontSize) + .25rem);
419
+ vertical-align: middle;
420
+ }
421
+
422
+ .options-content span {
423
+ vertical-align: middle;
424
+ }
425
+
426
+ .options-content a:hover {
427
+ background-color: var(--SmartThemeEmColor);
428
+ }
429
+
430
+
431
+ #message_template {
432
+ display: none !important;
433
+ }
434
+
435
+ .auto_hide {
436
+ content-visibility: auto;
437
+ }
438
+
439
+ .mes {
440
+ display: grid;
441
+ grid-template-columns: min-content min-content auto min-content;
442
+ padding: 20px 10px 0 10px;
443
+ margin-top: 0;
444
+ width: 100%;
445
+ color: var(--SmartThemeBodyColor);
446
+ }
447
+
448
+ .last_mes {
449
+ grid-template-columns: [checkbox] fit-content(60px) [avatar-leftswipe] 50px [name-mestext] auto [edit-rightswipe] 30px !important;
450
+ grid-template-rows: [avatar-NameMesText-edit] 50px [swipes] auto;
451
+ grid-row-gap: 20px;
452
+ margin-bottom: 0 !important;
453
+ /*only affects bubblechat to make it sit nicely at the bottom*/
454
+
455
+ }
456
+
457
+ /* SWIPE RELATED STYLES*/
458
+
459
+ .swipe_right,
460
+ .swipe_left {
461
+ height: 40px;
462
+ width: 40px;
463
+ opacity: 0.3;
464
+ right: 5px;
465
+ align-items: center;
466
+ justify-content: center;
467
+ z-index: 9999;
468
+ grid-row-start: 2;
469
+ grid-column-start: 4;
470
+ flex-flow: column;
471
+ font-size: 30px;
472
+ }
473
+
474
+ .swipe_right img,
475
+ .swipe_left img {
476
+ height: 30px;
477
+ width: 30px;
478
+ }
479
+
480
+ .swipes-counter {
481
+ color: white;
482
+ font-size: 12px;
483
+ padding: 0;
484
+ font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
485
+ font-weight: 400;
486
+
487
+ }
488
+
489
+ .swipe_left {
490
+ left: 15px;
491
+ right: auto;
492
+ grid-column-start: 2;
493
+ align-items: flex-end;
494
+ padding-bottom: 17px;
495
+ }
496
+
497
+ .ui-settings {
498
+ display: flex;
499
+ flex-direction: column;
500
+ /* align-items: flex-end; */
501
+ gap: 10px;
502
+ }
503
+
504
+ /* .ui-settings>div {
505
+ flex: 1;
506
+ }
507
+ */
508
+ #avatars-style .range-block-range,
509
+ #chat-display .range-block-range,
510
+ #sheld-width .range-block-range {
511
+ display: flex;
512
+ flex-direction: column;
513
+ }
514
+
515
+ .avatar {
516
+ width: 50px;
517
+ height: 50px;
518
+ border-style: none;
519
+ }
520
+
521
+ .avatar img {
522
+ width: 100%;
523
+ height: 100%;
524
+ object-fit: cover;
525
+ object-position: center center;
526
+ border-radius: 50%;
527
+ border: 1px solid var(--black30a);
528
+ box-shadow: 0 0 5px var(--black50a);
529
+ }
530
+
531
+ body.big-avatars .avatar {
532
+ width: 60px;
533
+ height: 90px;
534
+ border-style: none;
535
+ display: flex;
536
+ justify-content: center;
537
+ align-items: center;
538
+ overflow: visible;
539
+ border-radius: 10px;
540
+ box-shadow: 0 0 5px var(--black50a);
541
+ }
542
+
543
+ body.big-avatars #user_avatar_block .avatar,
544
+ body.big-avatars #user_avatar_block .avatar_upload {
545
+ height: 90px;
546
+ width: 60px;
547
+ border-radius: 10px;
548
+ }
549
+
550
+ body.big-avatars #user_avatar_block .avatar img {
551
+ height: 90px;
552
+ width: 60px;
553
+ }
554
+
555
+ body.big-avatars .last_mes {
556
+ grid-template-rows: [avatar-NameMesText-edit] 80px [swipes] auto;
557
+ grid-template-columns: [checkbox] fit-content(60px) [avatar-leftswipe] fit-content(60px) [name-mestext] auto [edit-rightswipe] 30px !important;
558
+ }
559
+
560
+ body.big-avatars .avatar img {
561
+ width: 100%;
562
+ height: 100%;
563
+ object-fit: cover;
564
+ object-position: center;
565
+ border: 1px solid var(--black30a);
566
+ border-radius: 10px;
567
+ }
568
+
569
+ .mes_block {
570
+ padding-top: 0;
571
+ padding-left: 10px;
572
+ grid-row-start: 1;
573
+ grid-row-end: 3;
574
+ grid-column-start: 3;
575
+ }
576
+
577
+ .ch_name {
578
+ font-weight: bolder;
579
+ }
580
+
581
+ .mes_text {
582
+ font-weight: 500;
583
+ line-height: calc(var(--mainFontSize) + .5rem);
584
+ padding-left: 0;
585
+ padding-top: 5px;
586
+ padding-bottom: 5px;
587
+ /*max-width: 720px;*/
588
+ word-wrap: break-word;
589
+ /* animation: typing 3.5s steps(40, end), blink-caret .75s step-end infinite; */
590
+ }
591
+
592
+ /* .mes_text::after {
593
+ content: "▋";
594
+ animation: blink 1s steps(1) infinite;
595
+ opacity: 0.7;
596
+ display: none;
597
+ }
598
+
599
+ @keyframes blink {
600
+ 60% {
601
+ visibility: hidden;
602
+ }
603
+ } */
604
+
605
+ br {
606
+ display: block;
607
+ margin: 3px 0;
608
+ }
609
+
610
+ textarea {
611
+ width: 100%;
612
+ resize: vertical;
613
+ display: block;
614
+ background-color: var(--black30a);
615
+ outline: none;
616
+ border: 1px solid var(--white30a);
617
+ border-radius: 10px;
618
+ color: var(--white70a);
619
+ font-size: var(--mainFontSize);
620
+ font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
621
+ padding: 5px 10px;
622
+ scrollbar-width: thin;
623
+ }
624
+
625
+ input,
626
+ select {
627
+ font-size: var(--mainFontSize);
628
+ }
629
+
630
+ #send_textarea {
631
+ /* font-size: 1rem;
632
+ line-height: 1.5rem;*/
633
+ min-height: 40px;
634
+ max-height: 50svh;
635
+ word-wrap: break-word;
636
+ height: 40px;
637
+ resize: vertical;
638
+ display: block;
639
+ background-color: rgba(255, 0, 0, 0);
640
+ border: 0;
641
+ box-shadow: none;
642
+ padding: 6px;
643
+ font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
644
+ margin: 0;
645
+ text-shadow: #000 0 0 3px;
646
+ flex: 1;
647
+ }
648
+
649
+ #send_textarea::placeholder,
650
+ .text_pole::placeholder {
651
+ color: var(--white70a)
652
+ }
653
+
654
+ #rm_ch_create_block textarea {
655
+ min-height: 200px;
656
+ }
657
+
658
+ .margin-bot-10px {
659
+ margin-bottom: 10px;
660
+ }
661
+
662
+ #description_textarea {
663
+ height: -webkit-fill-available;
664
+ width: -moz-available;
665
+ }
666
+
667
+ #character_name_pole {
668
+ margin-bottom: 0;
669
+ }
670
+
671
+ #character_cross,
672
+ #world_cross,
673
+ #select_chat_cross {
674
+ position: absolute;
675
+ right: 15px;
676
+ top: 15px;
677
+ width: 20px;
678
+ height: 20px;
679
+ cursor: pointer;
680
+ opacity: 0.6;
681
+ font-size: 24px;
682
+ }
683
+
684
+ #firstmessage_textarea {
685
+ height: -webkit-fill-available;
686
+ width: -moz-available;
687
+ }
688
+
689
+ .text_pole {
690
+ background-color: var(--black30a);
691
+ color: var(--white70a);
692
+ border: 1px solid var(--white30a);
693
+ border-radius: 10px;
694
+ font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
695
+
696
+ padding: 7px;
697
+ width: 100%;
698
+ margin: 5px 0;
699
+ }
700
+
701
+ h3 {
702
+ margin: 10px 0;
703
+ }
704
+
705
+ #top-bar h3 {
706
+ margin: 0;
707
+ padding: 10px 0;
708
+ }
709
+
710
+ #top-bar h4 {
711
+ margin: 0;
712
+ padding: 5px 0;
713
+ }
714
+
715
+ input:focus,
716
+ textarea:focus,
717
+ select:focus {
718
+ outline: none;
719
+ }
720
+
721
+ input[type="file"] {
722
+ display: none;
723
+ }
724
+
725
+ #right-nav-panel-tabs {
726
+ margin-top: 5px;
727
+ margin-bottom: 10px;
728
+ margin-left: 5px;
729
+ margin-right: 5px;
730
+ width: 100%;
731
+ max-height: 30px;
732
+ display: flex;
733
+ align-items: center;
734
+ padding: 0 5px;
735
+ }
736
+
737
+ #right-nav-panel-tabs .right_menu_button:last-of-type {
738
+ padding-right: 0;
739
+ }
740
+
741
+ /* ##################################################################### */
742
+ /* Right Panel's Upper Tabs */
743
+ /* ##################################################################### */
744
+
745
+ .right_menu_button {
746
+ display: block;
747
+ cursor: pointer;
748
+ text-align: center;
749
+ padding-right: 20px;
750
+ margin-top: 0;
751
+ filter: grayscale(1) brightness(75%);
752
+ -webkit-transition: all 0.5s ease-in-out;
753
+ transition: all 0.5s ease-in-out;
754
+ }
755
+
756
+ .right_menu_button:hover {
757
+ filter: brightness(150%) grayscale(1);
758
+ }
759
+
760
+ #rm_button_characters,
761
+ #rm_button_panel_pin_div,
762
+ #lm_button_panel_pin_div {
763
+ font-size: 24px;
764
+ display: inline;
765
+ }
766
+
767
+ #rm_button_panel_pin_div,
768
+ #lm_button_panel_pin_div {
769
+ opacity: 0.5;
770
+ transition: 0.3s;
771
+ }
772
+
773
+ #rm_button_panel_pin_div:hover,
774
+ #lm_button_panel_pin_div:hover {
775
+ opacity: 1;
776
+ }
777
+
778
+ #lm_button_panel_pin_div {
779
+ text-align: start;
780
+ }
781
+
782
+ #rm_button_panel_pin,
783
+ #lm_button_panel_pin {
784
+ display: none;
785
+ }
786
+
787
+ #rm_button_panel_pin:checked+label,
788
+ #lm_button_panel_pin:checked+label {
789
+ display: inline;
790
+ }
791
+
792
+ #rm_button_panel_pin:checked+label .checked,
793
+ #lm_button_panel_pin:checked+label .checked {
794
+ display: inline;
795
+ }
796
+
797
+ #rm_button_panel_pin:checked+label .unchecked,
798
+ #lm_button_panel_pin:checked+label .unchecked {
799
+ display: none;
800
+ }
801
+
802
+ #rm_button_panel_pin:not(:checked)+label .checked,
803
+ #lm_button_panel_pin:not(:checked)+label .checked {
804
+ display: none;
805
+ }
806
+
807
+ #rm_button_panel_pin:not(:checked)+label .unchecked,
808
+ #lm_button_panel_pin:not(:checked)+label .unchecked {
809
+ display: inline;
810
+ }
811
+
812
+ #rm_button_selected_ch {
813
+ flex: 1;
814
+ overflow: hidden;
815
+ opacity: 0.5;
816
+ }
817
+
818
+ #rm_button_selected_ch:hover {
819
+ opacity: 1;
820
+ }
821
+
822
+ #rm_button_selected_ch h2 {
823
+ text-overflow: ellipsis;
824
+ overflow: hidden;
825
+ text-align: left;
826
+ white-space: nowrap;
827
+ }
828
+
829
+ .selected-right-tab {
830
+ filter: brightness(150%);
831
+ }
832
+
833
+ /* ####################################################################### */
834
+
835
+ #characloud_url {
836
+ opacity: 0.3;
837
+ }
838
+
839
+ #characloud_url img {
840
+ width: 25px;
841
+ }
842
+
843
+ #rm_print_characters_block {
844
+ padding: 5px 0;
845
+ overflow-y: auto;
846
+ flex-grow: 1;
847
+ display: flex;
848
+ flex-direction: column;
849
+ }
850
+
851
+ #rm_ch_create_block {
852
+ display: none;
853
+ overflow-y: auto;
854
+ padding: 0 5px;
855
+ }
856
+
857
+ #rm_extensions_block {
858
+ display: none;
859
+ overflow-y: auto;
860
+ }
861
+
862
+ /* ################################################################*/
863
+ /* CUSTOMIZE THE DROPDOWN SELECT COLORS FOR RIGHT MENU
864
+ /*#################################################################*/
865
+
866
+ select {
867
+ color: var(--white70a);
868
+ padding: 7px;
869
+ background-color: var(--black30a);
870
+ border: 1px solid var(--white30a);
871
+ border-radius: 10px;
872
+ margin-bottom: 10px;
873
+ height: min-content;
874
+ }
875
+
876
+ select option {
877
+ /* works to highlight selected/active option */
878
+ background-color: var(--white50a);
879
+ color: var(--black70a);
880
+
881
+ }
882
+
883
+ select option:not(:checked) {
884
+ /* works to color unselected items */
885
+ background-color: var(--black70a);
886
+ color: var(--white70a);
887
+ }
888
+
889
+ /*#######################################################################*/
890
+
891
+ #rm_api_block {
892
+ display: none;
893
+ overflow-y: auto;
894
+ }
895
+
896
+ .API-logo {
897
+ margin: 0 auto;
898
+ width: min-content;
899
+ opacity: 0.5;
900
+ }
901
+
902
+ .oobabooga_logo {
903
+ margin: 5px auto;
904
+ text-align: center;
905
+ }
906
+
907
+ .menu_button.disabled {
908
+ filter: brightness(50%);
909
+ cursor: not-allowed;
910
+ }
911
+
912
+
913
+ #api_url_text,
914
+ #textgenerationwebui_api_url_text {
915
+ /*margin-right: 4px;*/
916
+ display: block;
917
+ }
918
+
919
+ #textgenerationwebui_api pre {
920
+ display: inline;
921
+ }
922
+
923
+ #api_button:hover,
924
+ #api_button_novel:hover,
925
+ #api_button_textgenerationwebui:hover,
926
+ #poe_connect:hover {
927
+ background-color: green;
928
+ }
929
+
930
+ .api-load-icon {
931
+ font-size: 24px;
932
+ display: none;
933
+ }
934
+
935
+ #rm_characters_block {
936
+ display: flex;
937
+ overflow-y: auto;
938
+ flex-direction: column;
939
+ /* visibility: hidden; */
940
+ }
941
+
942
+ #rm_characters_block .right_menu_button {
943
+ padding-right: 15px;
944
+ }
945
+
946
+ #rm_characters_topbar {
947
+ display: flex;
948
+ flex-direction: column;
949
+ }
950
+
951
+ #rm_characters_topbar_buttons {
952
+ margin-top: 0;
953
+ margin-bottom: 10px;
954
+ display: flex;
955
+ flex-direction: row;
956
+ align-items: baseline;
957
+ }
958
+
959
+ #rm_characters_topbar_expander {
960
+ flex-grow: 1;
961
+ }
962
+
963
+ #form_character_search_form {
964
+ display: flex;
965
+ flex-direction: row;
966
+ align-items: center;
967
+ margin: 10px 5px;
968
+ column-gap: 10px;
969
+ }
970
+
971
+ #character_sort_order {
972
+ margin: 0;
973
+ flex: 1;
974
+ }
975
+
976
+ #character_search_bar {
977
+ flex: 1;
978
+ padding-left: 0.75em;
979
+ margin: 0;
980
+ }
981
+
982
+ input[type=search]::-webkit-search-cancel-button {
983
+ -webkit-appearance: none;
984
+ height: 1em;
985
+ width: 1em;
986
+ border-radius: 50em;
987
+ background: url('/img/times-circle.svg') no-repeat 50% 50%;
988
+ background-size: contain;
989
+ opacity: 0;
990
+ pointer-events: none;
991
+ cursor: pointer;
992
+ }
993
+
994
+ input[type=search]:focus::-webkit-search-cancel-button {
995
+ opacity: .3;
996
+ pointer-events: all;
997
+ }
998
+
999
+ .character_select {
1000
+ padding: 5px;
1001
+ border-radius: 10px;
1002
+ cursor: pointer;
1003
+ display: grid;
1004
+ grid-template-columns: 67px auto;
1005
+ }
1006
+
1007
+ .character_select .ch_name {
1008
+ margin-left: 10px;
1009
+ margin-top: 5px;
1010
+ /* transform: translateY(25%); */
1011
+ overflow: hidden;
1012
+ text-overflow: ellipsis;
1013
+ align-self: center;
1014
+ }
1015
+
1016
+ .character_select:hover {
1017
+ background-color: var(--white30a);
1018
+ }
1019
+
1020
+ #avatar_url_div {
1021
+ display: none;
1022
+ }
1023
+
1024
+ #selected_chat_div {
1025
+ display: none;
1026
+ }
1027
+
1028
+ #create_date_div {
1029
+ display: none;
1030
+ }
1031
+
1032
+ #last_mes_div {
1033
+ display: none;
1034
+ }
1035
+
1036
+ /*LEFT SIDE BG MENU*/
1037
+
1038
+ #logo_block {
1039
+ z-index: 3001;
1040
+ }
1041
+
1042
+ #bg_menu {
1043
+ cursor: pointer;
1044
+ position: fixed;
1045
+ z-index: 3001;
1046
+ }
1047
+
1048
+ #bg_menu_content {
1049
+ margin-top: 5px;
1050
+ display: flex;
1051
+ flex-wrap: wrap;
1052
+ width: calc(var(--sheldWidth) - 10px);
1053
+ max-width: 100svw;
1054
+ justify-content: space-evenly;
1055
+ }
1056
+
1057
+ .bg_example {
1058
+ width: 23%;
1059
+ background-repeat: no-repeat;
1060
+ background-size: cover;
1061
+ background-position: center;
1062
+ border-radius: 20px;
1063
+ border: 1px solid var(--black50a);
1064
+ box-shadow: 0 0 7px var(--black50a);
1065
+ margin: 5px;
1066
+ cursor: pointer;
1067
+ aspect-ratio: 16/9;
1068
+ }
1069
+
1070
+ .bg_example_cross {
1071
+ width: 15px;
1072
+ height: 15px;
1073
+ position: relative;
1074
+ float: right;
1075
+ right: 10px;
1076
+ top: 5px;
1077
+ cursor: pointer;
1078
+ opacity: 0.7;
1079
+ border-radius: 50%;
1080
+ font-size: 20px;
1081
+ color: var(--black70a);
1082
+ text-shadow: none;
1083
+ padding: 0;
1084
+ margin: 0;
1085
+ filter: drop-shadow(0px 0px 3px white);
1086
+ }
1087
+
1088
+ .no-border {
1089
+ border: none !important;
1090
+ }
1091
+
1092
+ .no-shadow {
1093
+ box-shadow: none !important;
1094
+ }
1095
+
1096
+ .add_bg_but {
1097
+ cursor: pointer;
1098
+ opacity: 0.1;
1099
+ height: 100%;
1100
+ width: 100%;
1101
+ }
1102
+
1103
+ .input-file {
1104
+ display: flex;
1105
+ justify-content: center;
1106
+ align-items: center;
1107
+ height: 100%;
1108
+ }
1109
+
1110
+
1111
+ #form_create {
1112
+ display: grid;
1113
+ height: 100%;
1114
+ overflow-y: auto;
1115
+ grid-template-rows:
1116
+ [avatar] min-content [hr] min-content [descriptionHeader] min-content [description] auto [firstmessageHeader] min-content [firstMessage] auto [hidden] min-content;
1117
+ }
1118
+
1119
+ .avatar_div {
1120
+ display: flex;
1121
+ width: 100%;
1122
+ flex-wrap: wrap;
1123
+ margin-top: 16px;
1124
+ margin-bottom: 10px;
1125
+ align-items: center;
1126
+ }
1127
+
1128
+ #user-settings-block h4,
1129
+ #user-settings-block h3 {
1130
+ margin: 10px 0;
1131
+ }
1132
+
1133
+ #avatar-and-name-block {
1134
+ justify-content: space-between;
1135
+ display: flex;
1136
+ flex: 0 0 100%;
1137
+ flex-wrap: wrap;
1138
+ margin-bottom: 4px;
1139
+ }
1140
+
1141
+ #description_div {
1142
+ position: relative;
1143
+ }
1144
+
1145
+ #name_div {
1146
+ width: 100%;
1147
+ }
1148
+
1149
+ #create_button {
1150
+ display: none;
1151
+ }
1152
+
1153
+ .avatar_div .avatar {
1154
+ margin-left: 4px;
1155
+ margin-right: 10px;
1156
+ height: 70px;
1157
+ width: 70px;
1158
+ display: inline-block;
1159
+ }
1160
+
1161
+ #first_message_div {
1162
+ position: relative;
1163
+ }
1164
+
1165
+
1166
+ #rm_characters_block .form_create_bottom_buttons_block {
1167
+ justify-content: space-evenly !important;
1168
+ flex-grow: 0;
1169
+ }
1170
+
1171
+ .form_create_bottom_buttons_block {
1172
+ display: flex;
1173
+ flex: 1;
1174
+ grid-template-columns: repeat(3, min-content);
1175
+ grid-gap: 10px;
1176
+ align-items: center;
1177
+ justify-content: end;
1178
+ flex-wrap: wrap;
1179
+ }
1180
+
1181
+ .form_create_bottom_buttons_block .menu_button {
1182
+ display: flex;
1183
+ justify-content: center;
1184
+ align-items: center;
1185
+ }
1186
+
1187
+ #rm_info_block {
1188
+ display: none;
1189
+ width: 100%;
1190
+ height: 80%;
1191
+ justify-content: center;
1192
+ flex-direction: column;
1193
+
1194
+ }
1195
+
1196
+ #rm_info_panel {
1197
+ font-size: calc(var(--mainFontSize) + .5rem);
1198
+ display: block;
1199
+ text-align: center;
1200
+ }
1201
+
1202
+ #rm_info_button {
1203
+ width: min-content;
1204
+ margin: 0 auto;
1205
+ }
1206
+
1207
+ #rm_info_avatar {
1208
+ display: flex;
1209
+ column-gap: 10px;
1210
+ width: fit-content;
1211
+ text-align: center;
1212
+ margin-left: auto;
1213
+ margin-right: auto;
1214
+ }
1215
+
1216
+ #delete_button {
1217
+ background-color: var(--crimson70a);
1218
+ }
1219
+
1220
+ #delete_button:hover {
1221
+ background-color: var(--fullred);
1222
+ }
1223
+
1224
+ #result_info {
1225
+ font-size: calc(var(--mainFontSize) - 0.2rem);
1226
+ font-weight: bold;
1227
+ }
1228
+
1229
+ /* Focus */
1230
+ #colab_popup {
1231
+
1232
+ width: 300px;
1233
+ height: 150px;
1234
+ position: absolute;
1235
+ z-index: 2060;
1236
+ margin-left: auto;
1237
+ margin-right: auto;
1238
+ left: 0;
1239
+ right: 0;
1240
+ text-align: center;
1241
+ margin-top: 36svh;
1242
+ box-shadow: 0 0 2px var(--black50a);
1243
+ padding: 4px;
1244
+ backdrop-filter: blur(var(--SmartThemeBlurStrength));
1245
+ background-color: var(--black70a);
1246
+ -webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
1247
+ border-radius: 10px;
1248
+ }
1249
+
1250
+ #dialogue_popup {
1251
+
1252
+ width: 300px;
1253
+ position: absolute;
1254
+ z-index: 9999;
1255
+ margin-left: auto;
1256
+ margin-right: auto;
1257
+ left: 0;
1258
+ right: 0;
1259
+ top: 50%;
1260
+ transform: translateY(-50%);
1261
+ text-align: center;
1262
+ box-shadow: 0 0 5px 5px var(--fullred);
1263
+ padding: 4px;
1264
+ background-color: var(--black70a);
1265
+ border-radius: 10px;
1266
+ }
1267
+
1268
+ #dialogue_popup_ok {
1269
+ display: inline-block;
1270
+ margin-right: 20px;
1271
+ background-color: var(--crimson70a);
1272
+ cursor: pointer;
1273
+ }
1274
+
1275
+ #dialogue_popup_input {
1276
+ width: 100%;
1277
+ }
1278
+
1279
+ #dialogue_popup_cancel {
1280
+ display: inline-block;
1281
+ margin-left: 20px;
1282
+ cursor: pointer;
1283
+ }
1284
+
1285
+ #dialogue_del_mes {
1286
+ width: 100%;
1287
+ margin-left: auto;
1288
+ margin-right: auto;
1289
+ margin-top: 4px;
1290
+ text-align: center;
1291
+ padding: 0;
1292
+ height: min-content;
1293
+ }
1294
+
1295
+ #dialogue_del_mes_ok {
1296
+ /*changes background of OK button in the deletion menu*/
1297
+ display: inline-block;
1298
+ background-color: var(--crimson70a);
1299
+ cursor: pointer;
1300
+ }
1301
+
1302
+ #dialogue_del_mes_cancel {
1303
+ display: inline-block;
1304
+ cursor: pointer;
1305
+ }
1306
+
1307
+ .menu_button {
1308
+ /* font-weight: bold; */
1309
+ color: var(--white70);
1310
+ background-color: var(--black50a);
1311
+ border: 1px solid var(--white30a);
1312
+ border-radius: 10px;
1313
+ padding: 10px;
1314
+ width: min-content;
1315
+ cursor: pointer;
1316
+ margin: 5px 0;
1317
+ transition: 0.3s;
1318
+ }
1319
+
1320
+ .avatar_div .menu_button,
1321
+ .form_create_bottom_buttons_block .menu_button,
1322
+ #select_chat_popup .menu_button {
1323
+ font-weight: bold;
1324
+ padding: 5px;
1325
+ margin: 0;
1326
+ height: 40px;
1327
+ filter: grayscale(0.5);
1328
+ text-align: center;
1329
+ font-size: 24px;
1330
+ aspect-ratio: 1 / 1;
1331
+ }
1332
+
1333
+ .menu_button:hover {
1334
+ background-color: var(--white30a);
1335
+ }
1336
+
1337
+
1338
+
1339
+
1340
+
1341
+ #dialogue_del_mes .menu_button {
1342
+
1343
+ margin-left: 25px;
1344
+ margin-right: 25px;
1345
+ }
1346
+
1347
+ #shadow_popup {
1348
+ backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2));
1349
+ -webkit-backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2));
1350
+ background-color: var(--black70a);
1351
+ display: none;
1352
+ opacity: 0.0;
1353
+ position: absolute;
1354
+ width: 100%;
1355
+ height: 100svh;
1356
+ z-index: 9999;
1357
+ top: 0;
1358
+ }
1359
+
1360
+ #colab_shadow_popup {
1361
+
1362
+ backdrop-filter: blur(var(--SmartThemeBlurStrength));
1363
+ -webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
1364
+ background-color: var(--black30a);
1365
+ display: none;
1366
+ opacity: 1.0;
1367
+ position: absolute;
1368
+ width: 100%;
1369
+ height: 100svh;
1370
+ z-index: 2298;
1371
+ }
1372
+
1373
+ #bgtest {
1374
+ display: none;
1375
+ width: 100svw;
1376
+ height: 100svh;
1377
+ position: absolute;
1378
+ z-index: -100;
1379
+ background-color: red;
1380
+ }
1381
+
1382
+ /* ------ online status indicators and texts. 2 = kobold AI, 3 = Novel AI ----------*/
1383
+ #online_status2,
1384
+ .online_status4 {
1385
+ opacity: 0.5;
1386
+ margin-top: 2px;
1387
+ margin-bottom: 15px;
1388
+ }
1389
+
1390
+ #online_status_indicator2,
1391
+ .online_status_indicator4 {
1392
+ border-radius: 7px;
1393
+ width: 14px;
1394
+ height: 14px;
1395
+ background-color: red;
1396
+ display: inline-block;
1397
+ }
1398
+
1399
+ #online_status_text2,
1400
+ .online_status_text4 {
1401
+ margin-left: 4px;
1402
+ display: inline-block;
1403
+ }
1404
+
1405
+ #online_status3 {
1406
+ opacity: 0.5;
1407
+ margin-top: 2px;
1408
+
1409
+ margin-bottom: 30px;
1410
+ }
1411
+
1412
+ #online_status_indicator3 {
1413
+ border-radius: 7px;
1414
+ width: 14px;
1415
+ height: 14px;
1416
+ background-color: red;
1417
+ display: inline-block;
1418
+ }
1419
+
1420
+ #online_status_text3 {
1421
+ margin-left: 4px;
1422
+ display: inline-block;
1423
+ }
1424
+
1425
+ .horde_model_title {
1426
+ display: flex;
1427
+ flex-direction: row;
1428
+ align-items: center;
1429
+ column-gap: 20px;
1430
+ }
1431
+
1432
+
1433
+ #softprompt {
1434
+ margin-bottom: 10px;
1435
+ }
1436
+
1437
+ /* hidden until we find out a way to handle it better */
1438
+ #softprompt_block {
1439
+ display: none;
1440
+ }
1441
+
1442
+ #world_info {
1443
+ margin-bottom: 0;
1444
+ }
1445
+
1446
+ #world_info_block {
1447
+ display: flex;
1448
+ align-items: center;
1449
+ justify-content: space-between;
1450
+ }
1451
+
1452
+ #world_import_button,
1453
+ #world_create_button {
1454
+ cursor: pointer;
1455
+ display: inline-block;
1456
+ padding: 0;
1457
+ margin: 0;
1458
+ }
1459
+
1460
+ #world_import_button h4,
1461
+ #world_create_button h4 {
1462
+ margin-top: auto;
1463
+ margin-bottom: auto;
1464
+ margin-left: 1rem;
1465
+
1466
+ }
1467
+
1468
+ #world_popup {
1469
+ display: none;
1470
+ background-color: var(--SmartThemeBlurTintColor);
1471
+ backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2));
1472
+ max-width: var(--sheldWidth);
1473
+ height: calc(100% - 40px);
1474
+ position: absolute;
1475
+ margin-left: auto;
1476
+ margin-right: auto;
1477
+ left: 0;
1478
+ right: 0;
1479
+ top: 40px;
1480
+ box-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
1481
+ padding: 4px;
1482
+ /*border: 1px solid #333333;*/
1483
+ flex-direction: column;
1484
+ z-index: 3010;
1485
+ border-radius: 0 0 20px 20px;
1486
+ }
1487
+
1488
+ #world_popup_bottom_holder {
1489
+ padding: 0.5rem 0;
1490
+ margin: 0 18px;
1491
+ display: flex;
1492
+ flex-direction: row;
1493
+ justify-content: flex-end;
1494
+ align-items: center;
1495
+ }
1496
+
1497
+ #world_popup_bottom_holder div {
1498
+ cursor: pointer;
1499
+ width: fit-content;
1500
+ user-select: none;
1501
+ opacity: 0.8;
1502
+ }
1503
+
1504
+ #world_popup_bottom_holder div:not(:first-of-type) {
1505
+ margin-left: 1rem;
1506
+ }
1507
+
1508
+ #world_info_buttons {
1509
+ margin-left: 1rem;
1510
+ }
1511
+
1512
+ #entry_edit_template {
1513
+ display: none !important;
1514
+ }
1515
+
1516
+ .world_entry:not(:last-child)::after {
1517
+ margin-top: 1rem;
1518
+ height: 1px;
1519
+ display: block;
1520
+ width: 100%;
1521
+ content: '';
1522
+ background-image: linear-gradient(270deg, rgba(0, 0, 0, 0), rgba(100, 100, 100, 0.75), rgba(0, 0, 0, 0));
1523
+ }
1524
+
1525
+ .world_popup_logo_block {
1526
+ display: flex;
1527
+ align-items: center;
1528
+ }
1529
+
1530
+ #world_popup_header {
1531
+ display: flex;
1532
+ flex-direction: row;
1533
+ align-items: center;
1534
+ margin-left: 18px;
1535
+ }
1536
+
1537
+ #world_popup_header h3 {
1538
+ margin: 0;
1539
+ }
1540
+
1541
+ #form_rename_world {
1542
+ display: flex;
1543
+ align-items: center;
1544
+ margin-right: 50px;
1545
+ opacity: 0.8;
1546
+ }
1547
+
1548
+ #form_rename_world input[type="submit"] {
1549
+ cursor: pointer;
1550
+ }
1551
+
1552
+ #form_rename_world input:not(:last-child) {
1553
+ margin-right: 10px;
1554
+ }
1555
+
1556
+ #world_popup_header h5 {
1557
+ display: inline-block;
1558
+ }
1559
+
1560
+ .world_popup_expander {
1561
+ flex-grow: 1;
1562
+ }
1563
+
1564
+ #world_popup_entries_list {
1565
+ flex-grow: 1;
1566
+ overflow-y: scroll;
1567
+ }
1568
+
1569
+ #world_popup_entries_list:empty {
1570
+ width: 100%;
1571
+ height: 100%;
1572
+ }
1573
+
1574
+ #world_popup_entries_list:empty::before {
1575
+ content: 'No entries exist. Try creating one!';
1576
+ font-size: calc(var(--mainFontSize) + .5rem);
1577
+ font-weight: bolder;
1578
+ width: 100%;
1579
+ height: 100%;
1580
+ display: flex;
1581
+ justify-content: center;
1582
+ align-items: center;
1583
+ opacity: 0.8;
1584
+ }
1585
+
1586
+ .world_entry_form_control {
1587
+ display: flex;
1588
+ flex-direction: column;
1589
+ margin: 0 10px;
1590
+ }
1591
+
1592
+ .world_entry_thin_controls {
1593
+ display: flex;
1594
+ flex-direction: row;
1595
+ }
1596
+
1597
+ .world_entry_thin_controls>div {
1598
+ flex: 1;
1599
+ }
1600
+
1601
+ .checkbox_fancy {
1602
+ cursor: pointer;
1603
+ }
1604
+
1605
+ .world_entry_form_control label {
1606
+ margin-left: 10px;
1607
+ }
1608
+
1609
+
1610
+ .world_entry_form_control label h4 {
1611
+ margin-bottom: 0px;
1612
+ margin-top: 0.5rem;
1613
+ }
1614
+
1615
+ .world_entry_form_control label h5 {
1616
+ margin-top: 3px;
1617
+ margin-bottom: 3px;
1618
+ }
1619
+
1620
+ .world_entry_form_control textarea {
1621
+ height: auto;
1622
+ width: auto;
1623
+ margin-top: 0;
1624
+ }
1625
+
1626
+ .world_entry_form_control.world_entry_form_horizontal {
1627
+ flex-direction: row;
1628
+ align-items: center;
1629
+ margin-top: 10px;
1630
+ }
1631
+
1632
+ .world_entry_form_control input[type=button] {
1633
+ cursor: pointer;
1634
+ }
1635
+
1636
+ .world_entry_form_horizontal h5 {
1637
+ margin: 0 1rem;
1638
+ }
1639
+
1640
+ .world_entry_form_control .checkbox {
1641
+ align-items: center;
1642
+ display: flex;
1643
+ flex-direction: row;
1644
+ column-gap: 10px;
1645
+ }
1646
+
1647
+ .world_entry_form_control .checkbox h4 {
1648
+ margin: 0;
1649
+ display: inline-block;
1650
+ }
1651
+
1652
+ .world_entry_form_radios label {
1653
+ margin-left: 0;
1654
+ }
1655
+
1656
+ .world_entry_form_radios h4 {
1657
+ display: inline;
1658
+ }
1659
+
1660
+ #world_cross {
1661
+ position: absolute;
1662
+ right: 15px;
1663
+ top: 15px;
1664
+ width: 20px;
1665
+ height: 20px;
1666
+ cursor: pointer;
1667
+ opacity: 0.6;
1668
+ }
1669
+
1670
+ #world_logo {
1671
+ width: 35px;
1672
+ height: 35px;
1673
+ margin-right: 0.5rem;
1674
+ }
1675
+
1676
+ #world_popup h5 {
1677
+ color: var(--grey70);
1678
+ }
1679
+
1680
+ /* STLYES FOR THE CHAT MESSAGE DELETION CHECKBOXES */
1681
+ /* --------------------------------------------------------------------------------------*/
1682
+
1683
+ /* checkboxes default to being hidden unless called by the delete mesasges option menu button, which uses JS to force them to be display:block*/
1684
+ .del_checkbox {
1685
+ display: none;
1686
+ opacity: 0.7;
1687
+ margin-top: 12px;
1688
+ margin-right: 12px;
1689
+ }
1690
+
1691
+ /*this hides the replacement for input form until Delete Messages mode is called*/
1692
+ #dialogue_del_mes {
1693
+ display: none;
1694
+ }
1695
+
1696
+ /*this is the default-shown div that is shown when message-deletion mode is NOT on, and hidden when JS calls message deletion mode*/
1697
+ .for_checkbox {
1698
+ display: block;
1699
+ }
1700
+
1701
+ input[type='checkbox']:not(#nav-toggle):not(#rm_button_panel_pin) {
1702
+ -webkit-appearance: none;
1703
+ -moz-appearance: none;
1704
+ appearance: none;
1705
+ outline: none;
1706
+ position: relative;
1707
+ width: var(--mainFontSize);
1708
+ height: var(--mainFontSize);
1709
+ overflow: hidden;
1710
+ border-radius: 3px;
1711
+ background-color: white;
1712
+ box-shadow: inset 0 0 3px 0 var(--black70a);
1713
+ cursor: pointer;
1714
+ }
1715
+
1716
+ /* the checkbox starts with a size 0 background of a checkmark */
1717
+ input[type='checkbox']:not(#nav-toggle):not(#rm_button_panel_pin):not(#lm_button_panel_pin)::after {
1718
+ content: '';
1719
+ color: var(--white100);
1720
+ position: absolute;
1721
+ top: 1px;
1722
+ right: 1px;
1723
+ bottom: 1px;
1724
+ left: 1px;
1725
+ background-color: var(--transparent);
1726
+ background-size: contain;
1727
+ background-position: center center;
1728
+ background-repeat: no-repeat;
1729
+ border-radius: 2px;
1730
+ -webkit-transform: scale(0);
1731
+ transform: scale(0);
1732
+ -webkit-transition: 0.25s ease-in-out;
1733
+ transition: 0.25s ease-in-out;
1734
+ background-image: url("data:image/svg+xml;base64,PCEtLSBHZW5lcmF0ZWQgYnkgSWNvTW9vbi5pbyAtLT4KPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjQ0OCIgaGVpZ2h0PSI0NDgiIHZpZXdCb3g9IjAgMCA0NDggNDQ4Ij4KPHRpdGxlPjwvdGl0bGU+CjxnIGlkPSJpY29tb29uLWlnbm9yZSI+CjwvZz4KPHBhdGggZD0iTTQxNy43NSAxNDEuNWMwIDYuMjUtMi41IDEyLjUtNyAxN2wtMjE1IDIxNWMtNC41IDQuNS0xMC43NSA3LTE3IDdzLTEyLjUtMi41LTE3LTdsLTEyNC41LTEyNC41Yy00LjUtNC41LTctMTAuNzUtNy0xN3MyLjUtMTIuNSA3LTE3bDM0LTM0YzQuNS00LjUgMTAuNzUtNyAxNy03czEyLjUgMi41IDE3IDdsNzMuNSA3My43NSAxNjQtMTY0LjI1YzQuNS00LjUgMTAuNzUtNyAxNy03czEyLjUgMi41IDE3IDdsMzQgMzRjNC41IDQuNSA3IDEwLjc1IDcgMTd6Ij48L3BhdGg+Cjwvc3ZnPgo=");
1735
+ }
1736
+
1737
+ /* when the checkbox is checked, the background image is grown to normal size to fill the background of the 'checkbox'*/
1738
+ input[type='checkbox']:not(#nav-toggle):not(#rm_button_panel_pin):not(#lm_button_panel_pin):checked::after {
1739
+ -webkit-transform: scale(1);
1740
+ transform: scale(1);
1741
+ }
1742
+
1743
+ /*---------------------------------------------------------------------------------------------------------*/
1744
+
1745
+ .option_select_right_menu {
1746
+ width: 284px;
1747
+ margin-bottom: 35px;
1748
+ color: var(--white70a);
1749
+ background-color: var(--black30a);
1750
+ }
1751
+
1752
+ #user_avatar_block {
1753
+ display: flex;
1754
+ grid-gap: 10px;
1755
+ flex-wrap: wrap;
1756
+ }
1757
+
1758
+ #user_avatar_block .avatar {
1759
+ cursor: pointer;
1760
+ width: 64px;
1761
+ height: 64px;
1762
+ outline: 2px solid rgba(255, 255, 255, 0.7);
1763
+ border-radius: 50%;
1764
+ }
1765
+
1766
+ #user_avatar_block .avatar:not(.selected) {
1767
+ outline: 2px solid transparent;
1768
+ }
1769
+
1770
+ #user_avatar_block .avatar img {
1771
+ width: 64px;
1772
+ height: 64px;
1773
+ }
1774
+
1775
+ #user_avatar_block .avatar_upload {
1776
+ cursor: pointer;
1777
+ width: 60px;
1778
+ height: 60px;
1779
+ background: var(--grey30);
1780
+ border-radius: 100%;
1781
+ display: flex;
1782
+ justify-content: center;
1783
+ align-items: center;
1784
+ /*this is just a big + sign, no need to dynamically size it*/
1785
+ font-size: 3rem;
1786
+ }
1787
+
1788
+ #form_upload_avatar {
1789
+ display: none !important;
1790
+ }
1791
+
1792
+ .range-block {
1793
+ height: min-content;
1794
+ display: flex;
1795
+ flex-wrap: wrap;
1796
+ align-items: center;
1797
+ margin-bottom: 10px;
1798
+ justify-content: space-between;
1799
+ }
1800
+
1801
+ .range-block-title {
1802
+ margin: 0;
1803
+ padding: 0;
1804
+ width: 100%;
1805
+ text-align: center;
1806
+
1807
+ }
1808
+
1809
+ .range-block-counter {
1810
+ width: max-content;
1811
+ margin-left: 5px;
1812
+ font-size: calc(var(--mainFontSize) - 0.2rem);
1813
+ color: var(--white50a);
1814
+ }
1815
+
1816
+ .range-block-range {
1817
+ margin: 0;
1818
+ width: 80%;
1819
+ /* margin-bottom: 10px; */
1820
+ }
1821
+
1822
+ input[type="range"] {
1823
+ -webkit-appearance: none;
1824
+ appearance: none;
1825
+ margin: 0;
1826
+ padding: 0;
1827
+ width: 100%;
1828
+ height: 5px;
1829
+ background: var(--white50a);
1830
+ border-radius: 15px;
1831
+ background-size: 70% 100%;
1832
+ background-repeat: no-repeat;
1833
+ box-shadow: inset 0 0 2px black;
1834
+ }
1835
+
1836
+ input[type="range"]::-webkit-slider-thumb {
1837
+ -webkit-appearance: none;
1838
+ position: relative;
1839
+ box-shadow: 0 0 5px 0 black;
1840
+ box-shadow: inset 0 0 5px var(--black70a);
1841
+ -webkit-appearance: none;
1842
+ height: 15px;
1843
+ width: 15px;
1844
+ /* margin-top: -5px; */
1845
+ border-radius: 50%;
1846
+ background: var(--white100);
1847
+ }
1848
+
1849
+ /*Notes '?' links*/
1850
+
1851
+ .note-link-span {
1852
+ color: var(--sienna);
1853
+ border: 1px solid var(--sienna);
1854
+ border-radius: 10px;
1855
+ line-height: var(--mainFontSize);
1856
+ font-size: var(--mainFontSize);
1857
+ font-weight: 700;
1858
+ width: calc(var(--mainFontSize) + 0.2rem);
1859
+ height: calc(var(--mainFontSize) + 0.2rem);
1860
+ display: inline-block;
1861
+ opacity: 0.7;
1862
+ margin: 0 5px;
1863
+ text-align: center;
1864
+ box-shadow: 0 0 3px black;
1865
+ }
1866
+
1867
+
1868
+ .note-link-span:hover {
1869
+ color: var(--white100);
1870
+ background-color: var(--orangered);
1871
+ opacity: 1;
1872
+ }
1873
+
1874
+ #tips_popup {
1875
+
1876
+ width: 500px;
1877
+ height: 600px;
1878
+ position: absolute;
1879
+ z-index: 2060;
1880
+ background-color: var(--cobalt30a);
1881
+ margin-left: auto;
1882
+ margin-right: auto;
1883
+ left: 0;
1884
+ right: 0;
1885
+ text-align: center;
1886
+ margin-top: 15vh;
1887
+ box-shadow: 5px 5px var(--black30a);
1888
+ padding: 4px;
1889
+ backdrop-filter: blur(var(--SmartThemeBlurStrength));
1890
+ background-color: var(--black70a);
1891
+ -webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
1892
+ border-radius: 10px;
1893
+ padding-top: 30px;
1894
+ }
1895
+
1896
+ .nice-link {
1897
+ color: var(--SmartThemeBodyColor);
1898
+ opacity: 0.5;
1899
+ font-weight: 400;
1900
+ text-decoration: none;
1901
+ border-bottom: 2px dashed red;
1902
+ transition: 0.3s;
1903
+ }
1904
+
1905
+ .whitespacenowrap {
1906
+ white-space: nowrap;
1907
+ }
1908
+
1909
+ #chartokenwarning a {
1910
+ color: var(--SmartThemeBodyColor);
1911
+ }
1912
+
1913
+ .nice-link:hover {
1914
+ opacity: 1;
1915
+ }
1916
+
1917
+ #shadow_tips_popup {
1918
+ display: none;
1919
+ opacity: 0.0;
1920
+ position: absolute;
1921
+ width: 100%;
1922
+ height: 100svh;
1923
+ z-index: 2055;
1924
+ background-color: var(--black70a);
1925
+ -webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
1926
+ backdrop-filter: blur(var(--SmartThemeBlurStrength));
1927
+ }
1928
+
1929
+ .mes_stop {
1930
+ display: none;
1931
+ float: right;
1932
+ cursor: pointer;
1933
+ transition: opacity 0.3s ease-in-out;
1934
+ height: 20px;
1935
+ width: 20px;
1936
+ opacity: 0.5;
1937
+ }
1938
+
1939
+ .mes_edit {
1940
+ float: right;
1941
+ cursor: pointer;
1942
+ transition: 0.3s ease-in-out;
1943
+ height: 20px;
1944
+ width: 20px;
1945
+ filter: drop-shadow(0px 0px 2px black);
1946
+ opacity: 0.2;
1947
+ }
1948
+
1949
+ .mes_edit:hover,
1950
+ .mes_stop:hover {
1951
+ opacity: 1;
1952
+ }
1953
+
1954
+ .last_mes .mes_edit,
1955
+ .last_mes .mes_edit_buttons,
1956
+ .last_mes .mes_stop {
1957
+ grid-row-start: 1;
1958
+ position: relative;
1959
+ right: -30px;
1960
+ }
1961
+
1962
+ .mes_edit_buttons {
1963
+ display: none;
1964
+ flex-direction: row;
1965
+ column-gap: 5px;
1966
+ float: right;
1967
+ cursor: pointer;
1968
+ padding-bottom: 5px;
1969
+ filter: drop-shadow(0px 0px 2px black);
1970
+ transition: 0.3s ease-in-out;
1971
+ }
1972
+
1973
+ .mes_edit_buttons .menu_button {
1974
+ opacity: 0.5;
1975
+ padding: 0px;
1976
+ font-size: 1rem;
1977
+ height: 2rem;
1978
+ margin-top: 0;
1979
+ margin-bottom: 0;
1980
+ aspect-ratio: 1 / 1;
1981
+ display: flex;
1982
+ justify-content: center;
1983
+ align-items: center;
1984
+ }
1985
+
1986
+ .mes_edit_cancel.menu_button {
1987
+ background-color: var(--crimson70a);
1988
+ }
1989
+
1990
+ .mes_edit_done.menu_button {
1991
+ background-color: var(--okGreen70a);
1992
+ }
1993
+
1994
+ .mes_edit_buttons .menu_button:hover {
1995
+ opacity: 1;
1996
+ }
1997
+
1998
+ .edit_textarea {
1999
+ padding: 5px;
2000
+ margin: 0;
2001
+ outline: none;
2002
+ background-color: var(--black50a);
2003
+ line-height: calc(var(--mainFontSize) + .25rem);
2004
+ }
2005
+
2006
+ #anchor_order {
2007
+ margin-bottom: 15px;
2008
+ }
2009
+
2010
+ #anchor_checkbox,
2011
+ #power-user-option-checkboxes {
2012
+ display: flex;
2013
+ flex-direction: column;
2014
+ row-gap: 5px;
2015
+ }
2016
+
2017
+ #anchor_checkbox label,
2018
+ #power-user-option-checkboxes label,
2019
+ .checkbox_label,
2020
+ .multigen_settings_block {
2021
+ display: flex;
2022
+ flex-direction: row;
2023
+ column-gap: 5px;
2024
+ align-items: center;
2025
+ }
2026
+
2027
+ .multigen_settings_block {
2028
+ margin-top: 10px;
2029
+ }
2030
+
2031
+ .multigen_settings_block label {
2032
+ flex: 1;
2033
+ display: flex;
2034
+ flex-direction: column;
2035
+ }
2036
+
2037
+ #shadow_character_popup {
2038
+ backdrop-filter: blur(var(--SmartThemeBlurStrength));
2039
+ background-color: var(--black70a);
2040
+ -webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
2041
+ display: none;
2042
+ opacity: 1.0;
2043
+ position: absolute;
2044
+ width: 100%;
2045
+ height: 100svh;
2046
+ z-index: 2058;
2047
+ }
2048
+
2049
+ #character_popup {
2050
+ display: none;
2051
+ background-color: var(--black30a);
2052
+ backdrop-filter: blur(calc(var(--SmartThemeBlurStrength)*2));
2053
+ -webkit-backdrop-filter: blur(calc(var(--SmartThemeBlurStrength)*2));
2054
+ grid-template-rows: 50px 1fr 1fr 1fr 5fr;
2055
+ grid-gap: 10px;
2056
+ max-width: var(--sheldWidth);
2057
+ height: calc(100svh - 40px);
2058
+ position: absolute;
2059
+ z-index: 3002;
2060
+ margin-left: auto;
2061
+ margin-right: auto;
2062
+ left: 0;
2063
+ right: 0;
2064
+ top: 40px;
2065
+ box-shadow: 0 0 20px var(--black70a);
2066
+ padding-left: 30px;
2067
+ padding-right: 30px;
2068
+ padding-top: 20px;
2069
+ padding-bottom: 30px;
2070
+ border: 1px solid var(--black30a);
2071
+ border-radius: 0 0 20px 20px;
2072
+ }
2073
+
2074
+ #character_popup h3 {
2075
+ margin-top: 0;
2076
+ margin-bottom: 0;
2077
+ margin-left: 0;
2078
+ display: inline;
2079
+ }
2080
+
2081
+ h4 {
2082
+ margin: 10px 0;
2083
+ }
2084
+
2085
+ h5 {
2086
+ margin: 5px 0;
2087
+ }
2088
+
2089
+ #character_popup h5 {
2090
+ color: var(--grey50);
2091
+ }
2092
+
2093
+
2094
+ #character_popup_text {
2095
+ display: grid;
2096
+ grid-template-columns: 50px auto;
2097
+ grid-gap: 20px;
2098
+ align-items: center;
2099
+ width: 100%;
2100
+ }
2101
+
2102
+ #personality_textarea {
2103
+ width: 100%;
2104
+ }
2105
+
2106
+ #mes_example_div {
2107
+ height: 100%;
2108
+ display: grid;
2109
+ grid-template-rows: min-content auto;
2110
+ }
2111
+
2112
+ #scenario_pole {
2113
+ width: 100%;
2114
+ margin-left: 0;
2115
+ }
2116
+
2117
+ #mes_example_textarea {
2118
+ width: 100%;
2119
+ max-height: 100%;
2120
+ margin-left: 0;
2121
+ }
2122
+
2123
+ #character_popup_ok {
2124
+ cursor: pointer;
2125
+ display: none;
2126
+ height: 40px;
2127
+ margin-top: 15px;
2128
+ margin-left: 36px;
2129
+ backdrop-filter: blur(var(--SmartThemeBlurStrength));
2130
+ background-color: var(--black70a);
2131
+ -webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
2132
+ width: 110px;
2133
+ text-align: center;
2134
+ }
2135
+
2136
+ #shadow_select_chat_popup {
2137
+ display: none;
2138
+ opacity: 1.0;
2139
+ position: absolute;
2140
+ width: 100%;
2141
+ height: 100svh;
2142
+ z-index: 3001;
2143
+ top: 0;
2144
+ background-color: var(--black70a);
2145
+ backdrop-filter: blur(var(--SmartThemeBlurStrength));
2146
+ -webkit-backdrop-filter: blur(var(--SmartThemeBlurStrength));
2147
+ }
2148
+
2149
+ #select_chat_popup {
2150
+ display: grid;
2151
+ grid-template-rows: auto auto;
2152
+ max-width: var(--sheldWidth);
2153
+ height: min-content;
2154
+ max-height: calc(100svh - 40px);
2155
+ min-height: 100px;
2156
+ position: absolute;
2157
+ z-index: 2066;
2158
+ margin-left: auto;
2159
+ margin-right: auto;
2160
+ left: 0;
2161
+ right: 0;
2162
+ top: 0;
2163
+ bottom: 0;
2164
+ margin-top: auto;
2165
+ margin-bottom: auto;
2166
+ /* margin-top: 40px; */
2167
+ box-shadow: 0px 0px 20px black;
2168
+ padding: 10px;
2169
+ background-color: var(--SmartThemeBlurTintColor);
2170
+ border-radius: 20px;
2171
+ overflow-y: auto;
2172
+ border: 1px solid var(--grey30);
2173
+ }
2174
+
2175
+ .TxtLrgBoldCenter {
2176
+ text-align: center;
2177
+ font-size: large;
2178
+ font-weight: 600;
2179
+ }
2180
+
2181
+ #export_div {
2182
+ cursor: pointer;
2183
+ }
2184
+
2185
+ #load_select_chat_div {
2186
+ position: absolute;
2187
+ bottom: 154px;
2188
+ left: 174px;
2189
+ }
2190
+
2191
+ #load_select_chat_div img {
2192
+ width: 80px;
2193
+ height: 80px;
2194
+ }
2195
+
2196
+ #select_chat_div {
2197
+ padding: 0;
2198
+ height: min-content;
2199
+ }
2200
+
2201
+ #select_chat_div hr {
2202
+ margin: 0;
2203
+ }
2204
+
2205
+ #select_chat_import {
2206
+ display: grid;
2207
+ grid-template-columns: min-content auto;
2208
+ align-items: center;
2209
+ grid-gap: 10px;
2210
+ margin-bottom: 10px;
2211
+ }
2212
+
2213
+ .select_chat_block_wrapper {
2214
+ display: grid;
2215
+ grid-template-columns: auto min-content;
2216
+ align-items: center;
2217
+ grid-gap: 10px;
2218
+ }
2219
+
2220
+ .select_chat_block {
2221
+ border-radius: 10px;
2222
+ margin-top: 10px;
2223
+ border: 1px solid var(--white30a);
2224
+ padding: 10px;
2225
+ display: grid;
2226
+ grid-template-columns: min-content auto;
2227
+ grid-template-rows: auto auto;
2228
+ grid-gap: 10px;
2229
+ }
2230
+
2231
+ .select_chat_block:hover {
2232
+ background-color: var(--white30a);
2233
+ }
2234
+
2235
+ .select_chat_block[highlight] {
2236
+ background-color: var(--cobalt30a);
2237
+ }
2238
+
2239
+ .select_chat_block .avatar {
2240
+
2241
+ grid-row: span 2;
2242
+ }
2243
+
2244
+ .select_chat_block_filename {
2245
+ opacity: 0.5;
2246
+ }
2247
+
2248
+ .select_chat_block_mes {
2249
+ font-size: calc(var(--mainFontSize) - .25rem);
2250
+ }
2251
+
2252
+ #select_chat_cross {
2253
+ position: absolute;
2254
+ right: 15px;
2255
+ top: 15px;
2256
+ width: 20px;
2257
+ height: 20px;
2258
+ cursor: pointer;
2259
+ opacity: 0.6;
2260
+ }
2261
+
2262
+ .PastChat_cross {
2263
+ width: 15px;
2264
+ height: 15px;
2265
+ cursor: pointer;
2266
+ opacity: 0.4;
2267
+ }
2268
+
2269
+ .PastChat_cross:hover {
2270
+ color: red;
2271
+ filter: drop-shadow(0 0 2px red);
2272
+ }
2273
+
2274
+ #advanced_book_logo {
2275
+ width: 35px;
2276
+ height: 35px;
2277
+ display: inline-block;
2278
+ }
2279
+
2280
+ #export_character_div {
2281
+ display: grid;
2282
+ grid-template-columns: 340px auto;
2283
+ }
2284
+
2285
+ /* GROUP CHATS */
2286
+
2287
+ #rm_group_top_bar {
2288
+ display: flex;
2289
+ flex-direction: row;
2290
+ align-items: center;
2291
+ width: 100%;
2292
+ column-gap: 15px;
2293
+ }
2294
+
2295
+ #rm_button_group_chats h2 {
2296
+ margin-top: auto;
2297
+ margin-bottom: auto;
2298
+ /* font-size: 16px; */
2299
+ color: rgb(188, 193, 200, 1);
2300
+ border: 1px solid #333;
2301
+ background-color: rgba(0, 0, 0, 0.3);
2302
+ padding: 6px;
2303
+ border-radius: 10px;
2304
+ }
2305
+
2306
+ #rm_group_chats_block {
2307
+ display: none;
2308
+ height: calc(100% - 45px);
2309
+ flex-direction: column;
2310
+ align-items: flex-start;
2311
+ padding: 0 5px;
2312
+ }
2313
+
2314
+ #rm_group_chats_block h3,
2315
+ #rm_group_chats_block h5 {
2316
+ margin-top: 5px;
2317
+ margin-bottom: 5px;
2318
+ }
2319
+
2320
+ #rm_group_chat_name {
2321
+ width: 90%;
2322
+ }
2323
+
2324
+ #rm_group_buttons {
2325
+ display: flex;
2326
+ flex-direction: row;
2327
+ width: 100%;
2328
+ align-items: center;
2329
+ column-gap: 10px;
2330
+ flex-wrap: wrap;
2331
+ padding: 0 5px;
2332
+ }
2333
+
2334
+ .rm_group_settings {
2335
+ display: flex;
2336
+ flex-direction: column;
2337
+ }
2338
+
2339
+ #rm_group_buttons .checkbox {
2340
+ display: flex;
2341
+ }
2342
+
2343
+ #rm_group_buttons .checkbox h4 {
2344
+ display: inline-block;
2345
+ }
2346
+
2347
+ #rm_group_buttons>input {
2348
+
2349
+ cursor: pointer;
2350
+ user-select: none;
2351
+ }
2352
+
2353
+ #rm_group_buttons>input:disabled {
2354
+ filter: brightness(0.3);
2355
+ cursor: unset;
2356
+ }
2357
+
2358
+ #rm_group_members,
2359
+ #rm_group_add_members {
2360
+ margin-top: 0.25rem;
2361
+ margin-bottom: 0.5rem;
2362
+ width: 100%;
2363
+ flex: 1;
2364
+ overflow: auto;
2365
+ display: flex;
2366
+ flex-direction: column;
2367
+ border: 1px solid grey;
2368
+ border-radius: 10px;
2369
+ background-color: var(--black30a);
2370
+ }
2371
+
2372
+ #rm_group_buttons_expander {
2373
+ flex-grow: 1;
2374
+ }
2375
+
2376
+ #rm_group_delete {
2377
+ color: rgb(190, 0, 0);
2378
+ }
2379
+
2380
+ #rm_group_members:empty {
2381
+ width: 100%;
2382
+ }
2383
+
2384
+ #rm_group_members:empty::before {
2385
+ content: 'Group is empty';
2386
+
2387
+ font-weight: bolder;
2388
+ width: 100%;
2389
+ height: 100%;
2390
+ display: flex;
2391
+ justify-content: center;
2392
+ align-items: center;
2393
+ opacity: 0.8;
2394
+ }
2395
+
2396
+ #rm_group_add_members:empty {
2397
+ width: 100%;
2398
+ }
2399
+
2400
+ #rm_group_add_members_header {
2401
+ display: flex;
2402
+ flex-direction: row;
2403
+ align-items: center;
2404
+ width: 100%;
2405
+ column-gap: 1rem;
2406
+ }
2407
+
2408
+ #rm_group_add_members_header input {
2409
+ flex: 1;
2410
+ width: 100%;
2411
+ }
2412
+
2413
+ #rm_group_add_members:empty::before {
2414
+ content: 'No characters available';
2415
+
2416
+ font-weight: bolder;
2417
+ width: 100%;
2418
+ height: 100%;
2419
+ display: flex;
2420
+ justify-content: center;
2421
+ align-items: center;
2422
+ opacity: 0.8;
2423
+ }
2424
+
2425
+ .group_member_icon {
2426
+ margin: 0 10px;
2427
+ display: flex;
2428
+ column-gap: 10px;
2429
+ align-items: center;
2430
+ }
2431
+
2432
+ .group_member {
2433
+ display: flex;
2434
+ flex-direction: row;
2435
+ align-items: center;
2436
+ width: 100%;
2437
+ padding: 5px;
2438
+ border-radius: 10px;
2439
+ }
2440
+
2441
+ .group_member .ch_name {
2442
+ flex-grow: 1;
2443
+ margin-left: 10px;
2444
+ overflow: hidden;
2445
+ text-overflow: ellipsis;
2446
+ width: calc(100% - 110px);
2447
+ }
2448
+
2449
+ /* Rules for icon display */
2450
+ #rm_group_members .group_member[order="start"] .fa-chevron-down,
2451
+ #rm_group_members .group_member[order="end"] .fa-chevron-up,
2452
+ #rm_group_add_members .right_menu_button:not(.fa-plus),
2453
+ #rm_group_members .fa-plus {
2454
+ display: none;
2455
+ }
2456
+
2457
+ #rm_group_members .right_menu_button,
2458
+ #rm_group_add_members .right_menu_button {
2459
+ padding: 0px;
2460
+ }
2461
+
2462
+ #group_member_template,
2463
+ #group_list_template {
2464
+ display: none !important;
2465
+ }
2466
+
2467
+ .group_select {
2468
+ display: flex;
2469
+ flex-direction: row;
2470
+ align-items: center;
2471
+ padding: 5px;
2472
+ border-radius: 10px;
2473
+ cursor: pointer;
2474
+ }
2475
+
2476
+ .group_select:hover {
2477
+ background-color: var(--white30a);
2478
+ }
2479
+
2480
+ .group_select .group_icon {
2481
+ width: 20px;
2482
+ height: 20px;
2483
+ margin: 0 10px;
2484
+ }
2485
+
2486
+ .group_select .ch_name {
2487
+ flex-grow: 1;
2488
+ max-width: calc(100% - 100px);
2489
+ overflow: hidden;
2490
+ text-overflow: ellipsis;
2491
+ }
2492
+
2493
+ #typing_indicator_template {
2494
+ display: none !important;
2495
+ }
2496
+
2497
+ .typing_indicator {
2498
+ position: sticky;
2499
+ bottom: 10px;
2500
+ margin: 10px;
2501
+ opacity: 0.85;
2502
+ text-shadow: 2px 2px 2px var(--black60a);
2503
+ }
2504
+
2505
+ .missing-avatar {
2506
+ font-size: 36px;
2507
+ }
2508
+
2509
+ .typing_indicator:after {
2510
+ display: inline-block;
2511
+ vertical-align: bottom;
2512
+ animation: ellipsis steps(4, end) 1500ms infinite;
2513
+ content: "";
2514
+ /* ascii code for the ellipsis character */
2515
+ width: 0px;
2516
+ }
2517
+
2518
+ .group_member .avatar {
2519
+ flex-shrink: 0;
2520
+ }
2521
+
2522
+ @keyframes ellipsis {
2523
+ 0% {
2524
+ content: ""
2525
+ }
2526
+
2527
+ 25% {
2528
+ content: "."
2529
+ }
2530
+
2531
+ 50% {
2532
+ content: ".."
2533
+ }
2534
+
2535
+ 75% {
2536
+ content: "..."
2537
+ }
2538
+ }
2539
+
2540
+ #group_avatars_template {
2541
+ display: none;
2542
+ }
2543
+
2544
+ .avatar_collage {
2545
+ border-radius: 50%;
2546
+ position: relative;
2547
+ overflow: hidden;
2548
+ }
2549
+
2550
+ body:not(.big-avatars) .avatar_collage {
2551
+ min-width: 50px;
2552
+ }
2553
+
2554
+ body.big-avatars .avatar_collage {
2555
+ min-width: 60px;
2556
+ }
2557
+
2558
+
2559
+ .avatar_collage img {
2560
+ position: absolute;
2561
+ overflow: hidden;
2562
+ }
2563
+
2564
+ body:not(.big-avatars) .avatar_collage img {
2565
+ border-radius: 0% !important;
2566
+ }
2567
+
2568
+ .collage_2 .img_1 {
2569
+ left: 0;
2570
+ top: 0;
2571
+ max-width: 50%;
2572
+ max-height: 100%;
2573
+ width: 50%;
2574
+ height: 100%;
2575
+ }
2576
+
2577
+ .collage_2 .img_2 {
2578
+ left: 50%;
2579
+ top: 0;
2580
+ max-width: 50%;
2581
+ max-height: 100%;
2582
+ width: 50%;
2583
+ height: 100%;
2584
+ }
2585
+
2586
+ .collage_3 .img_1 {
2587
+ left: 0;
2588
+ top: 0;
2589
+ max-width: 50%;
2590
+ max-height: 50%;
2591
+ width: 50%;
2592
+ height: 50%;
2593
+ }
2594
+
2595
+ .collage_3 .img_2 {
2596
+ left: 50%;
2597
+ top: 0;
2598
+ max-width: 50%;
2599
+ max-height: 50%;
2600
+ width: 50%;
2601
+ height: 50%;
2602
+ }
2603
+
2604
+ .collage_3 .img_3 {
2605
+ left: 0;
2606
+ top: 50%;
2607
+ max-width: 100%;
2608
+ max-height: 50%;
2609
+ width: 100%;
2610
+ height: 50%;
2611
+ }
2612
+
2613
+ .collage_4 .img_1 {
2614
+ left: 0;
2615
+ top: 0;
2616
+ max-width: 50%;
2617
+ max-height: 50%;
2618
+ width: 50%;
2619
+ height: 50%;
2620
+ }
2621
+
2622
+ .collage_4 .img_2 {
2623
+ left: 50%;
2624
+ top: 0;
2625
+ max-width: 50%;
2626
+ max-height: 50%;
2627
+ width: 50%;
2628
+ height: 50%;
2629
+ }
2630
+
2631
+ .collage_4 .img_3 {
2632
+ left: 0;
2633
+ top: 50%;
2634
+ max-width: 50%;
2635
+ max-height: 50%;
2636
+ width: 50%;
2637
+ height: 50%;
2638
+ }
2639
+
2640
+ .collage_4 .img_4 {
2641
+ left: 50%;
2642
+ top: 50%;
2643
+ max-width: 50%;
2644
+ max-height: 50%;
2645
+ width: 50%;
2646
+ height: 50%;
2647
+ }
2648
+
2649
+ /* border radius for big avatars collages */
2650
+
2651
+ body.big-avatars .collage_2 .img_1 {
2652
+ border-radius: 10px 0 0 10px !important;
2653
+ }
2654
+
2655
+ body.big-avatars .collage_2 .img_2 {
2656
+ border-radius: 0 10px 10px 0 !important;
2657
+ }
2658
+
2659
+ body.big-avatars .collage_3 .img_1 {
2660
+ border-radius: 10px 0 0 0 !important;
2661
+ }
2662
+
2663
+ body.big-avatars .collage_3 .img_2 {
2664
+ border-radius: 0 10px 0 0 !important;
2665
+ }
2666
+
2667
+ body.big-avatars .collage_3 .img_3 {
2668
+ border-radius: 0 0 10px 10px !important;
2669
+ }
2670
+
2671
+ body.big-avatars .collage_4 .img_1 {
2672
+ border-radius: 10px 0 0 0 !important;
2673
+ }
2674
+
2675
+ body.big-avatars .collage_4 .img_2 {
2676
+ border-radius: 0 10px 0 0 !important;
2677
+ }
2678
+
2679
+ body.big-avatars .collage_4 .img_3 {
2680
+ border-radius: 0 0 0 10px !important;
2681
+ }
2682
+
2683
+ body.big-avatars .collage_4 .img_4 {
2684
+ border-radius: 0 0 10px 0 !important;
2685
+ }
2686
+
2687
+ span.warning {
2688
+ color: rgba(255, 0, 0, 0.5);
2689
+ font-weight: bolder;
2690
+ }
2691
+
2692
+ #talkativeness_hint {
2693
+ display: flex;
2694
+ flex-direction: row;
2695
+ align-items: baseline;
2696
+ justify-content: space-between;
2697
+ width: 100%;
2698
+ }
2699
+
2700
+ #talkativeness_expander {
2701
+ flex: 1;
2702
+ }
2703
+
2704
+
2705
+ #talkativeness_div input[type="range"] {
2706
+ width: 100%;
2707
+ }
2708
+
2709
+ #talkativeness_hint span {
2710
+ min-width: 10em;
2711
+ font-size: calc(var(--mainFontSize) - .25rem);
2712
+ }
2713
+
2714
+ #talkativeness_hint span:nth-child(1) {
2715
+ text-align: left;
2716
+ }
2717
+
2718
+ #talkativeness_hint span:nth-child(2) {
2719
+ text-align: center;
2720
+ }
2721
+
2722
+ #talkativeness_hint span:nth-child(3) {
2723
+ text-align: right;
2724
+ }
2725
+
2726
+ /* css/style.css */
2727
+
2728
+ p {
2729
+ margin-bottom: 16px;
2730
+ margin-top: 0;
2731
+ }
2732
+
2733
+ hr {
2734
+ margin: 5px 0;
2735
+ height: 1px;
2736
+ border: 0;
2737
+ }
2738
+
2739
+ h1 {
2740
+ font-size: calc(var(--mainFontSize) + 1rem);
2741
+ line-height: 32px;
2742
+ margin-bottom: 22px;
2743
+ }
2744
+
2745
+ h2 {
2746
+ margin-top: 5px;
2747
+ margin-bottom: 22px;
2748
+ }
2749
+
2750
+ .right_menu_button h2 {
2751
+ margin-top: 0;
2752
+ margin-bottom: 0;
2753
+ }
2754
+
2755
+ .right_menu_button img {
2756
+ display: block;
2757
+ cursor: pointer;
2758
+ height: 26px;
2759
+ }
2760
+
2761
+ a {
2762
+ color: orange;
2763
+ text-decoration: none;
2764
+ }
2765
+
2766
+ #export_format_popup {
2767
+ display: none;
2768
+ z-index: 9999;
2769
+ }
2770
+
2771
+ .list-group {
2772
+ display: flex;
2773
+ flex-direction: column;
2774
+ padding-left: 0;
2775
+ margin-top: 0;
2776
+ margin-bottom: 3px;
2777
+ overflow: hidden;
2778
+ background-color: var(--SmartThemeBlurTintColor);
2779
+ backdrop-filter: blur(calc(var(--SmartThemeBlurStrength)*2));
2780
+ border: 1px solid var(--white30a);
2781
+ border-radius: 15px;
2782
+ box-shadow: 0 0 5px black;
2783
+ text-shadow: 0 0 3px black;
2784
+ }
2785
+
2786
+ .list-group-item:hover {
2787
+ background-color: var(--SmartThemeEmColor);
2788
+ }
2789
+
2790
+ .list-group-item {
2791
+ color: var(--SmartThemeBodyColor);
2792
+ padding: 0.75rem 1.25rem;
2793
+ margin-bottom: -1px;
2794
+ box-sizing: border-box;
2795
+ user-select: none;
2796
+ cursor: pointer;
2797
+ }
2798
+
2799
+ /* ############################################################# */
2800
+ /* Right nav panel and nav-toggle */
2801
+ /* ############################################################# */
2802
+
2803
+ #right-nav-panel {
2804
+ width: calc((100svw - var(--sheldWidth) - 2px) /2);
2805
+ max-height: calc(100svh - 42px);
2806
+ height: calc(100svh - 42px);
2807
+ position: fixed;
2808
+ top: 0;
2809
+ margin: 0;
2810
+ right: 0;
2811
+ left: calc(100% - var(--sheldWidth) /2 + var(--sheldWidth) +1px);
2812
+ padding: 5px;
2813
+ margin-bottom: 5px;
2814
+ backdrop-filter: blur(calc(var(--SmartThemeBlurStrength)));
2815
+ background-color: var(--SmartThemeBlurTintColor);
2816
+ -webkit-backdrop-filter: blur(calc(var(--SmartThemeBlurStrength)));
2817
+ z-index: 3000;
2818
+ border: 0;
2819
+ border-left: 1px solid var(--grey30a);
2820
+ border-bottom: 1px solid var(--grey30a);
2821
+ /* max-height: 100svh; */
2822
+ box-shadow: none;
2823
+ border-radius: 0 0 0 20px;
2824
+ overflow: hidden;
2825
+ scrollbar-width: thin;
2826
+ }
2827
+
2828
+ #nav-toggle {
2829
+ position: fixed;
2830
+ right: 13px;
2831
+ top: 12px;
2832
+ padding: 0;
2833
+ margin: 0;
2834
+ cursor: pointer;
2835
+ height: 0;
2836
+ width: 0;
2837
+ z-index: 3001;
2838
+ }
2839
+
2840
+ /* #right-nav-panel>div:not(#right-nav-panel-tabs) {
2841
+ height: calc(100% - 50px);
2842
+ overflow-y: auto;
2843
+ } */
2844
+
2845
+ #hidden-divs {
2846
+ display: none;
2847
+ }
2848
+
2849
+ /* Message images */
2850
+ .mes img.img_extra {
2851
+ max-width: 600px;
2852
+ max-height: 300px;
2853
+ border-radius: 10px;
2854
+ display: block;
2855
+ }
2856
+
2857
+ .mes img.img_extra~* {
2858
+ display: none;
2859
+ }
2860
+
2861
+ /* Extensions */
2862
+ #extensions_url {
2863
+ display: block;
2864
+ }
2865
+
2866
+ #extensions_status {
2867
+ margin-bottom: 10px;
2868
+ font-weight: 700;
2869
+ }
2870
+
2871
+ .extensions_block input[type="submit"]:hover {
2872
+ background-color: green;
2873
+ }
2874
+
2875
+ .extensions_block input[type="checkbox"] {
2876
+ margin-left: 10px;
2877
+ margin-right: 10px;
2878
+ }
2879
+
2880
+ label[for="extensions_autoconnect"] {
2881
+ display: flex;
2882
+ align-items: center;
2883
+ margin: 0 !important;
2884
+ }
2885
+
2886
+ .extensions_url_block {
2887
+ display: flex;
2888
+ align-items: center;
2889
+ justify-content: space-between;
2890
+ }
2891
+
2892
+ .extensions_url_block h4 {
2893
+ display: inline;
2894
+ }
2895
+
2896
+ .extensions_block {
2897
+ clear: both;
2898
+ padding: 0.05px;
2899
+ /* clear fix */
2900
+ }
2901
+
2902
+ .extensions_info {
2903
+ text-align: left;
2904
+ margin: 0 1em;
2905
+ }
2906
+
2907
+ .extensions_info h3 {
2908
+ margin-bottom: 0.5em;
2909
+ }
2910
+
2911
+ .extensions_info h4 {
2912
+ margin-bottom: 0.5em;
2913
+ }
2914
+
2915
+ .extensions_info p {
2916
+ margin-bottom: 0.5em;
2917
+ }
2918
+
2919
+ .extensions_info .disabled {
2920
+ color: lightgray;
2921
+ }
2922
+
2923
+ #extensions_list .disabled {
2924
+ text-decoration: line-through;
2925
+ color: lightgray;
2926
+ }
2927
+
2928
+ .success {
2929
+ color: green;
2930
+ }
2931
+
2932
+ .failure {
2933
+ color: red;
2934
+ }
2935
+
2936
+ .optional {
2937
+ color: lightgray;
2938
+ }
2939
+
2940
+ .expander {
2941
+ flex-grow: 1;
2942
+ }
2943
+
2944
+ /*------------ TOP SIDE SETTINGS ----------------*/
2945
+
2946
+ #top-settings-holder {
2947
+ margin: 0 auto;
2948
+ padding-top: 5px;
2949
+ height: 40px;
2950
+ max-width: var(--sheldWidth);
2951
+ /* color: white; */
2952
+ justify-content: center;
2953
+ display: grid;
2954
+ grid-template-columns: 10% 10% 10% 10% 10% 10% 10% 10%;
2955
+ z-index: 3000;
2956
+ position: relative;
2957
+ grid-gap: 2%;
2958
+
2959
+ }
2960
+
2961
+ .drawer {
2962
+ align-items: center;
2963
+ display: flex;
2964
+ flex-flow: column;
2965
+ width: 100%;
2966
+ /* z-index: 3001; */
2967
+
2968
+ }
2969
+
2970
+ .drawer-icon {
2971
+ display: inline-block;
2972
+ cursor: pointer;
2973
+ font-size: 1.8rem;
2974
+ }
2975
+
2976
+ .drawer-icon.openIcon {
2977
+
2978
+ filter: drop-shadow(0px 0px 2px black);
2979
+ ;
2980
+ transition: all 0.275s;
2981
+ }
2982
+
2983
+ .drawer-icon.closedIcon {
2984
+ filter: drop-shadow(0px 0px 2px black);
2985
+ opacity: 0.3;
2986
+ transition: all 0.275s;
2987
+ }
2988
+
2989
+ .drawer-icon.closedIcon:hover {
2990
+ opacity: 1;
2991
+ }
2992
+
2993
+ .inline-drawer {
2994
+ padding-bottom: 10px;
2995
+ }
2996
+
2997
+ .inline-drawer-icon {
2998
+ display: block;
2999
+ cursor: pointer;
3000
+ font-size: calc(var(--mainFontSize)*1.5);
3001
+ background-size: cover;
3002
+ background-repeat: no-repeat;
3003
+ filter: brightness(75%);
3004
+ }
3005
+
3006
+ .redOverlayGlow {
3007
+ color: #ad0000;
3008
+ opacity: 0.8 !important;
3009
+ filter: drop-shadow(0px 0px 2px red) !important;
3010
+ }
3011
+
3012
+ .inline-drawer-header {
3013
+ display: flex;
3014
+ justify-content: space-between;
3015
+ align-items: center;
3016
+ }
3017
+
3018
+ .inline-drawer-content {
3019
+ display: none;
3020
+ }
3021
+
3022
+ .drawer25pWidth {
3023
+ flex-basis: calc((var(--sheldWidth) / 4) - 16px);
3024
+ }
3025
+
3026
+ .drawer-content {
3027
+ background-color: var(--SmartThemeBlurTintColor);
3028
+ color: var(--SmartThemeBodyColor);
3029
+ border-radius: 20px;
3030
+ padding: 10px;
3031
+ border: 1px solid var(--grey30a);
3032
+ box-shadow: 0 0 20px black;
3033
+ min-width: 450px;
3034
+ width: var(--sheldWidth);
3035
+ overflow-y: scroll;
3036
+ max-height: calc(100svh - 70px);
3037
+ display: none;
3038
+ position: absolute;
3039
+ left: 0;
3040
+ right: 0;
3041
+ max-width: var(--sheldWidth);
3042
+ margin: 35px auto 0 auto;
3043
+ backdrop-filter: blur(calc(var(--SmartThemeBlurStrength)));
3044
+ -webkit-backdrop-filter: blur(calc(var(--SmartThemeBlurStrength)));
3045
+ /* resize: both; */
3046
+ z-index: 9999 !important;
3047
+ }
3048
+
3049
+ .fillRight,
3050
+ .fillLeft {
3051
+ min-width: unset;
3052
+ }
3053
+
3054
+ .fillLeft {
3055
+ width: calc((100svw - var(--sheldWidth) - 2px) /2);
3056
+ height: calc(100svh - 42px);
3057
+ max-height: calc(100svh - 42px);
3058
+ position: fixed;
3059
+ top: 0;
3060
+ margin: 0;
3061
+ left: 0;
3062
+ right: auto;
3063
+ padding: 5px;
3064
+ border-radius: 0 0 20px 0;
3065
+ box-shadow: none;
3066
+ overflow: hidden;
3067
+ }
3068
+
3069
+ .scrollableInner {
3070
+ overflow-x: hidden;
3071
+ height: calc(100% - 30px);
3072
+ }
3073
+
3074
+ .width100p {
3075
+ width: 100%;
3076
+ }
3077
+
3078
+ .drawer-content select {
3079
+ width: 100%;
3080
+ }
3081
+
3082
+ toolcool-color-picker {
3083
+ margin-right: 10px;
3084
+ }
3085
+
3086
+ .flex-container {
3087
+ display: flex;
3088
+ gap: 10px;
3089
+ flex-wrap: wrap;
3090
+ }
3091
+
3092
+ .flexnowrap {
3093
+ flex-wrap: nowrap;
3094
+ }
3095
+
3096
+ .alignitemscenter {
3097
+ align-items: center;
3098
+ }
3099
+
3100
+ .padding5 {
3101
+ padding: 5px;
3102
+ }
3103
+
3104
+ .margin0 {
3105
+ margin: 0;
3106
+ }
3107
+
3108
+ .margin-r5 {
3109
+ margin-right: 5px;
3110
+ }
3111
+
3112
+ .flex1 {
3113
+ flex: 1;
3114
+ }
3115
+
3116
+ .flexFlowColumn {
3117
+ flex-flow: column;
3118
+ }
3119
+
3120
+ .wideMinContent {
3121
+ width: min-content;
3122
+ }
3123
+
3124
+ .flexWide50p {
3125
+ flex: 50%;
3126
+ }
3127
+
3128
+ .wide50p {
3129
+ width: 50% !important;
3130
+ }
3131
+
3132
+
3133
+ .justifyLeft {
3134
+ text-align: start;
3135
+ justify-content: left;
3136
+ margin-left: unset;
3137
+ }
3138
+
3139
+ .justifyCenter {
3140
+ justify-content: center;
3141
+ margin: 0 auto;
3142
+ }
3143
+
3144
+ .spaceEvenly {
3145
+ justify-content: space-evenly;
3146
+ }
3147
+
3148
+ .widthNatural {
3149
+ width: unset !important;
3150
+ min-width: unset !important;
3151
+ max-width: unset !important;
3152
+ }
3153
+
3154
+ .widthFreeExpand {
3155
+ width: -webkit-fill-available;
3156
+ width: -moz-available;
3157
+ }
3158
+
3159
+ .wide100p {
3160
+ width: 100%;
3161
+ }
3162
+
3163
+ #openai_api-presets {
3164
+ display: flex;
3165
+ flex-direction: row;
3166
+ column-gap: 10px;
3167
+ flex-wrap: wrap;
3168
+ }
3169
+
3170
+ #openai_api-presets>div {
3171
+ flex: 1;
3172
+ }
3173
+
3174
+ #openai_api-presets select {
3175
+ width: 100%;
3176
+ }
3177
+
3178
+ #openai_logit_bias_text,
3179
+ .openai_logit_bias_range_block {
3180
+ flex: 1;
3181
+ }
3182
+
3183
+ .openai_logit_bias_form .range-block-counter {
3184
+ margin-top: 0px;
3185
+ }
3186
+
3187
+ .openai_logit_bias_form {
3188
+ display: flex;
3189
+ flex-direction: row;
3190
+ column-gap: 10px;
3191
+ align-items: center;
3192
+ }
3193
+
3194
+ .openai_logit_bias_list {
3195
+ display: flex;
3196
+ flex-direction: row;
3197
+ align-items: center;
3198
+ column-gap: 10px;
3199
+ flex-wrap: wrap;
3200
+ }
3201
+
3202
+ .openai_logit_bias_list_item .separator {
3203
+ margin: 0 3px;
3204
+ display: block;
3205
+ font-weight: 700;
3206
+ font-size: calc(var(--mainFontSize) + .2rem);
3207
+ }
3208
+
3209
+ .openai_logit_bias_list_item {
3210
+ display: flex;
3211
+ flex-direction: row;
3212
+ align-items: baseline;
3213
+ background-color: var(--ivory);
3214
+ color: var(--black100);
3215
+ font-weight: 500;
3216
+ border-radius: 20px;
3217
+ min-height: fit-content;
3218
+ padding: 3px 5px;
3219
+ }
3220
+
3221
+ .openai_restorable,
3222
+ .poe_restorable {
3223
+ display: flex;
3224
+ flex-direction: row;
3225
+ justify-content: space-between;
3226
+ align-items: center;
3227
+ }
3228
+
3229
+ .openai_restorable .right_menu_button img {
3230
+ height: 20px;
3231
+ }
3232
+
3233
+ .openai_preset_buttons {
3234
+ display: flex;
3235
+ justify-content: space-evenly;
3236
+ flex-direction: row;
3237
+ flex-wrap: wrap;
3238
+ }
3239
+
3240
+ .reverse_proxy_warning,
3241
+ .neutral_warning {
3242
+ color: rgba(255, 0, 0, 0.5)
3243
+ }
3244
+
3245
+ .textarea_compact {
3246
+ font-size: calc(var(--mainFontSize) * 0.9);
3247
+ line-height: 1.2;
3248
+ }
3249
+
3250
+
3251
+
3252
+ /*bubble chat style*/
3253
+
3254
+
3255
+ body.bubblechat .mes {
3256
+ padding: 10px;
3257
+ border-radius: 20px;
3258
+ background-color: var(--SmartThemeBlurTintColor);
3259
+ margin-bottom: 5px;
3260
+ border: 1px solid var(--white30a);
3261
+ }
3262
+
3263
+ body.w1000px #sheld {
3264
+ max-width: 1000px !important;
3265
+ }
3266
+
3267
+ /*FastUI blur removal*/
3268
+
3269
+ body.no-blur * {
3270
+ backdrop-filter: unset !important;
3271
+ }
3272
+
3273
+
3274
+
3275
+ body.no-blur #send_form.no-connection {
3276
+ background-color: rgba(100, 0, 0, 0.9) !important;
3277
+ }
3278
+
3279
+ body.no-blur #bg1,
3280
+ body.no-blur #bg_custom {
3281
+ filter: unset;
3282
+
3283
+ }
3284
+
3285
+ body.no-blur .drawer-content,
3286
+ body:not(.bubblechat).no-blur #chat,
3287
+ body.bubblechat.no-blur .mes,
3288
+ body.no-blur #top-bar,
3289
+ body.no-blur #character_popup,
3290
+ body.no-blur #world_popup,
3291
+ body.no-blur #dialogue_popup,
3292
+ body.no-blur #select_chat_popup,
3293
+ body.no-blur .options-content,
3294
+ body.no-blur #send_form,
3295
+ body.no-blur .list-group {
3296
+ background-color: var(--SmartThemeFastUIBGColor) !important;
3297
+ }
3298
+
3299
+ /* wAIfu mode*/
3300
+
3301
+
3302
+ body.waifuMode #top-bar {
3303
+ border-radius: 0 0 20px 20px;
3304
+ border: 1px solid var(--grey30a);
3305
+ }
3306
+
3307
+ body.waifuMode #sheld {
3308
+ height: 40svh;
3309
+ top: calc(100% - 40vh);
3310
+ bottom: 0;
3311
+ }
3312
+
3313
+ body.waifuMode #chat {
3314
+ border-top: 1px solid var(--grey30a);
3315
+ border-radius: 20px 20px 0 0;
3316
+ }
3317
+
3318
+ body.waifuMode .expression-holder {
3319
+ max-height: 90vh;
3320
+ max-width: 90vw;
3321
+ height: 90vh;
3322
+ width: fit-content;
3323
+ position: unset;
3324
+ margin: 0 auto;
3325
+ bottom: 0;
3326
+ filter: drop-shadow(2px 2px 2px #51515199);
3327
+ z-index: 1;
3328
+ /* resize: both; */
3329
+ }
3330
+
3331
+ body.waifuMode img.expression {
3332
+ /* height: 90vh; */
3333
+ }
3334
+
3335
+ body.movingUI .drag-grabber {
3336
+ display: inline;
3337
+ }
3338
+
3339
+ body.movingUI #sheld,
3340
+ body.movingUI .drawer-content,
3341
+ body.movingUI #expression-holder {
3342
+ resize: both;
3343
+ }
3344
+
3345
+ /* ---------- @media queries must always go at the bottom ------------*/
3346
+
3347
+ /*will apply to anything 1000px or less. this catches ipads, horizontal phones, and vertical phones)*/
3348
+
3349
+ @media screen and (max-width: 1000px) {
3350
+
3351
+
3352
+
3353
+ .mes img.img_extra {
3354
+ max-width: 100%;
3355
+ }
3356
+
3357
+ .world_entry_thin_controls {
3358
+ flex-direction: column;
3359
+ }
3360
+
3361
+ .world_entry_form_control.world_entry_form_horizontal {
3362
+ flex-direction: column;
3363
+ align-items: flex-start;
3364
+ row-gap: 0.5rem;
3365
+ }
3366
+
3367
+ .world_entry_form_control.world_entry_form_horizontal .world_popup_expander {
3368
+ display: none;
3369
+ }
3370
+
3371
+ #world_popup_header {
3372
+ flex-direction: column;
3373
+ align-items: flex-start;
3374
+ }
3375
+
3376
+ #world_popup_header .world_popup_expander {
3377
+ display: none;
3378
+ }
3379
+
3380
+ body {
3381
+ touch-action: none;
3382
+ overflow: hidden;
3383
+ }
3384
+
3385
+ .drawer-content {
3386
+ min-width: unset;
3387
+ width: 100%;
3388
+ max-height: calc(100svh - 45px);
3389
+ position: fixed;
3390
+ left: 0;
3391
+ top: 5px;
3392
+ border: 1px solid var(--grey30);
3393
+ }
3394
+
3395
+ #select_chat_popup {
3396
+ align-items: start;
3397
+ height: min-content;
3398
+ align-content: start;
3399
+ }
3400
+
3401
+ #top-settings-holder,
3402
+ #top-bar {
3403
+ width: 100svw;
3404
+ }
3405
+
3406
+ #bg1,
3407
+ #bg_custom {
3408
+ position: fixed;
3409
+ }
3410
+
3411
+ #sheld,
3412
+ #character_popup,
3413
+ #world_popup {
3414
+ height: calc(100svh - 45px);
3415
+ width: 100% !important;
3416
+ margin: 0 auto;
3417
+ max-width: 100%;
3418
+ left: 0 !important;
3419
+ resize: none;
3420
+ top: 42px;
3421
+ }
3422
+
3423
+ #character_popup,
3424
+ #world_popup,
3425
+ #send_form {
3426
+ border: 1px solid var(--grey30);
3427
+ backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2));
3428
+ }
3429
+
3430
+ #chat {
3431
+ border-left: 1px solid var(--grey30);
3432
+ border-right: 1px solid var(--grey30);
3433
+ border-bottom: 1px solid var(--grey30);
3434
+ align-items: start;
3435
+ align-content: start;
3436
+ overflow-y: auto;
3437
+ overflow-x: hidden;
3438
+ }
3439
+
3440
+ .drag-grabber,
3441
+ .pull-tab {
3442
+ display: none !important;
3443
+
3444
+ }
3445
+
3446
+ .mes-text {
3447
+ padding-right: 25px;
3448
+ }
3449
+
3450
+ #right-nav-panel,
3451
+ #left-nav-panel {
3452
+ height: calc(100svh - 45px);
3453
+ min-width: 100%;
3454
+ width: 100%;
3455
+ max-width: 100%;
3456
+ overflow-y: hidden;
3457
+ border-left: 1px solid var(--grey30);
3458
+ border-right: 1px solid var(--grey30);
3459
+ border-bottom: 1px solid var(--grey30);
3460
+ border-radius: 0 0 20px 20px;
3461
+ top: 40px !important;
3462
+ left: 0 !important;
3463
+ backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2));
3464
+ }
3465
+
3466
+ #right-nav-panel h4 {
3467
+ margin: 5px auto;
3468
+ }
3469
+
3470
+ #form_create {
3471
+ grid-template-rows:
3472
+ [avatar] min-content [hr] min-content [descriptionHeader] min-content [description] auto [firstmessageHeader] min-content [firstMessage] auto;
3473
+ }
3474
+
3475
+ #result_info {
3476
+ font-size: calc(var(--mainFontSize) - .1rem);
3477
+ }
3478
+
3479
+ .avatar_div {
3480
+ margin-top: 5px;
3481
+ }
3482
+
3483
+ #character_popup {
3484
+ width: 100%;
3485
+ border-radius: 0 0 20px 20px;
3486
+ margin-top: 0px;
3487
+ height: calc(100% - 40px);
3488
+ }
3489
+
3490
+
3491
+ #send_textarea {
3492
+ font-size: calc(var(--mainFontSize) + .25rem);
3493
+ line-height: calc(var(--mainFontSize) + .5rem);
3494
+ min-height: calc(2rem + 0.75rem + 2px);
3495
+ max-height: 200px;
3496
+ word-wrap: break-word;
3497
+ height: 40px;
3498
+ resize: vertical;
3499
+ display: block;
3500
+ background-color: rgba(255, 0, 0, 0);
3501
+ border: 0;
3502
+ box-shadow: none;
3503
+ padding: 6px 0 6px 0;
3504
+ font-family: "Noto Sans", "Noto Color Emoji", sans-serif;
3505
+ margin: 0;
3506
+ text-shadow: #000 0 0 3px;
3507
+ }
3508
+
3509
+ #rm_ch_create_block textarea {
3510
+ max-height: 200px;
3511
+ }
3512
+
3513
+ #talkativeness_hint span {
3514
+ min-width: 33%;
3515
+ }
3516
+
3517
+ .drawer25pWidth {
3518
+ flex-basis: max(calc(100% / 4 - 10px), 200px);
3519
+ }
3520
+
3521
+ .expression-holder {
3522
+ display: none;
3523
+ }
3524
+
3525
+ body.waifuMode #sheld {
3526
+ height: 40svh;
3527
+ top: 60svh;
3528
+ align-items: end;
3529
+ bottom: 0 !important;
3530
+ }
3531
+
3532
+ body.waifuMode .expression-holder {
3533
+ display: inline;
3534
+ width: unset;
3535
+ max-height: unset;
3536
+ max-width: unset;
3537
+ bottom: unset;
3538
+ left: unset;
3539
+ top: unset;
3540
+ height: 100vh;
3541
+ width: 100vw;
3542
+ margin: 0 auto;
3543
+ position: absolute;
3544
+ filter: drop-shadow(2px 2px 2px #51515199);
3545
+ z-index: 1;
3546
+ }
3547
+
3548
+ body.waifuMode img.expression {
3549
+ object-fit: cover;
3550
+ }
3551
+
3552
+ .scrollableInner {
3553
+ overflow-y: auto;
3554
+ overflow-x: hidden;
3555
+ max-height: calc(100svh - 90px);
3556
+ }
3557
+ }
3558
+
3559
+ @media screen and (max-width: 1000px) and (orientation: landscape) {
3560
+ body.waifuMode img.expression {
3561
+ object-fit: contain;
3562
+ }
3563
+ }
3564
+
3565
+ @media screen and (max-width: 450px) {
3566
+ .drawer25pWidth {
3567
+ flex-basis: max(calc(100% / 2 - 10px), 200px);
3568
+ }
3569
+ }
3570
+
3571
+ /*this part only only applies to iOS devices*/
3572
+
3573
+
3574
+
3575
+ @supports (-webkit-touch-callout: none) {
3576
+ body {
3577
+ margin: 0 auto;
3578
+ }
3579
+
3580
+ #top-bar {
3581
+ width: 100vw;
3582
+ }
3583
+
3584
+ #sheld {
3585
+ margin: unset;
3586
+ padding: unset;
3587
+ width: unset;
3588
+ height: unset;
3589
+ min-width: unset;
3590
+ max-width: unset;
3591
+ min-height: unset;
3592
+ max-height: unset;
3593
+ width: 100svw;
3594
+ height: calc(100svh - 40px);
3595
+ padding-right: max(env(safe-area-inset-right), 5px);
3596
+ padding-left: max(env(safe-area-inset-left), 5px);
3597
+ padding-bottom: max(env(safe-area-inset-bottom), 15px);
3598
+ }
3599
+
3600
+ #character_popup,
3601
+ #world_popup,
3602
+ #left-nav-panel,
3603
+ #right-nav-panel,
3604
+ .drawer-content {
3605
+ width: unset;
3606
+ height: unset;
3607
+ min-width: unset;
3608
+ max-width: unset;
3609
+ min-height: unset;
3610
+ max-height: unset;
3611
+ backdrop-filter: blur(calc(var(--SmartThemeBlurStrength) * 2));
3612
+ left: 0;
3613
+ right: 0;
3614
+ top: 0;
3615
+ margin: 0 auto;
3616
+ height: calc(100svh - 70px);
3617
+ width: calc(100% - 5px);
3618
+ max-height: calc(100svh - 70px);
3619
+ max-width: calc(100% - 5px);
3620
+
3621
+ }
3622
+
3623
+ #character_popup,
3624
+ #world_popup,
3625
+ .drawer-content {
3626
+ margin-top: 40px;
3627
+ }
3628
+
3629
+ .scrollableInner {
3630
+ overflow-y: auto;
3631
+ overflow-x: hidden;
3632
+ }
3633
+ }