Spaces:
Sleeping
Sleeping
Update static/styles.css
Browse files- static/styles.css +10 -6
static/styles.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
| 1 |
-
|
| 2 |
body {
|
| 3 |
background: #0A1A3A; /* Bleu nuit */
|
| 4 |
font-family: 'Arial', sans-serif;
|
|
@@ -42,6 +42,11 @@ body {
|
|
| 42 |
box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
|
| 43 |
}
|
| 44 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 45 |
.function-box.shadowed {
|
| 46 |
opacity: 0.3;
|
| 47 |
filter: blur(2px);
|
|
@@ -73,14 +78,13 @@ body {
|
|
| 73 |
}
|
| 74 |
|
| 75 |
.chatbot-modal {
|
| 76 |
-
max-width: 400px;
|
| 77 |
-
max-height: 500px;
|
| 78 |
display: flex;
|
| 79 |
flex-direction: column;
|
|
|
|
| 80 |
}
|
| 81 |
|
| 82 |
.chatbot-conversation {
|
| 83 |
-
max-height:
|
| 84 |
overflow-y: auto;
|
| 85 |
margin-bottom: 10px;
|
| 86 |
padding: 10px;
|
|
@@ -256,8 +260,7 @@ body {
|
|
| 256 |
width: 95%;
|
| 257 |
}
|
| 258 |
.chatbot-modal {
|
| 259 |
-
|
| 260 |
-
max-height: 80vh;
|
| 261 |
}
|
| 262 |
.input-bar {
|
| 263 |
flex-direction: column;
|
|
@@ -268,3 +271,4 @@ body {
|
|
| 268 |
margin-left: 0;
|
| 269 |
}
|
| 270 |
}
|
|
|
|
|
|
| 1 |
+
```css
|
| 2 |
body {
|
| 3 |
background: #0A1A3A; /* Bleu nuit */
|
| 4 |
font-family: 'Arial', sans-serif;
|
|
|
|
| 42 |
box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
|
| 43 |
}
|
| 44 |
|
| 45 |
+
.function-box.active {
|
| 46 |
+
transform: scale(1.1); /* Agrandissement au clic, légèrement plus grand que le survol */
|
| 47 |
+
box-shadow: 0 0 25px rgba(255, 255, 255, 0.4);
|
| 48 |
+
}
|
| 49 |
+
|
| 50 |
.function-box.shadowed {
|
| 51 |
opacity: 0.3;
|
| 52 |
filter: blur(2px);
|
|
|
|
| 78 |
}
|
| 79 |
|
| 80 |
.chatbot-modal {
|
|
|
|
|
|
|
| 81 |
display: flex;
|
| 82 |
flex-direction: column;
|
| 83 |
+
/* Supprimé max-width: 400px et max-height: 500px pour aligner avec .modal-content */
|
| 84 |
}
|
| 85 |
|
| 86 |
.chatbot-conversation {
|
| 87 |
+
max-height: 450px; /* Augmenté pour s'adapter au modal plus grand */
|
| 88 |
overflow-y: auto;
|
| 89 |
margin-bottom: 10px;
|
| 90 |
padding: 10px;
|
|
|
|
| 260 |
width: 95%;
|
| 261 |
}
|
| 262 |
.chatbot-modal {
|
| 263 |
+
width: 95%; /* Aligné avec .modal-content pour petits écrans */
|
|
|
|
| 264 |
}
|
| 265 |
.input-bar {
|
| 266 |
flex-direction: column;
|
|
|
|
| 271 |
margin-left: 0;
|
| 272 |
}
|
| 273 |
}
|
| 274 |
+
```
|