VikaskumarDas commited on
Commit
abfbe9d
·
verified ·
1 Parent(s): 79caeaa

Create style.css

Browse files
Files changed (1) hide show
  1. style.css +278 -0
style.css ADDED
@@ -0,0 +1,278 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ :root {
2
+ --bg-dark: #131314;
3
+ --bg-sidebar: #1e1f20;
4
+ --bg-card: #1e1f20;
5
+ --text-main: #e3e3e3;
6
+ --text-sub: #e3e3e380;
7
+ --gemini-blue: #4285f4;
8
+ --gemini-purple: #9b51e0;
9
+ }
10
+
11
+ * {
12
+ margin: 0;
13
+ padding: 0;
14
+ box-sizing: border-box;
15
+ font-family: 'Google Sans', sans-serif;
16
+ }
17
+
18
+ body {
19
+ background-color: var(--bg-dark);
20
+ color: var(--text-main);
21
+ overflow: hidden;
22
+ }
23
+
24
+ .gemini-app {
25
+ display: flex;
26
+ height: 100vh;
27
+ width: 100vw;
28
+ }
29
+
30
+ /* সাইডবার স্টাইল */
31
+ .sidebar {
32
+ width: 250px;
33
+ background-color: var(--bg-sidebar);
34
+ padding: 20px 12px;
35
+ display: flex;
36
+ flex-direction: column;
37
+ transition: all 0.3s ease;
38
+ z-index: 100;
39
+ }
40
+
41
+ .sidebar.closed {
42
+ width: 0;
43
+ padding: 20px 0;
44
+ overflow: hidden;
45
+ }
46
+
47
+ .new-chat-btn {
48
+ background: #1a1a1c;
49
+ border: none;
50
+ color: var(--text-main);
51
+ padding: 12px 16px;
52
+ border-radius: 50px;
53
+ cursor: pointer;
54
+ display: flex;
55
+ align-items: center;
56
+ gap: 12px;
57
+ font-weight: 500;
58
+ margin-top: 20px;
59
+ width: fit-content;
60
+ }
61
+
62
+ .recent-section {
63
+ margin-top: 30px;
64
+ flex: 1;
65
+ overflow-y: auto;
66
+ }
67
+
68
+ .recent-title {
69
+ font-size: 14px;
70
+ color: var(--text-sub);
71
+ padding-left: 14px;
72
+ margin-bottom: 10px;
73
+ }
74
+
75
+ .history-item {
76
+ display: flex;
77
+ justify-content: space-between;
78
+ align-items: center;
79
+ padding: 10px 14px;
80
+ border-radius: 20px;
81
+ cursor: pointer;
82
+ font-size: 14px;
83
+ color: var(--text-main);
84
+ }
85
+
86
+ .history-item:hover { background-color: #282a2c; }
87
+
88
+ .delete-chat-btn {
89
+ background: none;
90
+ border: none;
91
+ color: var(--text-sub);
92
+ cursor: pointer;
93
+ display: none;
94
+ }
95
+
96
+ .history-item:hover .delete-chat-btn { display: block; }
97
+
98
+ /* মেইন কন্টেন্ট */
99
+ .main-content {
100
+ flex: 1;
101
+ display: flex;
102
+ flex-direction: column;
103
+ position: relative;
104
+ background-color: var(--bg-dark);
105
+ }
106
+
107
+ .top-bar {
108
+ display: flex;
109
+ align-items: center;
110
+ justify-content: space-between;
111
+ padding: 16px 24px;
112
+ }
113
+
114
+ .menu-toggle, .menu-toggle-inner {
115
+ background: none;
116
+ border: none;
117
+ color: var(--text-main);
118
+ font-size: 20px;
119
+ cursor: pointer;
120
+ }
121
+
122
+ .app-brand {
123
+ font-size: 22px;
124
+ font-weight: 500;
125
+ background: linear-gradient(45deg, #4285f4, #9b51e0, #ea4335);
126
+ -webkit-background-clip: text;
127
+ -webkit-text-fill-color: transparent;
128
+ }
129
+
130
+ .user-avatar {
131
+ font-size: 20px;
132
+ cursor: pointer;
133
+ }
134
+
135
+ /* চ্যাট কন্টেইনার ও ওয়েলকাম স্ক্রিন */
136
+ .chat-container {
137
+ flex: 1;
138
+ overflow-y: auto;
139
+ padding: 20px 10%;
140
+ display: flex;
141
+ flex-direction: column;
142
+ }
143
+
144
+ .welcome-screen {
145
+ margin-top: 8vh;
146
+ }
147
+
148
+ .gemini-greeting {
149
+ font-size: 56px;
150
+ font-weight: 500;
151
+ background: linear-gradient(90deg, #4285f4, #9b51e0);
152
+ -webkit-background-clip: text;
153
+ -webkit-text-fill-color: transparent;
154
+ }
155
+
156
+ .gemini-sub-greeting {
157
+ font-size: 56px;
158
+ color: #333537;
159
+ margin-bottom: 40px;
160
+ }
161
+
162
+ .suggestion-cards {
163
+ display: grid;
164
+ grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
165
+ gap: 16px;
166
+ }
167
+
168
+ .card {
169
+ background-color: var(--bg-card);
170
+ padding: 20px;
171
+ border-radius: 12px;
172
+ cursor: pointer;
173
+ min-height: 120px;
174
+ display: flex;
175
+ align-items: flex-end;
176
+ transition: background 0.2s;
177
+ }
178
+
179
+ .card:hover { background-color: #282a2c; }
180
+
181
+ .card p { font-size: 14px; color: var(--text-main); }
182
+
183
+ /* চ্যাট মেসেজ বাবল */
184
+ .chat-messages {
185
+ display: flex;
186
+ flex-direction: column;
187
+ gap: 30px;
188
+ padding-bottom: 100px;
189
+ }
190
+
191
+ .chat-bubble {
192
+ display: flex;
193
+ gap: 20px;
194
+ animation: fadeIn 0.4s ease;
195
+ }
196
+
197
+ .chat-bubble.user { justify-content: flex-end; flex-direction: row-reverse;}
198
+
199
+ .bubble-avatar { width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: #282a2c; }
200
+ .chat-bubble.user .bubble-avatar { background: var(--gemini-blue); }
201
+
202
+ .bubble-text {
203
+ max-width: 80%;
204
+ font-size: 16px;
205
+ line-height: 1.6;
206
+ color: var(--text-main);
207
+ word-break: break-word;
208
+ }
209
+
210
+ .chat-bubble.user .bubble-text {
211
+ background-color: #282a2c;
212
+ padding: 12px 20px;
213
+ border-radius: 22px;
214
+ }
215
+
216
+ /* বটম ইনপুট এরিয়া */
217
+ .input-area-container {
218
+ position: absolute;
219
+ bottom: 0;
220
+ left: 0;
221
+ width: 100%;
222
+ padding: 20px 10%;
223
+ background: linear-gradient(transparent, var(--bg-dark) 30%);
224
+ }
225
+
226
+ .input-box-wrapper {
227
+ display: flex;
228
+ background-color: var(--bg-card);
229
+ border-radius: 30px;
230
+ padding: 8px 24px;
231
+ align-items: center;
232
+ }
233
+
234
+ #userInput {
235
+ flex: 1;
236
+ background: none;
237
+ border: none;
238
+ color: var(--text-main);
239
+ font-size: 16px;
240
+ outline: none;
241
+ padding: 12px 0;
242
+ }
243
+
244
+ #sendBtn {
245
+ background: none;
246
+ border: none;
247
+ cursor: pointer;
248
+ }
249
+
250
+ .send-icon {
251
+ width: 24px;
252
+ height: 24px;
253
+ fill: var(--text-main);
254
+ transition: fill 0.2s;
255
+ }
256
+
257
+ #userInput:placeholder-shown + #sendBtn .send-icon { fill: var(--text-sub); }
258
+
259
+ .disclaimer {
260
+ font-size: 12px;
261
+ color: var(--text-sub);
262
+ text-align: center;
263
+ margin-top: 10px;
264
+ }
265
+
266
+ @keyframes fadeIn {
267
+ from { opacity: 0; transform: translateY(10px); }
268
+ to { opacity: 1; transform: translateY(0); }
269
+ }
270
+
271
+ /* মোবাইল রেসপন্সিভনেস */
272
+ @media (max-width: 768px) {
273
+ .sidebar { position: absolute; height: 100%; left: 0; top: 0; }
274
+ .sidebar.closed { width: 0; transform: translateX(-100%); }
275
+ .chat-container { padding: 20px 5%; }
276
+ .input-area-container { padding: 20px 5%; }
277
+ .gemini-greeting, .gemini-sub-greeting { font-size: 36px; }
278
+ }