File size: 4,064 Bytes
b26cf7f
 
 
 
 
 
 
 
 
 
 
 
 
cbec514
 
b26cf7f
 
 
cbec514
 
b26cf7f
 
cbec514
 
b26cf7f
 
 
cbec514
b26cf7f
 
 
 
cbec514
9181d0f
 
 
 
 
 
 
 
 
 
 
 
 
b26cf7f
6424ffd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
657ff42
 
a93f87c
 
b169af1
 
657ff42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4b67936
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1900a01
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
a93f87c
 
 
b169af1
 
 
a93f87c
b169af1
 
a93f87c
 
 
 
 
b169af1
b26cf7f
 
b169af1
 
b26cf7f
 
b169af1
 
b26cf7f
 
b169af1
 
 
db0f6a7
 
 
cb74981
 
 
 
 
 
 
 
48693cf
 
 
3e74bea
 
 
 
db0f6a7
 
 
b169af1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
@tailwind base;
@tailwind components;
@tailwind utilities;

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.15);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.25);
}

/* Smooth transitions */
button, a, input {
    transition: all 0.15s ease;
}
/* Focus styles */
input:focus, button:focus {
    outline: none;
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.5);
}
/* Image gallery styles */
#imageGallery {
    min-height: 200px;
}

.download-btn {
    transition: all 0.2s ease;
}

.download-btn:hover {
    color: #3b82f6;
    transform: translateY(-1px);
}

/* Rosalinda chat styles */
.wrap {
    max-width: 980px;
    margin: 0 auto;
    padding: 1rem;
}

.chat {
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.03);
}

.msgs {
    height: 60vh;
    overflow: auto;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.msg {
    max-width: 85%;
    padding: 0.75rem 1rem;
    border-radius: 0.875rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.badge {
    padding: 0.5rem 0.75rem;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    font-size: 0.875rem;
}
/* Project space layout */
project-manager, code-explainer, code-visualizer {
    display: flex;
    flex-direction: column;
}

/* Responsive layout */
@media (max-width: 1024px) {
    .app-container {
        flex-direction: column;
    }
    project-manager {
        width: 100% !important;
        height: auto !important;
        max-height: 300px;
    }
    code-explainer, code-visualizer {
        width: 100% !important;
    }
    code-visualizer {
        border-left: none !important;
        border-top: 1px solid #334155;
    }
}
/* Preview panel styles */
#previewPanel {
    background: rgba(17, 24, 39, 0.5);
}

#mediaResults {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.aspect-w-16 {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
}

.aspect-h-9 {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
}

.aspect-square {
    aspect-ratio: 1/1;
}
.message-ia {
    background: #e3f2fd;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    max-width: 80%;
    color: #333;
}

.message-utilisateur {
    background: #007bff;
    color: white;
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
    max-width: 80%;
    margin-left: auto;
}

#apercu-section {
    background: #1a1a1a;
    color: white;
    padding: 20px;
    border-radius: 10px;
    height: 60vh;
    overflow-y: auto;
}

#controles-generation button {
    transition: all 0.2s ease;
}

#controles-generation button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}
.msg {
    word-break: break-word;
    white-space: pre-wrap;
    padding: 0.75rem 1rem;
    border-radius: 0.75rem;
    max-width: 80%;
    border: 1px solid;
}

#chatContainer {
    display: flex;
    flex-direction: column;
    height: 100%;
}
/* Microphone animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
}
.listening {
    animation: pulse 1.5s infinite;
    background-color: rgba(239, 68, 68, 0.2) !important;
    border-color: rgba(239, 68, 68, 0.5) !important;
}

/* File upload preview */
.file-preview {
    max-width: 100%;
    max-height: 200px;
    border-radius: 0.5rem;
    margin-top: 0.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}
#chatAttachBtn:hover {
    color: #10b981;
}
.opacity-50 {
    opacity: 0.5;
    cursor: not-allowed;
}
.msg {
    word-break: break-word;
    white-space: pre-wrap;
}