Spaces:
Sleeping
Sleeping
Update static/styles.css
Browse files- static/styles.css +38 -32
static/styles.css
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
|
|
| 1 |
body {
|
| 2 |
-
background:
|
| 3 |
-
background-size: cover;
|
| 4 |
font-family: 'Arial', sans-serif;
|
| 5 |
overflow-x: hidden;
|
| 6 |
}
|
|
@@ -17,7 +17,7 @@ body {
|
|
| 17 |
}
|
| 18 |
|
| 19 |
@keyframes twinkle {
|
| 20 |
-
0%, 100% { opacity: 0.
|
| 21 |
50% { opacity: 1; }
|
| 22 |
}
|
| 23 |
|
|
@@ -62,8 +62,7 @@ body {
|
|
| 62 |
}
|
| 63 |
|
| 64 |
.modal-content {
|
| 65 |
-
background:
|
| 66 |
-
background-size: cover;
|
| 67 |
border-radius: 0;
|
| 68 |
padding: 30px;
|
| 69 |
width: 90%;
|
|
@@ -142,13 +141,36 @@ body {
|
|
| 142 |
border: none;
|
| 143 |
border-radius: 8px;
|
| 144 |
cursor: pointer;
|
| 145 |
-
transition: transform 0.2s;
|
| 146 |
}
|
| 147 |
|
| 148 |
-
.cosmic-btn:hover {
|
| 149 |
transform: scale(1.05);
|
| 150 |
}
|
| 151 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 152 |
.response-card {
|
| 153 |
margin-top: 20px;
|
| 154 |
padding: 15px;
|
|
@@ -158,6 +180,14 @@ body {
|
|
| 158 |
color: #fff;
|
| 159 |
}
|
| 160 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 161 |
.chatbot-icon {
|
| 162 |
position: fixed;
|
| 163 |
bottom: 20px;
|
|
@@ -221,31 +251,6 @@ body {
|
|
| 221 |
padding: 8px 16px;
|
| 222 |
}
|
| 223 |
|
| 224 |
-
.loading-spinner {
|
| 225 |
-
margin-top: 10px;
|
| 226 |
-
color: #fff;
|
| 227 |
-
font-size: 1rem;
|
| 228 |
-
text-align: center;
|
| 229 |
-
display: none;
|
| 230 |
-
}
|
| 231 |
-
|
| 232 |
-
.loading-spinner::before {
|
| 233 |
-
content: '';
|
| 234 |
-
display: inline-block;
|
| 235 |
-
width: 20px;
|
| 236 |
-
height: 20px;
|
| 237 |
-
border: 3px solid #fff;
|
| 238 |
-
border-top-color: transparent;
|
| 239 |
-
border-radius: 50%;
|
| 240 |
-
animation: spin 1s linear infinite;
|
| 241 |
-
margin-right: 10px;
|
| 242 |
-
vertical-align: middle;
|
| 243 |
-
}
|
| 244 |
-
|
| 245 |
-
@keyframes spin {
|
| 246 |
-
to { transform: rotate(360deg); }
|
| 247 |
-
}
|
| 248 |
-
|
| 249 |
@media (max-width: 768px) {
|
| 250 |
.modal-content {
|
| 251 |
width: 95%;
|
|
@@ -263,3 +268,4 @@ body {
|
|
| 263 |
margin-left: 0;
|
| 264 |
}
|
| 265 |
}
|
|
|
|
|
|
| 1 |
+
|
| 2 |
body {
|
| 3 |
+
background: #0A1A3A; /* Bleu nuit */
|
|
|
|
| 4 |
font-family: 'Arial', sans-serif;
|
| 5 |
overflow-x: hidden;
|
| 6 |
}
|
|
|
|
| 17 |
}
|
| 18 |
|
| 19 |
@keyframes twinkle {
|
| 20 |
+
0%, 100% { opacity: 0.8; } /* Augmenté l'opacité pour visibilité sur bleu nuit */
|
| 21 |
50% { opacity: 1; }
|
| 22 |
}
|
| 23 |
|
|
|
|
| 62 |
}
|
| 63 |
|
| 64 |
.modal-content {
|
| 65 |
+
background: #0A1A3A; /* Bleu nuit */
|
|
|
|
| 66 |
border-radius: 0;
|
| 67 |
padding: 30px;
|
| 68 |
width: 90%;
|
|
|
|
| 141 |
border: none;
|
| 142 |
border-radius: 8px;
|
| 143 |
cursor: pointer;
|
| 144 |
+
transition: transform 0.2s, opacity 0.2s;
|
| 145 |
}
|
| 146 |
|
| 147 |
+
.cosmic-btn:hover:not(.loading) {
|
| 148 |
transform: scale(1.05);
|
| 149 |
}
|
| 150 |
|
| 151 |
+
.cosmic-btn.loading {
|
| 152 |
+
opacity: 0.7;
|
| 153 |
+
cursor: not-allowed;
|
| 154 |
+
display: flex;
|
| 155 |
+
align-items: center;
|
| 156 |
+
justify-content: center;
|
| 157 |
+
}
|
| 158 |
+
|
| 159 |
+
.cosmic-btn.loading .spinner {
|
| 160 |
+
display: inline-block;
|
| 161 |
+
width: 16px;
|
| 162 |
+
height: 16px;
|
| 163 |
+
border: 2px solid #fff;
|
| 164 |
+
border-top-color: transparent;
|
| 165 |
+
border-radius: 50%;
|
| 166 |
+
animation: spin 1s linear infinite;
|
| 167 |
+
margin-right: 8px;
|
| 168 |
+
}
|
| 169 |
+
|
| 170 |
+
@keyframes spin {
|
| 171 |
+
to { transform: rotate(360deg); }
|
| 172 |
+
}
|
| 173 |
+
|
| 174 |
.response-card {
|
| 175 |
margin-top: 20px;
|
| 176 |
padding: 15px;
|
|
|
|
| 180 |
color: #fff;
|
| 181 |
}
|
| 182 |
|
| 183 |
+
.response-image {
|
| 184 |
+
max-width: 100%;
|
| 185 |
+
max-height: 300px;
|
| 186 |
+
object-fit: contain;
|
| 187 |
+
margin-bottom: 10px;
|
| 188 |
+
border-radius: 8px;
|
| 189 |
+
}
|
| 190 |
+
|
| 191 |
.chatbot-icon {
|
| 192 |
position: fixed;
|
| 193 |
bottom: 20px;
|
|
|
|
| 251 |
padding: 8px 16px;
|
| 252 |
}
|
| 253 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 254 |
@media (max-width: 768px) {
|
| 255 |
.modal-content {
|
| 256 |
width: 95%;
|
|
|
|
| 268 |
margin-left: 0;
|
| 269 |
}
|
| 270 |
}
|
| 271 |
+
```
|