isaikr 0.0.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.
- package/README.md +35 -0
- package/cdn/api.js +19 -0
- package/cdn/character.js +254 -0
- package/cdn/chat.js +33 -0
- package/cdn/code-editor.js +1131 -0
- package/cdn/community-compose.js +270 -0
- package/cdn/games/2048/index.html +12 -0
- package/cdn/games/breakout/index.html +13 -0
- package/cdn/games/clicker/index.html +26 -0
- package/cdn/games/flappy/index.html +11 -0
- package/cdn/games/memory/index.html +34 -0
- package/cdn/games/pong/index.html +13 -0
- package/cdn/games/reaction/index.html +38 -0
- package/cdn/games/runner/index.html +11 -0
- package/cdn/games/snake/index.html +11 -0
- package/cdn/games/tetris/index.html +14 -0
- package/cdn/games/whack/index.html +8 -0
- package/cdn/go.js +126 -0
- package/cdn/go2.js +127 -0
- package/cdn/header3_behavior.js +1167 -0
- package/cdn/header3_layout.js +1004 -0
- package/cdn/header3_layout.js.bak +1004 -0
- package/cdn/header3_style.css +3524 -0
- package/cdn/header3_style.css.bak +3514 -0
- package/cdn/lang.js +198 -0
- package/cdn/loading.js +143 -0
- package/cdn/loading2.js +144 -0
- package/cdn/local-model.js +2941 -0
- package/cdn/main.js +4 -0
- package/cdn/main_asset.js +1849 -0
- package/cdn/main_asset.js.bak +6999 -0
- package/cdn/main_index.css +287 -0
- package/cdn/re_board3.css +733 -0
- package/cdn/re_board3.js +734 -0
- package/cdn/re_chat_tts.js +652 -0
- package/cdn/re_local_runtime.js +2246 -0
- package/cdn/re_local_runtime.js.bak +2246 -0
- package/cdn/re_share.js +577 -0
- package/cdn/re_voice.js +542 -0
- package/cdn/utils.js +36 -0
- package/cdn/view.js +321 -0
- package/header3_behavior.js +804 -0
- package/header3_layout.js +998 -0
- package/header3_style.css +2740 -0
- package/index.js +0 -0
- package/lang.js +179 -0
- package/main_asset.js +2416 -0
- package/main_index.css +274 -0
- package/package.json +14 -0
- package/re_chat_tts.js +1419 -0
- package/re_voice.js +430 -0
|
@@ -0,0 +1,287 @@
|
|
|
1
|
+
* { box-sizing: border-box; }
|
|
2
|
+
.code-scroll::-webkit-scrollbar { height: 8px; }
|
|
3
|
+
.code-scroll::-webkit-scrollbar-track { background: #1e1e1e; border-bottom-left-radius: 8px; border-bottom-right-radius: 8px; }
|
|
4
|
+
.code-scroll::-webkit-scrollbar-thumb { background: #444; border-radius: 4px; }
|
|
5
|
+
.code-scroll::-webkit-scrollbar-thumb:hover { background: #666; }
|
|
6
|
+
.no-scrollbar::-webkit-scrollbar { display: none; }
|
|
7
|
+
.no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }
|
|
8
|
+
.custom-scrollbar-code::-webkit-scrollbar { height: 6px; }
|
|
9
|
+
.custom-scrollbar-code::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 3px; }
|
|
10
|
+
.custom-scrollbar-code::-webkit-scrollbar-track { background: transparent; }
|
|
11
|
+
:root {
|
|
12
|
+
--bg-main: #080808;
|
|
13
|
+
--bg-island: rgba(20,20,20,0.8);
|
|
14
|
+
--accent: #ffffff;
|
|
15
|
+
--accent-text: #000000;
|
|
16
|
+
--text-main: #e5e5e5;
|
|
17
|
+
--text-dim: rgba(255,255,255,0.35);
|
|
18
|
+
--border: rgba(255,255,255,0.08);
|
|
19
|
+
}
|
|
20
|
+
body {
|
|
21
|
+
background-color: var(--bg-base, var(--bg-main)) !important;
|
|
22
|
+
color: var(--text-main) !important;
|
|
23
|
+
margin: 0;
|
|
24
|
+
width: 100vw;
|
|
25
|
+
max-width: 100%;
|
|
26
|
+
height: calc(100dvh - 77px);
|
|
27
|
+
display: flex;
|
|
28
|
+
flex-direction: column;
|
|
29
|
+
transition: background 1s ease, all 0.5s ease;
|
|
30
|
+
padding-bottom: env(safe-area-inset-bottom, 20px);
|
|
31
|
+
overflow-x: hidden !important;
|
|
32
|
+
background-image: radial-gradient(at 0% 0%, var(--bg-1) 0px, transparent 55%), radial-gradient(at 100% 0%, var(--bg-2) 0px, transparent 55%), radial-gradient(at 100% 100%, var(--bg-3) 0px, transparent 55%), radial-gradient(at 0% 100%, var(--bg-4) 0px, transparent 55%) !important;
|
|
33
|
+
background-attachment: fixed !important;
|
|
34
|
+
background-size: 100% 100% !important;
|
|
35
|
+
}
|
|
36
|
+
#bg-visual-layer { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -2; transition: all 0.8s ease; display: none !important; }
|
|
37
|
+
#star-canvas { position: fixed; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
|
|
38
|
+
#main-layout { display: flex; width: 100%; height: 100% !important; position: relative; transition: all 0.5s ease; }
|
|
39
|
+
#left-panel { flex: 1; display: flex; flex-direction: column; height: 100%; position: relative; transition: all 0.5s ease; justify-content: center; }
|
|
40
|
+
#right-panel { flex: 0; width: 0; opacity: 0; overflow: hidden; border-left: 1px solid rgba(255,255,255,0.1); background: var(--bg-main) !important; color: var(--text-main) !important; transition: all 0.5s ease; display: flex; flex-direction: column; }
|
|
41
|
+
body.mode-code #left-panel { flex: 0 0 50%; }
|
|
42
|
+
body.mode-code #right-panel { flex: 1; opacity: 1; width: auto; padding: 20px; }
|
|
43
|
+
#top-zone { width: 100%; max-width: 730px; margin: 0 auto; display: flex; flex-direction: column; position: relative; transition: all 0.6s cubic-bezier(0.16,1,0.3,1); }
|
|
44
|
+
#middle-zone { width: 90%; max-width: 730px; margin: 0 auto; display: flex; flex-direction: column; z-index: 50; transition: all 0.6s cubic-bezier(0.16,1,0.3,1); padding:70px 0}
|
|
45
|
+
body:not(.started) #top-zone { flex: 0 0 0; opacity: 0; height: 0; padding: 0; overflow: hidden; }
|
|
46
|
+
body:not(.started) #middle-zone { flex: 1; justify-content: center}
|
|
47
|
+
body.started #top-zone { flex: 1; min-height: 0; opacity: 1; padding-bottom: 12px; }
|
|
48
|
+
body.started #middle-zone { flex: 0 0 auto; justify-content: flex-end}
|
|
49
|
+
.island-box { margin-bottom: 10px; width: 100%; background: var(--bg-island) !important; backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); border-radius: 35px !important; position: relative; overflow: hidden; transition: transform 0.3s; border: none !important; outline: none !important; box-shadow: none !important; }
|
|
50
|
+
#prompt-input { color: var(--text-main) !important; caret-color: var(--accent) !important; border: none !important; outline: none !important; box-shadow: none !important; }
|
|
51
|
+
#prompt-input::placeholder { color: var(--text-dim) !important; }
|
|
52
|
+
.btn-icon { color: var(--text-dim) !important; transition: all 0.3s ease; display: flex; align-items: center; justify-content: center; }
|
|
53
|
+
.btn-icon.active, .btn-icon:hover { color: var(--accent) !important; transform: scale(1.1); text-shadow: 0 0 3px var(--accent); }
|
|
54
|
+
.btn-submit { background: var(--accent) !important; color: var(--accent-text) !important; border-radius: 50%; transition: all 0.2s; width: 40px !important; height: 40px !important; border: none !important; outline: none !important; box-shadow: none !important; }
|
|
55
|
+
.btn-submit i { color: var(--accent-text) !important; }
|
|
56
|
+
.btn-submit:hover { transform: scale(1.05); }
|
|
57
|
+
.btn-submit.stop-mode { background: #ff4444 !important; color: white !important; }
|
|
58
|
+
|
|
59
|
+
#welcome-msg { display: none !important; background: var(--border) !important; color: var(--text-main) !important; border: none !important; border-radius: 16px !important; padding: 10px 16px !important; }
|
|
60
|
+
|
|
61
|
+
.app-item, .store-item, .fixed-app-item { position: relative; display: flex; align-items: center; justify-content: center; background: var(--border) !important; border: 1.5px solid rgba(255,255,255,0.05) !important; border-radius: 18px !important; width: 48px !important; height: 48px !important; flex: 0 0 auto !important; cursor: pointer; transition: all 0.2s ease-out !important; box-shadow: none !important; }
|
|
62
|
+
.store-item:hover, .fixed-app-item:hover { background: rgba(255,255,255,0.15) !important; transform: scale(1.05); border-color: rgba(255,255,255,0.2) !important; }
|
|
63
|
+
.app-item img, .store-item img, .fixed-app-item img { padding:5px; width: 100%; height: 100%; object-fit: cover; border-radius: 16px; opacity: 0.85; transition: transform 0.2s; }
|
|
64
|
+
.store-item:hover img, .fixed-app-item:hover img { opacity: 1; }
|
|
65
|
+
.store-item span { display: none; }
|
|
66
|
+
.app-letter-icon { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 800; color: white; border-radius: 12px; text-transform: uppercase; position: absolute; top: 0; left: 0; z-index: 0; }
|
|
67
|
+
.fixed-delete-btn { position: absolute; top: -5px; right: -5px; width: 18px; height: 18px; background: #ef4444; color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; opacity: 0; transform: scale(0.8); transition: all 0.2s; z-index: 10; border: 1px solid rgba(255,255,255,0.2); }
|
|
68
|
+
.fixed-delete-btn i { font-size: 12px; filter: none !important; }
|
|
69
|
+
.fixed-app-item:hover .fixed-delete-btn { opacity: 1; transform: scale(1); }
|
|
70
|
+
#store-panel { max-height: 0; opacity: 0; overflow: hidden; transition: all 0.3s ease-in-out; margin: 0; padding: 0 16px; }
|
|
71
|
+
#store-panel.open { max-height: 800px; opacity: 1; margin-top: 8px; margin-bottom: 8px; padding-bottom: 8px; display: flex; flex-direction: column; }
|
|
72
|
+
|
|
73
|
+
#store-grid { display: grid !important; grid-template-columns: repeat(auto-fill, 50px) !important; justify-content: center !important; gap: 8px !important; padding: 4px !important; max-height: 120px !important; height: auto !important; overflow-y: auto !important; overflow-x: hidden !important; text-align: center; scrollbar-width: none; -ms-overflow-style: none; -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%); mask-image: linear-gradient(to bottom, black 80%, transparent 100%); }
|
|
74
|
+
#store-grid::-webkit-scrollbar { display: none; }
|
|
75
|
+
|
|
76
|
+
#app-container { width: 100% !important; max-width: 100% !important; padding: 0 4px !important; overflow: hidden !important; position: relative; box-sizing: border-box !important; }
|
|
77
|
+
|
|
78
|
+
#app-grid, #app-grid.search-scroll { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; align-content: flex-start !important; align-items: flex-start !important; gap: 12px !important; width: 100% !important; max-height: 120px !important; height: auto !important; overflow-y: auto !important; overflow-x: hidden !important; padding: 4px 10px !important; animation: none !important; transform: none !important; cursor: default !important; box-sizing: border-box !important; -webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%); mask-image: linear-gradient(to bottom, black 80%, transparent 100%); }
|
|
79
|
+
|
|
80
|
+
#app-grid::-webkit-scrollbar { width: 4px; }
|
|
81
|
+
#app-grid::-webkit-scrollbar-track { background: transparent; }
|
|
82
|
+
#app-grid::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.2); border-radius: 10px; }
|
|
83
|
+
|
|
84
|
+
#fixed-apps-list { display: flex !important; flex-wrap: wrap !important; justify-content: center !important; gap: 8px !important; width: 100% !important; padding: 0 10px !important; margin-bottom: 5px !important; }
|
|
85
|
+
|
|
86
|
+
.store-filter-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; border-radius: 10px; color: #888; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.05); transition: all 0.2s; flex-shrink: 0; }
|
|
87
|
+
.store-filter-btn:hover { background: rgba(255,255,255,0.15); color: white; transform: scale(1.05); }
|
|
88
|
+
.store-filter-btn.active { background: white; color: black; border-color: white; }
|
|
89
|
+
#loader-overlay {
|
|
90
|
+
position: absolute;
|
|
91
|
+
inset: 0;
|
|
92
|
+
border-radius: 28px;
|
|
93
|
+
background: rgba(20, 20, 20, 0.85);
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
justify-content: center;
|
|
97
|
+
z-index: 100;
|
|
98
|
+
opacity: 0;
|
|
99
|
+
pointer-events: none;
|
|
100
|
+
transition: opacity 0.3s;
|
|
101
|
+
box-shadow: none;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
#loader-overlay.active {
|
|
105
|
+
opacity: 1;
|
|
106
|
+
pointer-events: auto;
|
|
107
|
+
}
|
|
108
|
+
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(5px); z-index: 100; display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: opacity 0.3s; }
|
|
109
|
+
.modal-overlay.show { opacity: 1; pointer-events: auto; }
|
|
110
|
+
.modal-box { background: #151515; border: 1px solid rgba(255,255,255,0.15); border-radius: 24px; padding: 24px; width: 90%; max-width: 320px; text-align: center; transform: scale(0.95); transition: transform 0.3s; box-shadow: 0 20px 50px rgba(0,0,0,0.8); }
|
|
111
|
+
.modal-overlay.show .modal-box { transform: scale(1); }
|
|
112
|
+
.toast { position: fixed; top: 32px; left: 50%; transform: translateX(-50%) translateY(-20px); background: rgba(15,15,15,0.8); backdrop-filter: blur(16px); border: 1px solid rgba(255,255,255,0.1); box-shadow: 0 12px 40px rgba(0,0,0,0.4); color: #efefef; padding: 12px 24px; border-radius: 16px; font-weight: 500; font-size: 0.85rem; opacity: 0; transition: all 0.5s ease; pointer-events: none; z-index: 1000; display: flex; align-items: center; gap: 10px; }
|
|
113
|
+
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }
|
|
114
|
+
.toast::before { content: none !important; display: none !important; }
|
|
115
|
+
.toast::before { content: '✦'; color: #60a5fa; font-size: 1rem; }
|
|
116
|
+
#img-preview-container { display: none; transition: opacity 0.3s ease; }
|
|
117
|
+
#img-preview-container.active { display: block !important; opacity: 1 !important; visibility: visible !important; }
|
|
118
|
+
#preview-img { pointer-events: auto; max-height: 80vh; }
|
|
119
|
+
#chat-box { display: flex; flex-direction: column; height: 100%; overflow-y: auto; overflow-x: hidden; }
|
|
120
|
+
.mt-auto, #chat-box > div:first-child { margin-top: auto !important; }
|
|
121
|
+
#progress-bar { height: 100%; background: var(--accent) !important; width: 0; transition: all 0.3s; box-shadow: 0 0 10px var(--accent) !important; }
|
|
122
|
+
#code-tabs { background: var(--bg-island) !important; border-color: var(--border) !important; }
|
|
123
|
+
|
|
124
|
+
body.theme-light, body.theme-sky { background-color: #ffffff !important; background-image: radial-gradient(circle at 50% 40%, rgba(255,200,210,0.25) 0%, rgba(200,230,255,0.25) 30%, rgba(255,255,255,0) 70%) !important; color: #1a1a1a !important; }
|
|
125
|
+
body.theme-light .island-box, body.theme-sky .island-box { background: rgba(255,255,255,0.4) !important; }
|
|
126
|
+
body.theme-light .app-item, body.theme-light .store-item { background: #ffffff !important; }
|
|
127
|
+
body.theme-light .app-item img { filter: none !important; opacity: 0.8; }
|
|
128
|
+
body.theme-light #prompt-input { color: #000 !important; }
|
|
129
|
+
body.theme-light #prompt-input::placeholder { color: rgba(0,0,0,0.4) !important; }
|
|
130
|
+
body.theme-light .btn-submit { background: #000 !important; color: #fff !important; }
|
|
131
|
+
body.theme-light .btn-icon { color: #999 !important; }
|
|
132
|
+
body.theme-light .btn-icon:hover { color: #000 !important; background: transparent !important; }
|
|
133
|
+
body.theme-light #welcome-msg { display: none !important; }
|
|
134
|
+
|
|
135
|
+
body.theme-dark, body.theme-midnight { background-color: #0a0a0a !important; background-image: radial-gradient(circle at 50% 40%, rgba(50,60,100,0.4) 0%, rgba(30,30,40,0.4) 40%, rgba(10,10,10,0) 80%) !important; color: #e5e5e5 !important; }
|
|
136
|
+
body.theme-dark .island-box, body.theme-midnight .island-box { background: rgba(30,30,30,0.4) !important; }
|
|
137
|
+
body.theme-dark .app-item, body.theme-dark .store-item, body.theme-midnight .app-item, body.theme-midnight .store-item { background: #111111 !important; }
|
|
138
|
+
body.theme-dark .app-item img, body.theme-dark .store-item img { filter: brightness(0) invert(1) !important; opacity: 0.7 !important; }
|
|
139
|
+
body.theme-dark #prompt-input { color: #fff !important; }
|
|
140
|
+
body.theme-dark #prompt-input::placeholder { color: rgba(255,255,255,0.3) !important; }
|
|
141
|
+
body.theme-dark .btn-submit { background: #fff !important; color: #000 !important; }
|
|
142
|
+
body.theme-dark .btn-submit i { color: #fff !important; }
|
|
143
|
+
|
|
144
|
+
|
|
145
|
+
body.theme-dark #chat-input-actions #btn-submit,
|
|
146
|
+
body.theme-dark #chat-input-actions #btn-submit i,
|
|
147
|
+
body.theme-dark #chat-input-actions #btn-submit #icon-submit,
|
|
148
|
+
body.theme-dark #chat-input-actions #btn-submit .ri-arrow-up-s-line,
|
|
149
|
+
body.theme-dark #chat-input-actions #btn-submit .ri-square-fill,
|
|
150
|
+
body.theme-midnight #chat-input-actions #btn-submit,
|
|
151
|
+
body.theme-midnight #chat-input-actions #btn-submit i,
|
|
152
|
+
body.theme-midnight #chat-input-actions #btn-submit #icon-submit,
|
|
153
|
+
body.theme-midnight #chat-input-actions #btn-submit .ri-arrow-up-s-line,
|
|
154
|
+
body.theme-midnight #chat-input-actions #btn-submit .ri-square-fill { color: #fff !important; fill: #fff !important; }
|
|
155
|
+
body.theme-dark .btn-icon { color: #666 !important; }
|
|
156
|
+
body.theme-dark .btn-icon:hover, body.theme-dark .btn-icon.active { color: #fff !important; background: transparent !important; }
|
|
157
|
+
body.theme-dark #welcome-msg { display: none !important; }
|
|
158
|
+
|
|
159
|
+
body.theme-midnight #bg-visual-layer { display: block !important; background: linear-gradient(180deg, #0f172a 0%, #020617 100%); }
|
|
160
|
+
body.theme-forest #bg-visual-layer { display: block !important; background: #0a0c0a; }
|
|
161
|
+
|
|
162
|
+
@media(max-width: 768px) {
|
|
163
|
+
body.mode-code #left-panel { flex: 1 0 100% !important; width: 100% !important; max-width: 100% !important; }
|
|
164
|
+
#right-panel { display: none !important; width: 0 !important; flex: 0 !important; }
|
|
165
|
+
#right-panel.mobile-active { display: flex !important; position: fixed !important; top: 0; left: 0; right: 0; bottom: 0; width: 100% !important; height: 100% !important; z-index: 9999 !important; background: #151515; opacity: 1 !important; padding: 0 !important; margin: 0 !important; }
|
|
166
|
+
#middle-zone { max-width: 100vw; margin: 0 auto}
|
|
167
|
+
.island-box, textarea, #store-category-filters { max-width: 100%; }
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
#store-panel, #app-container {
|
|
171
|
+
max-height: 0;
|
|
172
|
+
overflow: hidden;
|
|
173
|
+
transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease, margin 0.3s ease;
|
|
174
|
+
opacity: 0;
|
|
175
|
+
padding: 0 12px;
|
|
176
|
+
}
|
|
177
|
+
|
|
178
|
+
#store-panel.open, #app-container.open {
|
|
179
|
+
max-height: 150px;
|
|
180
|
+
opacity: 1;
|
|
181
|
+
margin-top: 10px;
|
|
182
|
+
margin-bottom: 15px;
|
|
183
|
+
overflow-y: auto !important;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
#store-grid, #app-grid {
|
|
187
|
+
display: flex !important;
|
|
188
|
+
flex-wrap: wrap !important;
|
|
189
|
+
gap: 10px !important;
|
|
190
|
+
justify-content: start !important;
|
|
191
|
+
-webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
|
|
192
|
+
mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.store-item, .app-item, .fixed-app-item {
|
|
196
|
+
width: 48px !important;
|
|
197
|
+
height: 48px !important;
|
|
198
|
+
flex-shrink: 0 !important;
|
|
199
|
+
border-radius: 16px !important;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
#store-category-filters {
|
|
203
|
+
display: flex !important;
|
|
204
|
+
padding: 0 4px 10px 0;
|
|
205
|
+
gap: 8px;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
#app-container {
|
|
209
|
+
max-height: 0;
|
|
210
|
+
overflow-y: auto;
|
|
211
|
+
transition: max-height 0.4s ease, opacity 0.3s ease;
|
|
212
|
+
opacity: 0;
|
|
213
|
+
padding: 0 12px;
|
|
214
|
+
scrollbar-width: none;
|
|
215
|
+
}
|
|
216
|
+
|
|
217
|
+
#app-container::-webkit-scrollbar {
|
|
218
|
+
display: none;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
#app-grid {
|
|
222
|
+
display: flex !important;
|
|
223
|
+
flex-wrap: wrap !important;
|
|
224
|
+
gap: 12px !important;
|
|
225
|
+
justify-content: center !important;
|
|
226
|
+
padding: 4px 10px 40px !important;
|
|
227
|
+
height: auto !important;
|
|
228
|
+
max-height: none !important;
|
|
229
|
+
overflow: visible !important;
|
|
230
|
+
-webkit-mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
|
|
231
|
+
mask-image: linear-gradient(to bottom, black 80%, transparent 100%);
|
|
232
|
+
}
|
|
233
|
+
#chat-box::-webkit-scrollbar {
|
|
234
|
+
width: 4px;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
#chat-box::-webkit-scrollbar-track {
|
|
238
|
+
background: transparent;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
#chat-box::-webkit-scrollbar-thumb {
|
|
242
|
+
background: rgba(255, 255, 255, 0.15);
|
|
243
|
+
border-radius: 10px;
|
|
244
|
+
}
|
|
245
|
+
|
|
246
|
+
#chat-box::-webkit-scrollbar-thumb:hover {
|
|
247
|
+
background: rgba(255, 255, 255, 0.25);
|
|
248
|
+
}
|
|
249
|
+
|
|
250
|
+
#chat-box {
|
|
251
|
+
scrollbar-width: thin;
|
|
252
|
+
scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.custom-scrollbar-code::-webkit-scrollbar {
|
|
256
|
+
width: 4px;
|
|
257
|
+
}
|
|
258
|
+
.custom-scrollbar-code::-webkit-scrollbar-track {
|
|
259
|
+
background: transparent;
|
|
260
|
+
}
|
|
261
|
+
.custom-scrollbar-code::-webkit-scrollbar-thumb {
|
|
262
|
+
background: rgba(255, 255, 255, 0.1);
|
|
263
|
+
border-radius: 10px;
|
|
264
|
+
}
|
|
265
|
+
|
|
266
|
+
.code-tab-btn {
|
|
267
|
+
height: 28px;
|
|
268
|
+
padding: 0 12px;
|
|
269
|
+
font-size: 11px;
|
|
270
|
+
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
|
|
271
|
+
color: rgba(255, 255, 255, 0.4);
|
|
272
|
+
border-radius: 6px;
|
|
273
|
+
transition: all 0.2s;
|
|
274
|
+
display: flex;
|
|
275
|
+
align-items: center;
|
|
276
|
+
white-space: nowrap;
|
|
277
|
+
}
|
|
278
|
+
|
|
279
|
+
.code-tab-btn.active {
|
|
280
|
+
color: rgba(255, 255, 255, 0.9);
|
|
281
|
+
background: rgba(255, 255, 255, 0.05);
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.code-tab-btn:hover:not(.active) {
|
|
285
|
+
color: rgba(255, 255, 255, 0.7);
|
|
286
|
+
background: rgba(255, 255, 255, 0.02);
|
|
287
|
+
}
|