ApprikatAI commited on
Commit
bad8b27
·
verified ·
1 Parent(s): c41cd83

Upload style.css with huggingface_hub

Browse files
Files changed (1) hide show
  1. style.css +239 -0
style.css ADDED
@@ -0,0 +1,239 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ * {
2
+ margin: 0;
3
+ padding: 0;
4
+ box-sizing: border-box;
5
+ }
6
+
7
+ body {
8
+ font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
9
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
10
+ min-height: 100vh;
11
+ display: flex;
12
+ justify-content: center;
13
+ align-items: center;
14
+ padding: 20px;
15
+ }
16
+
17
+ .container {
18
+ background: white;
19
+ border-radius: 20px;
20
+ box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
21
+ width: 100%;
22
+ max-width: 600px;
23
+ overflow: hidden;
24
+ }
25
+
26
+ header {
27
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
28
+ color: white;
29
+ padding: 20px;
30
+ text-align: center;
31
+ position: relative;
32
+ }
33
+
34
+ header h1 {
35
+ font-size: 1.8rem;
36
+ margin-bottom: 10px;
37
+ }
38
+
39
+ .anycoder-link {
40
+ color: white;
41
+ text-decoration: none;
42
+ font-size: 0.9rem;
43
+ opacity: 0.9;
44
+ transition: opacity 0.3s;
45
+ }
46
+
47
+ .anycoder-link:hover {
48
+ opacity: 1;
49
+ }
50
+
51
+ main {
52
+ padding: 20px;
53
+ height: 500px;
54
+ display: flex;
55
+ flex-direction: column;
56
+ }
57
+
58
+ .chat-container {
59
+ flex: 1;
60
+ display: flex;
61
+ flex-direction: column;
62
+ border: 1px solid #e0e0e0;
63
+ border-radius: 12px;
64
+ overflow: hidden;
65
+ background: #f8f9fa;
66
+ }
67
+
68
+ .chat-messages {
69
+ flex: 1;
70
+ overflow-y: auto;
71
+ padding: 20px;
72
+ display: flex;
73
+ flex-direction: column;
74
+ gap: 15px;
75
+ }
76
+
77
+ .message {
78
+ max-width: 80%;
79
+ animation: fadeIn 0.3s ease;
80
+ }
81
+
82
+ .message.user {
83
+ align-self: flex-end;
84
+ background: #667eea;
85
+ color: white;
86
+ border-radius: 18px 18px 4px 18px;
87
+ }
88
+
89
+ .message.assistant {
90
+ align-self: flex-start;
91
+ background: white;
92
+ border-radius: 18px 18px 18px 4px;
93
+ box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
94
+ }
95
+
96
+ .message-content {
97
+ padding: 12px 16px;
98
+ line-height: 1.5;
99
+ font-size: 0.95rem;
100
+ }
101
+
102
+ .typing::after {
103
+ content: '...';
104
+ animation: typing 1.5s infinite;
105
+ }
106
+
107
+ @keyframes fadeIn {
108
+ from { opacity: 0; transform: translateY(10px); }
109
+ to { opacity: 1; transform: translateY(0); }
110
+ }
111
+
112
+ @keyframes typing {
113
+ 0%, 100% { opacity: 1; }
114
+ 50% { opacity: 0.3; }
115
+ }
116
+
117
+ .input-area {
118
+ display: flex;
119
+ gap: 10px;
120
+ margin-top: 15px;
121
+ padding: 15px;
122
+ background: white;
123
+ border-radius: 12px;
124
+ box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
125
+ }
126
+
127
+ #userInput {
128
+ flex: 1;
129
+ border: 1px solid #e0e0e0;
130
+ border-radius: 12px;
131
+ padding: 12px 16px;
132
+ font-size: 1rem;
133
+ resize: none;
134
+ outline: none;
135
+ transition: border-color 0.3s;
136
+ }
137
+
138
+ #userInput:focus {
139
+ border-color: #667eea;
140
+ }
141
+
142
+ .send-button {
143
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
144
+ color: white;
145
+ border: none;
146
+ border-radius: 12px;
147
+ padding: 12px 24px;
148
+ font-size: 1rem;
149
+ cursor: pointer;
150
+ transition: transform 0.2s, box-shadow 0.2s;
151
+ display: flex;
152
+ align-items: center;
153
+ justify-content: center;
154
+ }
155
+
156
+ .send-button:hover {
157
+ transform: translateY(-2px);
158
+ box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
159
+ }
160
+
161
+ .send-button:disabled {
162
+ opacity: 0.5;
163
+ cursor: not-allowed;
164
+ transform: none;
165
+ }
166
+
167
+ .status-panel {
168
+ margin-top: 20px;
169
+ padding: 15px;
170
+ background: #f8f9fa;
171
+ border-radius: 12px;
172
+ border: 1px solid #e0e0e0;
173
+ }
174
+
175
+ .status-item {
176
+ display: flex;
177
+ align-items: center;
178
+ gap: 10px;
179
+ margin-bottom: 10px;
180
+ }
181
+
182
+ .status-label {
183
+ font-weight: 600;
184
+ color: #666;
185
+ min-width: 100px;
186
+ }
187
+
188
+ .status-value {
189
+ color: #333;
190
+ font-weight: 500;
191
+ }
192
+
193
+ .progress-bar {
194
+ height: 8px;
195
+ background: #e0e0e0;
196
+ border-radius: 4px;
197
+ overflow: hidden;
198
+ flex: 1;
199
+ }
200
+
201
+ .progress-fill {
202
+ height: 100%;
203
+ background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
204
+ width: 0%;
205
+ transition: width 0.3s ease;
206
+ }
207
+
208
+ .progress-text {
209
+ margin-left: 10px;
210
+ color: #666;
211
+ font-size: 0.9rem;
212
+ }
213
+
214
+ .error-message {
215
+ background: #fee;
216
+ color: #c33;
217
+ padding: 10px;
218
+ border-radius: 8px;
219
+ margin-top: 10px;
220
+ font-size: 0.9rem;
221
+ }
222
+
223
+ @media (max-width: 600px) {
224
+ .container {
225
+ border-radius: 0;
226
+ }
227
+
228
+ header h1 {
229
+ font-size: 1.5rem;
230
+ }
231
+
232
+ .input-area {
233
+ flex-direction: column;
234
+ }
235
+
236
+ .send-button {
237
+ padding: 12px;
238
+ }
239
+ }